Source: bmusb Version: 0.7.8-1 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: [email protected] User: [email protected] Usertags: rrr-no-as-default-issue
Dear maintainer,
During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
bmusb failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
+------------------------------------------------------------------------------+
| Build
|
+------------------------------------------------------------------------------+
Unpack source
-------------
Format: 3.0 (quilt)
Source: bmusb
Binary: libbmusb-dev, libbmusb6, bmusb-v4l2proxy
Architecture: any
Version: 0.7.8-1
Maintainer: Steinar H. Gunderson <[email protected]>
Standards-Version: 3.9.8
Build-Depends: debhelper-compat (= 13), libusb-1.0-0-dev, pkgconf,
systemd-dev
Package-List:
bmusb-v4l2proxy deb video optional arch=any
libbmusb-dev deb libdevel optional arch=any
libbmusb6 deb libs optional arch=any
Checksums-Sha1:
046ccf86546c6a9bb5ae68dd6df319239720ba2f 32413 bmusb_0.7.8.orig.tar.gz
685bcacf5f2250e7d7cfa6e05f1534bf84dcb205 4592 bmusb_0.7.8-1.debian.tar.xz
Checksums-Sha256:
e0a565e3db5d07a28a9f1aa1e2e60e483b143f9c5a84f161f2e1fa3498ec637d 32413
bmusb_0.7.8.orig.tar.gz
3b471efae6e9b9b17af22e83ea732d15fd7c332562195b3eef4dca95f1e571e4 4592
bmusb_0.7.8-1.debian.tar.xz
Files:
2943c7c2662204e53be9574c18db2d16 32413 bmusb_0.7.8.orig.tar.gz
9a979366fab8df8520a09508f5976692 4592 bmusb_0.7.8-1.debian.tar.xz
gpgv: Signature made Tue Apr 30 21:21:31 2024 UTC
gpgv: using RSA key C2E9004FF028C18E4EADDB837F61756177978F76
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
bmusb_0.7.8-1.dsc: no acceptable signature found
dpkg-source: info: extracting bmusb in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking bmusb_0.7.8.orig.tar.gz
dpkg-source: info: unpacking bmusb_0.7.8-1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying usr-prefix.diff
dpkg-source: info: applying debian-multiarch.diff
Check disk space
----------------
Sufficient free space for build
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=C.UTF-8
LOGNAME=debusine-worker
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=debusine-worker
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package bmusb
dpkg-buildpackage: info: source version 0.7.8-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Steinar H. Gunderson
<[email protected]>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
debian/rules clean
dh clean dh_auto_clean
make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f bmusb.o main.o v4l2proxy.o fake_capture.o bmusb.pic.o
fake_capture.pic.o libbmusb.a libbmusb.so.6.0.4 main bmusb-v4l2proxy
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
debian/rules binary
dh binary dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -std=gnu++14 -Wall -I. -I/usr/include/libusb-1.0 -pthread -g -O2 -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -c -o bmusb.o bmusb.cpp
g++ -std=gnu++14 -Wall -I. -I/usr/include/libusb-1.0 -pthread -g -O2 -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
fake_capture.o fake_capture.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -I. -I/usr/
include/libusb-1.0 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -
Werror=format-security -mbranch-protection=standard -fPIC -o bmusb.pic.o
-c bmusb.cpp
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -I. -I/usr/
include/libusb-1.0 -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -fstack-clash-protection -Wformat -
Werror=format-security -mbranch-protection=standard -fPIC -o
fake_capture.pic.o -c fake_capture.cpp
g++ -std=gnu++14 -Wall -I. -I/usr/include/libusb-1.0 -pthread -g -O2 -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.cpp
g++ -std=gnu++14 -Wall -I. -I/usr/include/libusb-1.0 -pthread -g -O2 -
ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
clash-protection -Wformat -Werror=format-security -mbranch-
protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -c -o v4l2proxy.o
v4l2proxy.cpp
ar rc libbmusb.a bmusb.o fake_capture.o
g++ -o main bmusb.o main.o -lusb-1.0 -pthread -Wl,-z,relro
g++ -o bmusb-v4l2proxy bmusb.o v4l2proxy.o -lusb-1.0 -pthread -Wl,-z,relro
ranlib libbmusb.a
g++ -shared -Wl,-soname,libbmusb.so.6 -o libbmusb.so.6.0.4 bmusb.pic.o
fake_capture.pic.o -lusb-1.0 -pthread -Wl,-z,relro
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp
AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
install --strip-program=true -m 755 -d \
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu \
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig \
/<<PKGBUILDDIR>>/debian/tmp/usr/include/bmusb \
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/udev/rules.d
install: WARNING: ignoring --strip-program option as -s option was not
specified
install --strip-program=true -m 755 libbmusb.a libbmusb.so.6.0.4 /
<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
install: WARNING: ignoring --strip-program option as -s option was not
specified
ln -sf libbmusb.so.6.0.4 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-
linux-gnu/libbmusb.so.6
ln -sf libbmusb.so.6.0.4 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-
linux-gnu/libbmusb.so
install --strip-program=true -m 755 bmusb/bmusb.h bmusb/fake_capture.h /
<<PKGBUILDDIR>>/debian/tmp/usr/include/bmusb
install: WARNING: ignoring --strip-program option as -s option was not
specified
sed 's/@DEB_MULTIARCH_TRIPLET@/aarch64-linux-gnu/' < bmusb.pc > /
<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig/bmusb.pc
chmod 0644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/
pkgconfig/bmusb.pc
chown root:root /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/
pkgconfig/bmusb.pc
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/
aarch64-linux-gnu/pkgconfig/bmusb.pc': Operation not permitted
make[2]: *** [Makefile:50: install] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/
debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true"
returned exit code 2
make[1]: *** [debian/rules:6: override_dh_auto_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-15T20:27:50Z
-------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:
https://people.debian.org/~nthykier/rrr-no-as-default/logs/975374.gz
You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-
ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.
If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-
misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.
The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.
For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html
Thanks,
PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.
OpenPGP_signature.asc
Description: OpenPGP digital signature

