Bug#1045359: liblrdf: Fails to build source after successful build
Source: liblrdf
Version: 0.6.1-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 liblrdf
> dpkg-buildpackage: info: source version 0.6.1-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Sebastian Ramacher <sramacher@debian.org>
> dpkg-source --before-build .
> fakeroot debian/rules clean
> test -x debian/rules
> rm -f debian/stamp-makefile-build debian/stamp-makefile-install
> /usr/bin/make -C . -k distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "liblrdf.la" || rm -f liblrdf.la
> rm -f ./so_locations
> rm -rf .libs _libs
> 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/lrdf.Plo
> rm -f ./.deps/lrdf_multi.Plo
> rm -f ./.deps/md5.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in examples
> make[2]: Entering directory '/<<PKGBUILDDIR>>/examples'
> rm -f showdefaults showtaxonomy dumpstatements export_test subclass_test add_test instances_test remove_test multi_test setting_test scale_test remove_test
> rm -rf .libs _libs
> rm -f *.o
> test -z "showtaxonomy.log dumpstatements.log export_test.log subclass_test.log add_test.log instances_test.log remove_test.log multi_test.log setting_test.log scale_test.log" || rm -f showtaxonomy.log dumpstatements.log export_test.log subclass_test.log add_test.log instances_test.log remove_test.log multi_test.log setting_test.log scale_test.log
> test -z "showtaxonomy.trs dumpstatements.trs export_test.trs subclass_test.trs add_test.trs instances_test.trs remove_test.trs multi_test.trs setting_test.trs scale_test.trs" || rm -f showtaxonomy.trs dumpstatements.trs export_test.trs subclass_test.trs add_test.trs instances_test.trs remove_test.trs multi_test.trs setting_test.trs scale_test.trs
> test -z "test-suite.log" || rm -f test-suite.log
> 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/add_test.Po
> rm -f ./.deps/dumpstatements.Po
> rm -f ./.deps/export_test.Po
> rm -f ./.deps/instances_test.Po
> rm -f ./.deps/multi_test.Po
> rm -f ./.deps/remove_test.Po
> rm -f ./.deps/scale_test.Po
> rm -f ./.deps/setting_test.Po
> rm -f ./.deps/showdefaults.Po
> rm -f ./.deps/showtaxonomy.Po
> rm -f ./.deps/subclass_test.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/examples'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "lrdf.pc" || rm -f lrdf.pc
> 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[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f debian/stamp-autotools
> rmdir --ignore-fail-on-non-empty .
> rmdir: failed to remove '.': Invalid argument
> make: [/usr/share/cdbs/1/class/autotools.mk:64: makefile-clean] Error 1 (ignored)
> set -e; mv ./config.guess.cdbs-orig ./config.guess; mv ./config.sub.cdbs-orig ./config.sub;
> rm -f debian/stamp-autotools-files
> dh_clean
> dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> rm -f debian/copyright_newhints
> rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check
> mv "debian/upstream-cruft/INSTALL" "INSTALL";
> rm -rf "debian/upstream-cruft"
> rm -f debian/stamp-upstream-cruft
> rm -f compile stamp-h
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building liblrdf using existing ./liblrdf_0.6.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of 'config.guess' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'config.sub' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'configure' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'depcomp' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'install-sh' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'ltmain.sh' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'missing' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'test-driver' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
> liblrdf-0.6.1/Makefile.in
> liblrdf-0.6.1/aclocal.m4
> liblrdf-0.6.1/config.guess
> liblrdf-0.6.1/config.h.in
> liblrdf-0.6.1/config.sub
> liblrdf-0.6.1/configure
> liblrdf-0.6.1/depcomp
> liblrdf-0.6.1/examples/Makefile.in
> liblrdf-0.6.1/install-sh
> liblrdf-0.6.1/ltmain.sh
> liblrdf-0.6.1/m4/libtool.m4
> liblrdf-0.6.1/m4/ltoptions.m4
> liblrdf-0.6.1/m4/ltsugar.m4
> liblrdf-0.6.1/m4/ltversion.m4
> liblrdf-0.6.1/m4/lt~obsolete.m4
> liblrdf-0.6.1/m4/pkg.m4
> liblrdf-0.6.1/missing
> liblrdf-0.6.1/src/Makefile.in
> liblrdf-0.6.1/test-driver
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/liblrdf_0.6.1-4.diff.KidXRZ
> 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/liblrdf_0.6.1-4_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 to: