Source: libnetfilter-cthelper
Version: 1.0.1-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 libnetfilter-cthelper
> dpkg-buildpackage: info: source version 1.0.1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jeremy Sowden <[email protected]>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "libnetfilter_cthelper.la" || rm -f libnetfilter_cthelper.la
> rm -rf .libs _libs
> rm -f *.o
> 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 
> rm -f ./so_locations
> rm -f ./.deps/libnetfilter_cthelper.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in include
> make[2]: Entering directory '/<<PKGBUILDDIR>>/include'
> Making distclean in libnetfilter_cthelper
> make[3]: Entering directory '/<<PKGBUILDDIR>>/include/libnetfilter_cthelper'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/include/libnetfilter_cthelper'
> Making distclean in linux
> make[3]: Entering directory '/<<PKGBUILDDIR>>/include/linux'
> Making distclean in netfilter
> make[4]: Entering directory '/<<PKGBUILDDIR>>/include/linux/netfilter'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/include/linux/netfilter'
> make[4]: Entering directory '/<<PKGBUILDDIR>>/include/linux'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/include/linux'
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/include/linux'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/include'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/include'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/include'
> Making distclean in examples
> make[2]: Entering directory '/<<PKGBUILDDIR>>/examples'
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
>  rm -f nfct-helper-get nfct-helper-add nfct-helper-del
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/nfct-helper-add.Po
> rm -f ./.deps/nfct-helper-del.Po
> rm -f ./.deps/nfct-helper-get.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/examples'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "libnetfilter_cthelper.pc doxygen.cfg" || rm -f 
> libnetfilter_cthelper.pc doxygen.cfg
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> 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
>    debian/rules override_dh_clean-indep
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean doxygen
> rm: cannot remove 'doxygen': Is a directory
> dh_clean: error: rm -f -- debian/libnetfilter-cthelper-doc.substvars doxygen 
> debian/files returned exit code 1
> make[1]: *** [debian/rules:12: override_dh_clean-indep] Error 25
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:8: clean] Error 2
> dpkg-buildpackage: error: debian/rules clean 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/libnetfilter-cthelper_1.0.1-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