Source: cpputest
Version: 4.0-2
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

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/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package cpputest
> dpkg-buildpackage: info: source version 4.0-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Raphaël Hertzog 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from cpputest-4.0/debian/source/options: 
> --extend-diff-ignore=(^|/)platforms/Dos/ALLTESTS.BAT
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "lib/libCppUTest.a lib/libCppUTestExt.a" || rm -f lib/libCppUTest.a 
> lib/libCppUTestExt.a
> rm -rf .libs _libs
> rm -f *.o
> test -z "" || rm -f 
> rm -f *.lo
>  rm -f CppUTestTests CppUTestExtTests
> rm -f *.tab.c
> test -z "cpputest.pc" || rm -f cpputest.pc
> test -z "CppUTestTests.log CppUTestExtTests.log" || rm -f CppUTestTests.log 
> CppUTestExtTests.log
> rm -f src/CppUTest/*.o
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> test . = "." || test -z "" || rm -f 
> test -z "CppUTestTests.trs CppUTestExtTests.trs" || rm -f CppUTestTests.trs 
> CppUTestExtTests.trs
> test -z "generated" || rmdir generated
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f src/CppUTestExt/*.o
> rm -f lib/.dirstamp
> rmdir: failed to remove 'generated': Directory not empty
> make[1]: *** [Makefile:4159: distclean-local] Error 1
> make[1]: *** Waiting for unfinished jobs....
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f src/CppUTest/.deps/.dirstamp
> rm -f src/Platforms/Gcc/*.o
> rm -f src/CppUTest/.dirstamp
> rm -f tests/CppUTest/*.o
> rm -f src/CppUTestExt/.deps/.dirstamp
> rm -f src/CppUTestExt/.dirstamp
> rm -f src/Platforms/Gcc/.deps/.dirstamp
> rm -f tests/CppUTestExt/*.o
> rm -f src/Platforms/Gcc/.dirstamp
> rm -f tests/CppUTest/.deps/.dirstamp
> rm -f tests/CppUTest/.dirstamp
> rm -f tests/CppUTestExt/.deps/.dirstamp
> rm -f tests/CppUTestExt/.dirstamp
> test -z "filename.map.txt generated/CppUTestGeneratedConfig.h" || rm -f 
> filename.map.txt generated/CppUTestGeneratedConfig.h
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean: error: make -j8 distclean returned exit code 2
> make: *** [debian/rules:4: clean] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned 
> exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/cpputest_4.0-2_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