Source: net-tools
Version: 2.10-0.1
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 net-tools
> dpkg-buildpackage: info: source version 2.10-0.1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bastian Germann <[email protected]>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> [ ! -f Makefile ] || /usr/bin/make clobber
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make[2]: pkg-config: No such file or directory
> /bin/sh: 1: pkg-config: not found
> rm -f -- *.o DEADJOE config.new *~ *.orig lib/*.o
> rm -f -- ifconfig netstat route nameif iptunnel ipmaddr mii-tool
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f -- DEADJOE *~ *.orig
> rm -f -- */DEADJOE */*~ */*.orig
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f -- *mo
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
> rm -f -- ifconfig netstat route nameif iptunnel ipmaddr mii-tool config.h 
> version.h config.status config.make
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f -- DEADJOE *~ *.orig
> rm -f -- */DEADJOE */*~ */*.orig
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> [ ! -f debian/config.h.bk ] || \
>       mv debian/config.h.bk config.h
> [ ! -f debian/config.make.bk ] || \
>       mv debian/config.make.bk config.make
> dh_auto_clean
>       make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f -- *.o DEADJOE config.new *~ *.orig lib/*.o
> rm -f -- ifconfig netstat route nameif
> make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
> rm -f -- DEADJOE *~ *.orig
> rm -f -- */DEADJOE */*~ */*.orig
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -f -- *.o *~ *.orig libnet-tools.a libnet-tools.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f -- *mo
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/po'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building net-tools using existing 
> ./net-tools_2.10.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file po/pt_BR.mo, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/de.mo, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/fr.mo, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/et.mo, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/cs.mo, use 
> --include-removal to override
> dpkg-source: error: cannot represent change to arp: binary file contents 
> changed
> dpkg-source: error: add arp in debian/source/include-binaries if you want to 
> store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'arp' will not be represented 
> in diff
> dpkg-source: error: cannot represent change to plipconfig: binary file 
> contents changed
> dpkg-source: error: add plipconfig in debian/source/include-binaries if you 
> want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'plipconfig' will not be 
> represented in diff
> dpkg-source: error: cannot represent change to rarp: binary file contents 
> changed
> dpkg-source: error: add rarp in debian/source/include-binaries if you want to 
> store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'rarp' will not be represented 
> in diff
> dpkg-source: error: cannot represent change to slattach: binary file contents 
> changed
> dpkg-source: error: add slattach in debian/source/include-binaries if you 
> want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'slattach' will not be 
> represented in diff
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/net-tools_2.10-0.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.

Reply via email to