[pkg-netfilter-team] Bug#1047926: xtables-addons: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:34 BST 2023


Source: xtables-addons
Version: 3.24-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
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 xtables-addons
> dpkg-buildpackage: info: source version 3.24-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Jeremy Sowden <jeremy at azazel.net>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean --no-parallel
> 	make -j1 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in extensions
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extensions'
> rm -rf .libs _libs
> if [ -n "" ]; then make -C  M=/<<PKGBUILDDIR>>/extensions clean; fi;
> make -f ../Makefile.iptrules clean;
> make[4]: Entering directory '/<<PKGBUILDDIR>>/extensions'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> test -z "libxt_ACCOUNT_cl.la" || rm -f libxt_ACCOUNT_cl.la
> rm -f ./so_locations
> rm -rf .libs _libs
> make -f ../../Makefile.iptrules clean;
> make[6]: Entering directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> rm -f *.oo *.so;
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
>  rm -f iptaccount
> rm -f *.o
> rm -f *.lo
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> make[5]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
> rm -rf .libs _libs
> make -f ../../Makefile.iptrules clean;
> make[6]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
> rm -f *.oo *.so;
> make[6]: Leaving directory '/<<PKGBUILDDIR>>/extensions/pknock'
>  rm -f pknlusr
> rm -f *.o
> rm -f *.lo
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/extensions/pknock'
> rm -f *.oo *.so;
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/extensions'
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extensions'
> Making distclean in extensions/ACCOUNT
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> test -z "libxt_ACCOUNT_cl.la" || rm -f libxt_ACCOUNT_cl.la
> rm -f ./so_locations
> rm -rf .libs _libs
> make -f ../../Makefile.iptrules clean;
> make[4]: Entering directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> rm -f *.oo *.so;
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
>  rm -f iptaccount
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./.deps/iptaccount.Po
> rm -f ./.deps/libxt_ACCOUNT_cl.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extensions/ACCOUNT'
> Making distclean in extensions/pknock
> make[3]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
> rm -rf .libs _libs
> make -f ../../Makefile.iptrules clean;
> make[4]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
> rm -f *.oo *.so;
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/extensions/pknock'
>  rm -f pknlusr
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./.deps/pknlusr.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extensions/pknock'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> make -f Makefile.mans clean;
> make[4]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f xtables-addons.8 matches.man targets.man .manpages.lst
> make[4]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f *.lo
> test -z "Makefile.iptrules Makefile.mans" || rm -f Makefile.iptrules Makefile.mans
> test . = "." || test -z "" || rm -f 
> rm -f config.h 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
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean debian/xtables-addons-source.build/ debian/xtables-addons-dkms.dkms
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: warning: upstream signing key but no upstream tarball signature
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building xtables-addons using existing ./xtables-addons_3.24.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  xtables-addons-3.24/extensions/.libxt_CHAOS.oo.d
>  xtables-addons-3.24/extensions/.libxt_DELUDE.oo.d
>  xtables-addons-3.24/extensions/.libxt_DHCPMAC.oo.d
>  xtables-addons-3.24/extensions/.libxt_DNETMAP.oo.d
>  xtables-addons-3.24/extensions/.libxt_ECHO.oo.d
>  xtables-addons-3.24/extensions/.libxt_IPMARK.oo.d
>  xtables-addons-3.24/extensions/.libxt_LOGMARK.oo.d
>  xtables-addons-3.24/extensions/.libxt_PROTO.oo.d
>  xtables-addons-3.24/extensions/.libxt_SYSRQ.oo.d
>  xtables-addons-3.24/extensions/.libxt_TARPIT.oo.d
>  xtables-addons-3.24/extensions/.libxt_asn.oo.d
>  xtables-addons-3.24/extensions/.libxt_condition.oo.d
>  xtables-addons-3.24/extensions/.libxt_dhcpmac.oo.d
>  xtables-addons-3.24/extensions/.libxt_fuzzy.oo.d
>  xtables-addons-3.24/extensions/.libxt_geoip.oo.d
>  xtables-addons-3.24/extensions/.libxt_gradm.oo.d
>  xtables-addons-3.24/extensions/.libxt_iface.oo.d
>  xtables-addons-3.24/extensions/.libxt_ipp2p.oo.d
>  xtables-addons-3.24/extensions/.libxt_ipv4options.oo.d
>  xtables-addons-3.24/extensions/.libxt_length2.oo.d
>  xtables-addons-3.24/extensions/.libxt_lscan.oo.d
>  xtables-addons-3.24/extensions/.libxt_psd.oo.d
>  xtables-addons-3.24/extensions/.libxt_quota2.oo.d
>  xtables-addons-3.24/extensions/ACCOUNT/.libxt_ACCOUNT.oo.d
>  xtables-addons-3.24/extensions/pknock/.libxt_pknock.oo.d
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/xtables-addons_3.24-1.diff.nUNJoY
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . 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/xtables-addons_3.24-1_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.



More information about the pkg-netfilter-team mailing list