Source: cpptest
Version: 2.0.0-3
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 cpptest
> dpkg-buildpackage: info: source version 2.0.0-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thorsten Alteholz 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean --with autoreconf
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "" || rm -f 
> test -z "libcpptest.la" || rm -f libcpptest.la
> rm -rf .libs _libs
> rm -f *.o
> test -z "" || rm -f 
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "Makefile" || rm -f Makefile
> rm -f ./so_locations
> rm -f ./.deps/collectoroutput.Plo
> rm -f ./.deps/compileroutput.Plo
> rm -f ./.deps/htmloutput.Plo
> rm -f ./.deps/missing.Plo
> rm -f ./.deps/source.Plo
> rm -f ./.deps/suite.Plo
> rm -f ./.deps/textoutput.Plo
> rm -f ./.deps/time.Plo
> rm -f ./.deps/utils.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> test -z "" || rm -f 
> rm -rf .libs _libs
> rm -f *.o
> test -z "" || rm -f 
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f mytest
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "Makefile" || rm -f Makefile
> rm -f ./.deps/mytest.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> test -z "html/*" || rm -f html/*
> rm -rf .libs _libs
> test -z "" || rm -f 
> rm -f *.lo
> test -z "Doxyfile" || rm -f Doxyfile
> test . = "." || test -z "" || rm -f 
> test -z "Doxyfile Makefile html/*" || rm -f Doxyfile Makefile html/*
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "" || rm -f 
> rm -rf .libs _libs
> test -z "" || rm -f 
> rm -f *.lo
> test -z "config/stamp-h INSTALL.quick libcpptest.pc README" || rm -f 
> config/stamp-h INSTALL.quick libcpptest.pc README
> rm -f config/config.h config/stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> test . = "." || test -z "" || rm -f 
> test -z "config/config.h config/stamp-h? INSTALL.quick libcpptest.pc README 
> Makefile" || rm -f config/config.h config/stamp-h? INSTALL.quick 
> libcpptest.pc README Makefile
> 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_autoreconf_clean
>    dh_clean
>  debian/rules build
> dh build --with autoreconf
>    dh_update_autotools_config
>    dh_autoreconf
> libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
> libtoolize: copying file 'config/ltmain.sh'
> libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
> libtoolize: copying file 'config/libtool.m4'
> libtoolize: copying file 'config/ltoptions.m4'
> libtoolize: copying file 'config/ltsugar.m4'
> libtoolize: copying file 'config/ltversion.m4'
> libtoolize: copying file 'config/lt~obsolete.m4'
> configure.ac:93: installing 'config/compile'
> configure.ac:98: installing 'config/config.guess'
> configure.ac:98: installing 'config/config.sub'
> configure.ac:36: installing 'config/install-sh'
> configure.ac:36: installing 'config/missing'
> Makefile.am: installing './INSTALL'
> Makefile.am: error: required file './README' not found
> src/Makefile.am: installing 'config/depcomp'
> autoreconf: error: automake failed with exit status: 1
> dh_autoreconf: error: autoreconf -f -i returned exit code 1
> make: *** [debian/rules:6: build] Error 25
> 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/cpptest_2.0.0-3_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.

Reply via email to