Source: t50
Version: 5.8.7b-1
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian...@lists.debian.org
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 t50
> dpkg-buildpackage: info: source version 5.8.7b-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Marcos Fouces <mar...@debian.org>
>  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>>'
> Deleting .o files...
> find src/ -type f -name '*.o' -delete
> rm t50 dist/*.gz dist/*.asc
> rm: cannot remove 'dist/*.gz': No such file or directory
> rm: cannot remove 'dist/*.asc': No such file or directory
> make[1]: [Makefile:161: distclean] Error 1 (ignored)
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
>       ./configure --build=x86_64-linux-gnu --prefix=/usr 
> --includedir=\${prefix}/include --mandir=\${prefix}/share/man 
> --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
> --disable-option-checking --disable-silent-rules 
> --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run 
> --disable-maintainer-mode --disable-dependency-tracking
> To comple and install:
> 
>   $ make
>   $ sudo make install
> 
> To uninstall:
> 
>   $ sudo make uninstall
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build --buildsystem=makefile
>       make -j8 "INSTALL=install --strip-program=true"
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/cidr.o src/cidr.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/cksum.o src/cksum.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/config.o src/config.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/errors.o src/errors.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/main.o src/main.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/memalloc.o 
> src/memalloc.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules.o src/modules.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/netio.o src/netio.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/randomizer.o 
> src/randomizer.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/shuffle.o src/shuffle.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/usage.o src/usage.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/egp_help.o 
> src/help/egp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/eigrp_help.o 
> src/help/eigrp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/general_help.o 
> src/help/general_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/gre_help.o 
> src/help/gre_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/icmp_help.o 
> src/help/icmp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/igmp_help.o 
> src/help/igmp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/ip_help.o 
> src/help/ip_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/ipsec_help.o 
> src/help/ipsec_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/ospf_help.o 
> src/help/ospf_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/rip_help.o 
> src/help/rip_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/help/rsvp_help.o 
> src/help/rsvp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
> src/help/tcp_udp_dccp_help.o src/help/tcp_udp_dccp_help.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/dccp.o 
> src/modules/dccp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/egp.o 
> src/modules/egp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/eigrp.o 
> src/modules/eigrp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/gre.o 
> src/modules/gre.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/icmp.o 
> src/modules/icmp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/igmpv1.o 
> src/modules/igmpv1.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/igmpv3.o 
> src/modules/igmpv3.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/ip.o 
> src/modules/ip.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/ipsec.o 
> src/modules/ipsec.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/ospf.o 
> src/modules/ospf.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/ripv1.o 
> src/modules/ripv1.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/ripv2.o 
> src/modules/ripv2.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/rsvp.o 
> src/modules/rsvp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/tcp.o 
> src/modules/tcp.c
> cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
> -Wformat -Werror=format-security -std=gnu11 -I src/include -O2 -DNDEBUG 
> -ffast-math -Wdate-time -D_FORTIFY_SOURCE=2  -c -o src/modules/udp.o 
> src/modules/udp.c
> cc -Wl,-z,relro -Wl,-z,now -s -O2 -o t50 src/cidr.o src/cksum.o src/config.o 
> src/errors.o src/main.o src/memalloc.o src/modules.o src/netio.o 
> src/randomizer.o src/shuffle.o src/usage.o src/help/egp_help.o 
> src/help/eigrp_help.o src/help/general_help.o src/help/gre_help.o 
> src/help/icmp_help.o src/help/igmp_help.o src/help/ip_help.o 
> src/help/ipsec_help.o src/help/ospf_help.o src/help/rip_help.o 
> src/help/rsvp_help.o src/help/tcp_udp_dccp_help.o src/modules/dccp.o 
> src/modules/egp.o src/modules/eigrp.o src/modules/gre.o src/modules/icmp.o 
> src/modules/igmpv1.o src/modules/igmpv3.o src/modules/ip.o 
> src/modules/ipsec.o src/modules/ospf.o src/modules/ripv1.o 
> src/modules/ripv2.o src/modules/rsvp.o src/modules/tcp.o src/modules/udp.o 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test
>    create-stamp debian/debhelper-build-stamp
>    dh_prep
>    dh_auto_install --destdir=debian/t50/
>       make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/t50 
> AM_UPDATE_INFO_DIR=no
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> install -d /<<PKGBUILDDIR>>/debian/t50/usr/sbin/ 
> /<<PKGBUILDDIR>>/debian/t50/usr/share/man/man8/
> install -m750 t50 /<<PKGBUILDDIR>>/debian/t50/usr/sbin/
> gzip -9 doc/t50.8;
> gzip: doc/t50.8: No such file or directory
> make[1]: *** [Makefile:175: install] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_install: error: make -j8 install DESTDIR=/<<PKGBUILDDIR>>/debian/t50 
> AM_UPDATE_INFO_DIR=no returned exit code 2
> make: *** [debian/rules:5: binary] Error 25
> dpkg-buildpackage: error: debian/rules binary 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/t50_5.8.7b-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