Source: pm-utils Version: 1.4.1-19 Severity: minor Tags: trixie sid ftbfs User: [email protected] Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build User: [email protected] Usertags: qa-doublebuild
Hi, This package fails to do build a binary-only build (not source) after a successful build (dpkg-buildpackage ; dpkg-buildpackage -b). This is probably a clear violation of Debian Policy section 4.9 (clean target), but this is filed as severity:minor for now, because a discussion on debian-devel showed that we might want to revisit the requirement of a working 'clean' target. More information about this class of issues, included common problems and solutions, is available at https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild Relevant part of the build log: > cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env > -us -uc -rfakeroot -b > ----------------------------------------------------------------------------------------------------------------------- > > dpkg-buildpackage: info: source package pm-utils > dpkg-buildpackage: info: source version 1.4.1-19 > dpkg-buildpackage: info: source distribution unstable > dpkg-buildpackage: info: source changed by Ian Jackson > <[email protected]> > dpkg-source --before-build . > dpkg-buildpackage: info: host architecture amd64 > fakeroot debian/rules clean > dh clean > dh: warning: Compatibility levels before 10 are deprecated (level 7 in use) > dh_auto_clean > dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level > 7 in use) > make -j1 distclean > make[1]: Entering directory '/<<PKGBUILDDIR>>' > Making distclean in src > make[2]: Entering directory '/<<PKGBUILDDIR>>/src' > test -z "pm-action pm-is-supported pm-powersave service" || rm -f pm-action > pm-is-supported pm-powersave service > rm -f *~ > test -z "pm-pmu pm-reset-swap" || rm -f pm-pmu pm-reset-swap > rm -f *.o > rm -f *.tab.c > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > rm -rf ./.deps > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/src' > Making distclean in man > make[2]: Entering directory '/<<PKGBUILDDIR>>/man' > rm -f *~ > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/man' > Making distclean in pm > make[2]: Entering directory '/<<PKGBUILDDIR>>/pm' > Making distclean in module.d > make[3]: Entering directory '/<<PKGBUILDDIR>>/pm/module.d' > rm -f *~ > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/pm/module.d' > Making distclean in power.d > make[3]: Entering directory '/<<PKGBUILDDIR>>/pm/power.d' > rm -f *~ > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/pm/power.d' > Making distclean in sleep.d > make[3]: Entering directory '/<<PKGBUILDDIR>>/pm/sleep.d' > rm -f *~ > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f Makefile > make[3]: Leaving directory '/<<PKGBUILDDIR>>/pm/sleep.d' > Making distclean in . > make[3]: Entering directory '/<<PKGBUILDDIR>>/pm' > test -z "functions pm-functions" || rm -f functions pm-functions > rm -f *~ > test -z "" || rm -f > test . = "." || test -z "" || rm -f > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > make[3]: Leaving directory '/<<PKGBUILDDIR>>/pm' > rm -f Makefile > make[2]: Leaving directory '/<<PKGBUILDDIR>>/pm' > Making distclean in . > make[2]: Entering directory '/<<PKGBUILDDIR>>' > rm -f *~ > test -z "pm-utils.pc" || rm -f pm-utils.pc > test . = "." || test -z "" || rm -f > rm -f config.h stamp-h1 > rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > rm -f config.status config.cache config.log configure.lineno > config.status.lineno > rm -f Makefile > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_clean > dh_clean: warning: Compatibility levels before 10 are deprecated (level 7 in > use) > debian/rules build > dh build > dh: warning: Compatibility levels before 10 are deprecated (level 7 in use) > dh_update_autotools_config > dh_auto_configure > dh_auto_configure: warning: Compatibility levels before 10 are deprecated > (level 7 in use) > ./configure --build=x86_64-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 > --libexecdir=\${prefix}/lib/pm-utils --disable-maintainer-mode > --disable-dependency-tracking > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... none > checking whether ln -s works... yes > checking for xmlto... /usr/bin/xmlto > checking whether to build manpages... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating pm-utils.pc > config.status: creating man/Makefile > config.status: creating src/Makefile > config.status: creating pm/Makefile > config.status: creating pm/sleep.d/Makefile > config.status: creating pm/power.d/Makefile > config.status: creating pm/module.d/Makefile > config.status: creating config.h > config.status: executing depfiles commands > > pm-utils 1.4.1 > ================== > > prefix: /usr > compiler: gcc > cflags: -g -O2 > > debian/rules override_dh_auto_build > make[1]: Entering directory '/<<PKGBUILDDIR>>' > # Hack to not build arch specific binaries (replaced with Perl code in > # 25-pmu.patch) > touch src/pm-pmu.o src/pm-reset-swap.o > touch src/pm-pmu src/pm-reset-swap > dh_auto_build > dh_auto_build: warning: Compatibility levels before 10 are deprecated (level > 7 in use) > make -j1 > make[2]: Entering directory '/<<PKGBUILDDIR>>' > make all-recursive > make[3]: Entering directory '/<<PKGBUILDDIR>>' > Making all in pm > make[4]: Entering directory '/<<PKGBUILDDIR>>/pm' > Making all in sleep.d > make[5]: Entering directory '/<<PKGBUILDDIR>>/pm/sleep.d' > make[5]: Nothing to be done for 'all'. > make[5]: Leaving directory '/<<PKGBUILDDIR>>/pm/sleep.d' > Making all in power.d > make[5]: Entering directory '/<<PKGBUILDDIR>>/pm/power.d' > make[5]: Nothing to be done for 'all'. > make[5]: Leaving directory '/<<PKGBUILDDIR>>/pm/power.d' > Making all in module.d > make[5]: Entering directory '/<<PKGBUILDDIR>>/pm/module.d' > make[5]: Nothing to be done for 'all'. > make[5]: Leaving directory '/<<PKGBUILDDIR>>/pm/module.d' > make[5]: Entering directory '/<<PKGBUILDDIR>>/pm' > sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e > 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' functions.in >functions > chmod +x functions > sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e > 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-functions.in >pm-functions > chmod +x pm-functions > make[5]: Leaving directory '/<<PKGBUILDDIR>>/pm' > make[4]: Leaving directory '/<<PKGBUILDDIR>>/pm' > Making all in man > make[4]: Entering directory '/<<PKGBUILDDIR>>/man' > /usr/bin/xmlto man pm-is-supported.xml > Note: Writing pm-is-supported.1 > /usr/bin/xmlto man pm-powersave.xml > Note: Writing pm-powersave.8 > /usr/bin/xmlto man pm-action.xml > Note: Writing pm-action.8 > make[4]: Leaving directory '/<<PKGBUILDDIR>>/man' > Making all in src > make[4]: Entering directory '/<<PKGBUILDDIR>>/src' > sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e > 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-is-supported.in >pm-is-supported > chmod +x pm-is-supported > sed -e 's,[@]PM-UTILS-LIBDIR[@],/usr/lib/pm-utils,g' -e > 's,[@]PM-UTILS-SYSCONFDIR[@],/etc/pm,g' pm-action.in >pm-action > chmod +x pm-action > make[4]: *** No rule to make target 'service', needed by 'all-am'. Stop. > make[4]: Leaving directory '/<<PKGBUILDDIR>>/src' > make[3]: *** [Makefile:326: all-recursive] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>' > make[2]: *** [Makefile:222: all] Error 2 > make[2]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: error: make -j1 returned exit code 2 > make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > make: *** [debian/rules:4: build] Error 2 > dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 > > E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage > --sanitize-env -us -uc -rfakeroot -b' failed to run. The full build log is available from: http://qa-logs.debian.net/2023/08/16/pm-utils_1.4.1-19_unstable.log If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

