[Pkg-electronics-devel] Bug#1047411: route-rnd: Fails to build source after successful build

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


Source: route-rnd
Version: 0.9.2-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 route-rnd
> dpkg-buildpackage: info: source version 0.9.2-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bdale Garbee <bdale at gag.com>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # only try to run dh_auto_clean if configure has been run
> test -f Makefile.conf && dh_auto_clean || true
> 	make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cd src/route-rnd && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/route-rnd'
> rm -f route-rnd.o rtree.o compat_misc.o data.o io.o util_grid.o htdi.o util_rat.o netseg.o find.o rtpoly.o route_res.o conf.o ../../src/plugins//buildin.o ../../src/plugins//io_tedax/parse.o ../../src/plugins//io_tedax/io_tedax.o ../../src/plugins//export_animator/export_animator.o ../../src/plugins//export_svg/export_svg.o ../../src/plugins//rt_horver/rt_horver.o ../../src/plugins//rt_horver/escape.o ../../src/plugins//rt_horver/optimize.o ../../src/plugins//rt_horver/bus.o ../../src/plugins//rt_horver/hpkp.o ../../src/plugins//rt_topo/rt_topo.o ../../src/plugins//rt_topo/vt2br.o ../../src/plugins//rt_topo/vtcr.o ../../src/plugins//rt_topo/vtve0.o ../../src/plugins//rt_topo/laa.o ../../src/plugins//rt_topo/trbs.o ../../src/plugins//rt_topo/crbs.o ../../src_3rd/libgrbs/grbs.o ../../src_3rd/libgrbs/addr_hash.o 
> ../../src_3rd/libgrbs/rtree.o ../../src_3rd/libgrbs/debug.o  route-rnd
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/route-rnd'
> cd src_3rd/genht && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/genht'
> rm mainsi htss.o htsp.o htsi.o htip.o htpp.o htpi.o hash.o siphash24.o libgenht.a libgenht.so.1.1.2 genht_std.so genht_std.a version.h ver_edit
> rm: cannot remove 'mainsi': No such file or directory
> rm: cannot remove 'libgenht.so.1.1.2': No such file or directory
> rm: cannot remove 'genht_std.so': No such file or directory
> rm: cannot remove 'genht_std.a': No such file or directory
> rm: cannot remove 'version.h': No such file or directory
> rm: cannot remove 'ver_edit': No such file or directory
> make[3]: [Makefile:25: clean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/genht'
> cd src_3rd/genlist && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/genlist'
> rm genlistalloc.o genadlist.o libgenlist.a genlist.a example_ad example_d; true
> rm: cannot remove 'genlistalloc.o': No such file or directory
> rm: cannot remove 'genadlist.o': No such file or directory
> rm: cannot remove 'libgenlist.a': No such file or directory
> rm: cannot remove 'genlist.a': No such file or directory
> rm: cannot remove 'example_ad': No such file or directory
> rm: cannot remove 'example_d': No such file or directory
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/genlist'
> cd src_3rd/genprique && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/genprique'
> rm genprique.a fibheap.o
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/genprique'
> cd src_3rd/genvector && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/genvector'
> rm gds_char.o vti0.o vts0.o vtp0.o vtii.o vti0.o vtd0.o libgenvector.a 2>/dev/null ; true
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/genvector'
> cd src_3rd/libcdtr && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libcdtr'
> touch libcdtr.a cdt.o point.o edge.o triangle.o debug.o cdt_test.o cdt_test
> rm libcdtr.a cdt.o point.o edge.o triangle.o debug.o cdt_test.o cdt_test
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libcdtr'
> cd src_3rd/libgrbs && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libgrbs'
> rm tester.o grbs.o debug.o addr_hash.o rtree.o tester
> rm: cannot remove 'tester.o': No such file or directory
> rm: cannot remove 'grbs.o': No such file or directory
> rm: cannot remove 'debug.o': No such file or directory
> rm: cannot remove 'addr_hash.o': No such file or directory
> rm: cannot remove 'rtree.o': No such file or directory
> rm: cannot remove 'tester': No such file or directory
> make[3]: [Makefile:26: clean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libgrbs'
> cd src_3rd/libpsrand && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libpsrand'
> rm minstd.o mtw.o xorshift.o libpsrand.a libpsrand.so
> rm: cannot remove 'minstd.o': No such file or directory
> rm: cannot remove 'xorshift.o': No such file or directory
> rm: cannot remove 'libpsrand.a': No such file or directory
> rm: cannot remove 'libpsrand.so': No such file or directory
> make[3]: *** [Makefile:43: clean] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libpsrand'
> make[2]: [Makefile:12: clean] Error 2 (ignored)
> cd src_3rd/libualloc && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libualloc'
> rm libualloc.a slab_impl.o slabap_impl.o stackd_impl.o stackdnp_impl.o stacks_impl.o mcache_impl.o acache_impl.o buddy_impl.o buddy_debug.o libualloc.o
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libualloc'
> cd src_3rd/libusearch && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libusearch'
> rm libusearch.a a_star_impl.o tester tester.o
> rm: cannot remove 'tester': No such file or directory
> rm: cannot remove 'tester.o': No such file or directory
> make[3]: [Makefile:43: clean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libusearch'
> cd src_3rd/libusteiner && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libusteiner'
> rm libusteiner.a tester.o debug.o libusteiner.o ../src_3rd/genvector/vtp0.o tester
> rm: cannot remove 'tester.o': No such file or directory
> rm: cannot remove '../src_3rd/genvector/vtp0.o': No such file or directory
> rm: cannot remove 'tester': No such file or directory
> make[3]: [Makefile:50: clean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libusteiner'
> 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 route-rnd using existing ./route-rnd_0.9.2.orig.tar.bz2
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to src/route-rnd/libroute-rnd.a: binary file contents changed
> dpkg-source: error: add src/route-rnd/libroute-rnd.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/route-rnd/main.o: binary file contents changed
> dpkg-source: error: add src/route-rnd/main.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> 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/route-rnd_0.9.2-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-electronics-devel mailing list