Source: dv4l Version: 1.0-5.1 Severity: important Tags: ftbfs Justification: FTBFS X-Debbugs-Cc: ni...@thykier.net User: ni...@thykier.net 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`, dv4l failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] +------------------------------------------------------------------------------+ Unpack source ------------- Format: 3.0 (quilt) Source: dv4l Binary: dv4l Architecture: any Version: 1.0-5.1 Maintainer: Nobuhiro Iwamatsu <iwama...@debian.org> Homepage: http://dv4l.berlios.de/ Standards-Version: 3.9.2 Build-Depends: cdbs, debhelper (>= 7), autotools-dev, libraw1394-dev, libiec61883-dev, libdv-dev, libv4l-dev Package-List: dv4l deb graphics optional arch=any Checksums-Sha1: 1b8beb51c6a07c5e2a58455d35c901acf89f3ebe 58607 dv4l_1.0.orig.tar.gz f0e4905ae491a6070e01d654bab220c7e0c6294a 5808 dv4l_1.0-5.1.debian.tar.xz Checksums-Sha256: f3478471c7bcd601b01fb9c1b9698ea59f10874ae23b05d953744025d291142c 58607 dv4l_1.0.orig.tar.gz 7abccede799876bf9d2d023efa90513e794b14e4149d74fab3c50749a020947a 5808 dv4l_1.0-5.1.debian.tar.xz Files: d14f71c9db3d4b6b8f60534bc83becfa 58607 dv4l_1.0.orig.tar.gz d3affb2eb7a2248b8c5e72e8256fe383 5808 dv4l_1.0-5.1.debian.tar.xz gpgv: Signature made Sat Oct 28 11:33:28 2023 UTC gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "b...@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ dv4l_1.0-5.1.dsc: no acceptable signature found dpkg-source: info: extracting dv4l in /<<PKGBUILDDIR>> dpkg-source: info: unpacking dv4l_1.0.orig.tar.gz dpkg-source: info: unpacking dv4l_1.0-5.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01_add_DESTDIR_PATH.patch dpkg-source: info: applying 02_add_script_path.patch dpkg-source: info: applying 03_fix_rootdir_valuename.patch dpkg-source: info: applying 04_change_window_size.patch dpkg-source: info: applying 05_remove_sa_restorer.patch dpkg-source: info: applying 06_fix_fdset_conflicting_types.patch dpkg-source: info: applying 07_ld_as_needed.patch dpkg-source: info: applying 07_use_libv4l-dev.patch dpkg-source: info: applying 08_fix_build_fail.patch 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 dv4l dpkg-buildpackage: info: source version 1.0-5.1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Bastian Germann <b...@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64 debian/rules clean test -x debian/rules rm -f debian/stamp-makefile-build debian/stamp-makefile-install /usr/bin/make -C . -k distclean make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: *** No rule to make target 'distclean'. make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: [/usr/share/cdbs/1/class/makefile.mk:91: makefile-clean] Error 2 (ignored) rm -f debian/stamp-autotools rmdir --ignore-fail-on-non-empty . rmdir: failed to remove '.': Invalid argument make: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean] Error 1 (ignored) dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in use) rm -f debian/stamp-autotools-files rm -rf *.so *.o *.d config.status dv4l.o dv4l \ dv4lstart config.log Makefile config.h version.h debian/rules binary test -x debian/rules dh_testroot dh_prep dh_installdirs -A dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 7 in use) mkdir -p "." touch debian/stamp-autotools-files chmod a+x /<<PKGBUILDDIR>>/./configure mkdir -p . cd . && CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile- prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash- protection -Wformat -Werror=format-security -mbranch- protection=standard" CXXFLAGS="-g -O2 -ffile-prefix-map=/ <<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection - Wformat -Werror=format-security -mbranch-protection=standard" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" / <<PKGBUILDDIR>>/./configure --prefix=/usr --libdir=/lib/dv4l -- datarootdir=/share --datarootdir=/share --build=aarch64-linux-gnu -- host=aarch64-linux-gnu checking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether aarch64-linux-gnu-gcc accepts -g... yes checking for aarch64-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... aarch64-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking libraw1394/raw1394.h usability... yes checking libraw1394/raw1394.h presence... yes checking for libraw1394/raw1394.h... yes checking libiec61883/iec61883.h usability... yes checking libiec61883/iec61883.h presence... yes checking for libiec61883/iec61883.h... yes checking libdv/dv.h usability... yes checking libdv/dv.h presence... yes checking for libdv/dv.h... yes checking sys/xattr.h usability... yes checking sys/xattr.h presence... yes checking for sys/xattr.h... yes configure: creating ./config.status config.status: creating Makefile config.status: creating version.h config.status: creating config.h touch debian/stamp-autotools /usr/bin/make -C . make[1]: Entering directory '/<<PKGBUILDDIR>>' cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o normfile.o normfile.c cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o palettes.o palettes.c cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o scale.o scale.c cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o util.o util.c cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -c -o dv4l.o dv4l.c dv4l.c: In function ‘frame_recv’: dv4l.c:482:27: warning: variable ‘tmp’ set but not used [-Wunused-but- set-variable] 482 | static unsigned char *tmp = NULL; | ^~~ In function ‘cmdline’, inlined from ‘main’ at dv4l.c:926:5: dv4l.c:683:21: warning: ‘strncpy’ specified bound 80 equals destination size [-Wstringop-truncation] 683 | strncpy(buf, optarg, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o dv4l normfile.o palettes.o scale.o util.o dv4l.o -lraw1394 - liec61883 -ldv cc -Wall -fPIC -O3 -MMD -D__KERNEL_STRICT_NAMES -shared -fpic -Wl,- soname,libdv4l.so \ -DDV4LLIBNAME=/usr/lib/dv4l/libdv4l.so \ normfile.o palettes.o scale.o util.o dv4l.o \ -ldl -lraw1394 -liec61883 -ldv -o libdv4l.so ./mkdv4lstart /usr/lib/dv4l 1.0 make[1]: Leaving directory '/<<PKGBUILDDIR>>' touch debian/stamp-makefile-build CDBS WARNING: DEB_MAKE_CHECK_TARGET unset, not running checks /usr/bin/make -C . install DESTDIR=/<<PKGBUILDDIR>>/debian/dv4l/ make[1]: Entering directory '/<<PKGBUILDDIR>>' install -D -m 0750 -g video dv4l /<<PKGBUILDDIR>>/debian/dv4l//usr/bin/dv4l install: cannot change ownership of '/<<PKGBUILDDIR>>/debian/dv4l//usr/ bin/dv4l': Operation not permitted make[1]: *** [Makefile:80: install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [/usr/share/cdbs/1/class/makefile.mk:103: debian/stamp- makefile-install] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-11-16T01:46:09Z ------------------------------------------------------------------------------- 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/981767.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