Source: liblockfile Version: 1.17-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`, liblockfile failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] Homepage: https://github.com/miquels/liblockfile Standards-Version: 3.9.4 Vcs-Browser: https://github.com/miquels/liblockfile-debian Vcs-Git: https://github.com/miquels/liblockfile-debian Build-Depends: debhelper (>= 9) Package-List: liblockfile-bin deb utils standard arch=any liblockfile-dev deb libdevel optional arch=any liblockfile1 deb libs standard arch=any Checksums-Sha1:ecda2184f43dd7c58347ec2a64bac4b07b183f40 69232 liblockfile_1.17.orig.tar.gz 0397db92caddad314499c2e712d26b9f74fa8703 6773 liblockfile_1.17-1.debian.tar.bz2
Checksums-Sha256:6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e 69232 liblockfile_1.17.orig.tar.gz e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673 6773 liblockfile_1.17-1.debian.tar.bz2
Files: 918c4c07f7b99fc327db8bf39d3a1804 69232 liblockfile_1.17.orig.tar.gz 40415c5702f82681d9811e4e9e182813 6773 liblockfile_1.17-1.debian.tar.bz2 -----BEGIN PGP SIGNATURE----- iQJHBAEBCgAxFiEEf/d2i4NuIQ5n1cz+t8gfkA2b1lYFAmAS74cTHG1pcXVlbHNA ZGViaWFuLm9yZwAKCRC3yB+QDZvWVprGD/9A77kldMXvvyhB60zJh7AkxKaammUh s25Vxe4GGlDlV/Vw3+GYHXc0Cg5BdTty1NwfI7wcYbhWELXk1DdN5kwOnvjEkfzH Gv5LottlljZ3rAcpTUNiNCRSbXk/SCXHzaiD5hTljX4oUfhePE6+Iprti+kUHKrG kTW1o/reimtOsMLz3p/0MdDR2J3JiIg/Y0HRc9QOVsZdl7sEqFpFjFhfKrFSYYoR ZDcr/BDGY1Wpk7o4R4JuTkgf8bvcJ6xRSTxwn/dPzLFzcRh9WS+ixeeqO+W1u2+f RU4ATDBs7aOash4InkCEKT0jU636O5Q7PjIS9Odec4PNp1u8rbEikjuJOCCDQwVQ acMdR1E+NEFE/sYpnoXiytOunWn2TJYqpjk5FdARyhcbjU4ScXR6V7zIZfj5gkpy 1ZOGhRLU9OaQKQ0l6yBX2EfCS0r9MTunIfrv4RzMqfIs+rJeqcyOwaNdn2ROx7vz X1+y6AEfXakADt7JT+Bd6zfAesA08yfNWGezl8DwII8A/69K8zwUIaiGiGrsraxq 0AqThm/D3ELBUCvT+YuwcLDwHO2DpCT3czlDjEbnpopAy16hxTtkEmf+Vbr2OX1q H7iTFqMAsLrV0KFW3VZsQpvNb7KsDosktfllMt+g1VaqpbjsbqEiKA1mJP81dZdI a3GKuTkZ2jFW9Q== =IQBE -----END PGP SIGNATURE----- gpgv: Signature made Thu Jan 28 17:08:23 2021 UTC gpgv: using RSA key 7FF7768B836E210E67D5CCFEB7C81F900D9BD656 gpgv: issuer "miqu...@debian.org" gpgv: Can't check signature: No public keydpkg-source: warning: cannot verify inline signature for ./liblockfile_1.17-1.dsc: no acceptable signature found
dpkg-source: info: extracting liblockfile in /<<PKGBUILDDIR>> dpkg-source: info: unpacking liblockfile_1.17.orig.tar.gz dpkg-source: info: unpacking liblockfile_1.17-1.debian.tar.bz2 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 liblockfile dpkg-buildpackage: info: source version 1.17-1 dpkg-buildpackage: info: source distribution unstabledpkg-buildpackage: info: source changed by Miquel van Smoorenburg <miqu...@debian.org>
dpkg-source --before-build . dpkg-buildpackage: info: host architecture arm64dpkg-source: info: using options from liblockfile-1.17/debian/source/options: --compression=bzip2 --compression-level=9 --extend-diff-ignore=README.md|LICENSE
debian/rules clean dh clean dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf configure.ac:2: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.ac:2: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:2: the top level configure.ac:78: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:78: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:78: the top level configure.ac:114: warning: AC_OUTPUT should be used without arguments. configure.ac:114: You should run autoupdate.autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader: WARNING: is deprecated and discouraged.autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.])autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation. debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- --enable-shared --with-mailgroup./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --libexecdir=\${prefix}/lib/aarch64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-shared --with-mailgroup
checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... no
checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking build shared libs... yes checking build libnfslock... no checking for ldconfig... /usr/sbin/ldconfig checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for getopt.h... yes checking for paths.h... yes checking for sys/param.h... yes checking for utime... yes checking for utimes... yes configure: creating ./config.status config.status: creating ./Makefile config.status: creating ./maillock.h config.status: creating autoconf.h make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build make -j4 make[1]: Entering directory '/<<PKGBUILDDIR>>'gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \
-c lockfile.c -o solockfile.ogcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLIB -DLOCKPROG=\"/usr/bin/dotlockfile\" \
-DSTATIC -c lockfile.cgcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLOCKPROG=\"/usr/bin/dotlockfile\" \
-c dotlockfile.cgcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wall -D_GNU_SOURCE -fPIC -D_REENTRANT -I. -DLOCKPROG=\"/usr/bin/dotlockfile\" \
-c lockfile.c -o dlockfile.o ar rv liblockfile.a lockfile.o ar: creating liblockfile.a a - lockfile.o gcc -Wl,-z,relro -o dotlockfile dotlockfile.o dlockfile.o gcc -Wl,-z,relro -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so solockfile.o -lc make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' true make[1]: Leaving directory '/<<PKGBUILDDIR>>' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<<PKGBUILDDIR>>' install -d -m 755 -g root -p /<<PKGBUILDDIR>>/debian/tmp/usr/includeinstall: cannot change owner and permissions of ‘/<<PKGBUILDDIR>>/debian/tmp/usr/include’: Operation not permitted
make[1]: *** [Makefile:75: install_common] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_install: error: make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:7: binary] Error 25dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-17T02:01:24Z ------------------------------------------------------------------------------- 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/1009706.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