Source: amanda Version: 1:3.5.4-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`, amanda failed to rebuild. Log Summary: ------------------------------------------------------------------------------- [...] make[5]: Entering directory '/<<PKGBUILDDIR>>/perl/amglue' make check-am make[6]: Entering directory '/<<PKGBUILDDIR>>/perl/amglue' make check-local make[7]: Entering directory '/<<PKGBUILDDIR>>/perl/amglue' make[7]: Nothing to be done for 'check-local'. make[7]: Leaving directory '/<<PKGBUILDDIR>>/perl/amglue' make[6]: Leaving directory '/<<PKGBUILDDIR>>/perl/amglue' make[5]: Leaving directory '/<<PKGBUILDDIR>>/perl/amglue' Making check in . make[5]: Entering directory '/<<PKGBUILDDIR>>/perl' make check-local make[6]: Entering directory '/<<PKGBUILDDIR>>/perl' make[6]: Nothing to be done for 'check-local'. make[6]: Leaving directory '/<<PKGBUILDDIR>>/perl' make[5]: Leaving directory '/<<PKGBUILDDIR>>/perl' make[4]: Leaving directory '/<<PKGBUILDDIR>>/perl' make[3]: Leaving directory '/<<PKGBUILDDIR>>/perl' Making check in po make[3]: Entering directory '/<<PKGBUILDDIR>>/po' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/<<PKGBUILDDIR>>/po' Making check in man make[3]: Entering directory '/<<PKGBUILDDIR>>/man' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/<<PKGBUILDDIR>>/man' Making check in example make[3]: Entering directory '/<<PKGBUILDDIR>>/example' make check-am make[4]: Entering directory '/<<PKGBUILDDIR>>/example' make[4]: Nothing to be done for 'check-am'. make[4]: Leaving directory '/<<PKGBUILDDIR>>/example' make[3]: Leaving directory '/<<PKGBUILDDIR>>/example' Making check in packaging make[3]: Entering directory '/<<PKGBUILDDIR>>/packaging' make[3]: Nothing to be done for 'check'. make[3]: Leaving directory '/<<PKGBUILDDIR>>/packaging' Making check in installcheck make[3]: Entering directory '/<<PKGBUILDDIR>>/installcheck' make check-am make[4]: Entering directory '/<<PKGBUILDDIR>>/installcheck' make check-local make[5]: Entering directory '/<<PKGBUILDDIR>>/installcheck' make[5]: Nothing to be done for 'check-local'. make[5]: Leaving directory '/<<PKGBUILDDIR>>/installcheck' make[4]: Leaving directory '/<<PKGBUILDDIR>>/installcheck' make[3]: Leaving directory '/<<PKGBUILDDIR>>/installcheck' make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: Leaving directory '/<<PKGBUILDDIR>>' create-stamp debian/debhelper-build-stamp dh_preprm -f -- debian/amanda-common.substvars debian/amanda-server.substvars debian/amanda-client.substvars rm -fr -- debian/.debhelper/generated/amanda-common/ debian/amanda-common/ debian/tmp/ debian/.debhelper/generated/amanda-server/ debian/amanda-server/ debian/.debhelper/generated/amanda-client/ debian/amanda-client/
dh_installdirs install -m0755 -d debian/amanda-commoninstall -m0755 -d debian/amanda-common/etc/xinetd.d debian/amanda-common/usr/share/amanda-common/template.d
install -m0755 -d debian/amanda-serverinstall -m0755 -d debian/amanda-server/etc/amanda debian/amanda-server/var/lib/amanda
install -m0755 -d debian/amanda-clientinstall -m0755 -d debian/amanda-client/etc debian/amanda-client/var/lib/amanda/gnutar-lists
dh_auto_installinstall -m0755 -d debian/amanda-common debian/amanda-server debian/amanda-client
make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no make[1]: Entering directory '/<<PKGBUILDDIR>>' make install-recursive make[2]: Entering directory '/<<PKGBUILDDIR>>' Making install in . make[3]: Entering directory '/<<PKGBUILDDIR>>' make[4]: Entering directory '/<<PKGBUILDDIR>>' make install-exec-hook make[5]: Entering directory '/<<PKGBUILDDIR>>' make[5]: Leaving directory '/<<PKGBUILDDIR>>' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/amanda'/usr/bin/install -c -m 644 ReleaseNotes COPYRIGHT NEWS ChangeLog '/<<PKGBUILDDIR>>/debian/tmp/usr/share/amanda'
make install-data-hook make[5]: Entering directory '/<<PKGBUILDDIR>>' make[5]: Leaving directory '/<<PKGBUILDDIR>>' make[4]: Leaving directory '/<<PKGBUILDDIR>>' make[3]: Leaving directory '/<<PKGBUILDDIR>>' Making install in gnulib make[3]: Entering directory '/<<PKGBUILDDIR>>/gnulib' make install-recursive make[4]: Entering directory '/<<PKGBUILDDIR>>/gnulib' make[5]: Entering directory '/<<PKGBUILDDIR>>/gnulib' make[6]: Entering directory '/<<PKGBUILDDIR>>/gnulib' if test yes = no; then \ case 'linux-gnu' in \ darwin[56]*) \ need_charset_alias=true ;; \ darwin* | cygwin* | mingw* | pw32* | cegcc*) \ need_charset_alias=false ;; \ *) \ need_charset_alias=true ;; \ esac ; \ else \ need_charset_alias=false ; \ fi ; \ if $need_charset_alias; then \/bin/bash /<<PKGBUILDDIR>>/config/install-sh -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu ; \
fi ; \if test -f /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.alias; then \ sed -f ref-add.sed /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.alias > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp ; \ /usr/bin/install -c -m 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.alias ; \ rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp ; \
else \ if $need_charset_alias; then \sed -f ref-add.sed charset.alias > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp ; \ /usr/bin/install -c -m 644 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.alias ; \ rm -f /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/charset.tmp ; \
fi ; \ fi make[6]: Nothing to be done for 'install-data-am'. make[6]: Leaving directory '/<<PKGBUILDDIR>>/gnulib' make[5]: Leaving directory '/<<PKGBUILDDIR>>/gnulib' make[4]: Leaving directory '/<<PKGBUILDDIR>>/gnulib' make[3]: Leaving directory '/<<PKGBUILDDIR>>/gnulib' Making install in config make[3]: Entering directory '/<<PKGBUILDDIR>>/config' make[4]: Entering directory '/<<PKGBUILDDIR>>/config' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/<<PKGBUILDDIR>>/config' make[3]: Leaving directory '/<<PKGBUILDDIR>>/config' Making install in common-src make[3]: Entering directory '/<<PKGBUILDDIR>>/common-src' make install-am make[4]: Entering directory '/<<PKGBUILDDIR>>/common-src' make[5]: Entering directory '/<<PKGBUILDDIR>>/common-src' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda'/usr/bin/install -c -m 644 amanda-sh-lib.sh '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda'
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda'/bin/bash ../libtool --mode=install /usr/bin/install -c ambind '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda' libtool: warning: 'libamanda.la' has not been installed in '/usr/lib/aarch64-linux-gnu/amanda' libtool: install: /usr/bin/install -c .libs/ambind /<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda/ambind
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda' /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'/bin/bash ../libtool --mode=install /usr/bin/install -c amservice '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin' libtool: warning: 'libamanda.la' has not been installed in '/usr/lib/aarch64-linux-gnu/amanda' libtool: install: /usr/bin/install -c .libs/amservice /<<PKGBUILDDIR>>/debian/tmp/usr/sbin/amservice
/usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'/usr/bin/install -c amgpgcrypt amcryptsimple amgetconf amssl amcrypt amaespipe amcrypt-ossl amcrypt-ossl-asym '/<<PKGBUILDDIR>>/debian/tmp/usr/sbin'
make install-exec-hook make[6]: Entering directory '/<<PKGBUILDDIR>>/common-src' Setting installation permissions on executables (dest=/usr/lib/amanda) (chown=root:setuid) (chmod=04750) chown root:backup /<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda/ambindchown: changing ownership of '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/amanda/ambind': Operation not permitted
make[6]: *** [Makefile:3316: installperms-exec] Error 1 make[6]: Leaving directory '/<<PKGBUILDDIR>>/common-src' make[5]: *** [Makefile:3070: install-exec-am] Error 2 make[5]: Leaving directory '/<<PKGBUILDDIR>>/common-src' make[4]: *** [Makefile:2942: install-am] Error 2 make[4]: Leaving directory '/<<PKGBUILDDIR>>/common-src' make[3]: *** [Makefile:2935: install] Error 2 make[3]: Leaving directory '/<<PKGBUILDDIR>>/common-src' make[2]: *** [Makefile:1719: install-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:2027: install] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>'dh_auto_install: error: make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:41: binary] Error 25dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------------------------------------------------------------------------- Build finished at 2024-11-15T18:37:33Z ------------------------------------------------------------------------------- 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/973445.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. 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