Bug#1047900: shapelib: Fails to build source after successful build

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


Source: shapelib
Version: 1.5.0-3
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 shapelib
> dpkg-buildpackage: info: source version 1.5.0-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bas Couwenberg <sebastic at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libshp.la" || rm -f libshp.la
> rm -rf .libs _libs
> rm -f *.o
> test -z "tests/test2.sh.log tests/test3.sh.log" || rm -f tests/test2.sh.log tests/test3.sh.log
> rm -f *.lo
>  rm -f dbfadd dbfcreate dbfdump shpadd shpcreate shpdump shprewind shptreedump shputils
> rm -f *.tab.c
>  rm -f shptest
> test -z "shapelib.pc" || rm -f shapelib.pc
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "tests/test2.sh.trs tests/test3.sh.trs" || rm -f tests/test2.sh.trs tests/test3.sh.trs
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> test -z "test-suite.log" || rm -f test-suite.log
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> Making distclean in contrib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/contrib'
> rm -rf .libs _libs
> rm -f *.o
> test -z "tests/shpproj.sh.log" || rm -f tests/shpproj.sh.log
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
>  rm -f dbfcat dbfinfo shpcat shpdxf shpfix shpsort Shape_PointInPoly shpcentrd shpdata shpinfo shpwkb
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "tests/shpproj.sh.trs" || rm -f tests/shpproj.sh.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/Shape_PointInPoly-Shape_PointInPoly.Po
> rm -f ./.deps/dbfcat-dbfcat.Po
> rm -f ./.deps/dbfinfo-dbfinfo.Po
> rm -f ./.deps/shpcat-shpcat.Po
> rm -f ./.deps/shpcentrd-shpcentrd.Po
> rm -f ./.deps/shpcentrd-shpgeo.Po
> rm -f ./.deps/shpdata-shpdata.Po
> rm -f ./.deps/shpdata-shpgeo.Po
> rm -f ./.deps/shpdxf-shpdxf.Po
> rm -f ./.deps/shpfix-shpfix.Po
> rm -f ./.deps/shpinfo-shpgeo.Po
> rm -f ./.deps/shpinfo-shpinfo.Po
> rm -f ./.deps/shpsort-shpsort.Po
> rm -f ./.deps/shpwkb-shpgeo.Po
> rm -f ./.deps/shpwkb-shpwkb.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/contrib'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f ./.deps/dbfadd.Po
> rm -f ./.deps/dbfcreate.Po
> rm -f ./.deps/dbfdump.Po
> rm -f ./.deps/dbfopen.Plo
> rm -f ./.deps/safileio.Plo
> rm -f ./.deps/sbnsearch.Plo
> rm -f ./.deps/shpadd.Po
> rm -f ./.deps/shpcreate.Po
> rm -f ./.deps/shpdump.Po
> rm -f ./.deps/shpopen.Plo
> rm -f ./.deps/shprewind.Po
> rm -f ./.deps/shptest.Po
> rm -f ./.deps/shptree.Plo
> rm -f ./.deps/shptreedump.Po
> rm -f ./.deps/shputils.Po
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean debian/man/*.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building shapelib using existing ./shapelib_1.5.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file ar-lib, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file aclocal.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file INSTALL, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file ltmain.sh, 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 depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-driver, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file contrib/Makefile.in, use --include-removal to override
> dpkg-source: error: cannot represent change to contrib/tests/test.dbf: binary file contents changed
> dpkg-source: error: add contrib/tests/test.dbf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to contrib/tests/test.shp: binary file contents changed
> dpkg-source: error: add contrib/tests/test.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to contrib/tests/test.shx: binary file contents changed
> dpkg-source: error: add contrib/tests/test.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test.dbf: binary file contents changed
> dpkg-source: error: add test.dbf in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test.shp: binary file contents changed
> dpkg-source: error: add test.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test.shx: binary file contents changed
> dpkg-source: error: add test.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test0.shp: binary file contents changed
> dpkg-source: error: add test0.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test0.shx: binary file contents changed
> dpkg-source: error: add test0.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test1.shp: binary file contents changed
> dpkg-source: error: add test1.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test1.shx: binary file contents changed
> dpkg-source: error: add test1.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test10.shp: binary file contents changed
> dpkg-source: error: add test10.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test10.shx: binary file contents changed
> dpkg-source: error: add test10.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test11.shp: binary file contents changed
> dpkg-source: error: add test11.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test11.shx: binary file contents changed
> dpkg-source: error: add test11.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test12.shp: binary file contents changed
> dpkg-source: error: add test12.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test12.shx: binary file contents changed
> dpkg-source: error: add test12.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test13.shp: binary file contents changed
> dpkg-source: error: add test13.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test13.shx: binary file contents changed
> dpkg-source: error: add test13.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test2.shp: binary file contents changed
> dpkg-source: error: add test2.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test2.shx: binary file contents changed
> dpkg-source: error: add test2.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test3.shp: binary file contents changed
> dpkg-source: error: add test3.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test3.shx: binary file contents changed
> dpkg-source: error: add test3.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test4.shp: binary file contents changed
> dpkg-source: error: add test4.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test4.shx: binary file contents changed
> dpkg-source: error: add test4.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test5.shp: binary file contents changed
> dpkg-source: error: add test5.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test5.shx: binary file contents changed
> dpkg-source: error: add test5.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test6.shp: binary file contents changed
> dpkg-source: error: add test6.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test6.shx: binary file contents changed
> dpkg-source: error: add test6.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test7.shp: binary file contents changed
> dpkg-source: error: add test7.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test7.shx: binary file contents changed
> dpkg-source: error: add test7.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test8.shp: binary file contents changed
> dpkg-source: error: add test8.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test8.shx: binary file contents changed
> dpkg-source: error: add test8.shx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test9.shp: binary file contents changed
> dpkg-source: error: add test9.shp in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to test9.shx: binary file contents changed
> dpkg-source: error: add test9.shx 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/shapelib_1.5.0-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.



More information about the Pkg-grass-devel mailing list