Bug#1047004: libmarpa-r2-perl: Fails to build source after successful build

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


Source: libmarpa-r2-perl
Version: 2.086000~dfsg-8
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 libmarpa-r2-perl
> dpkg-buildpackage: info: source version 2.086000~dfsg-8
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by gregor herrmann <gregoa at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> CDBS WARNING:  copyright-check disabled - licensecheck is missing.
> test -x debian/rules
> rmdir .
> rmdir: failed to remove '.': Invalid argument
> make: [/usr/share/cdbs/1/rules/buildcore.mk:49: cleanbuilddir] Error 1 (ignored)
> rm -f debian/stamp-makefile-build debian/stamp-makefile-install
> /usr/bin/make -C . -k distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libmarpa.la" || rm -f libmarpa.la
> rm -f ./so_locations
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "LIB_VERSION" || rm -f LIB_VERSION
> test . = "/<<PKGBUILDDIR>>/libmarpa_dist" || 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
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f ./.deps/marpa.Plo
> rm -f ./.deps/marpa_ami.Plo
> rm -f ./.deps/marpa_avl.Plo
> rm -f ./.deps/marpa_codes.Plo
> rm -f ./.deps/marpa_obs.Plo
> rm -f ./.deps/marpa_slif.Plo
> rm -f ./.deps/marpa_tavl.Plo
> 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)
> rm -f libmarpa_dist/compile
> rm -rf 
> rm -f libmarpa_dist/compile ./config.log ././Makefile
> set -e;   mv ./libmarpa_dist/config.guess.cdbs-orig ./libmarpa_dist/config.guess;   mv ./debian/upstream-cruft/libmarpa_dist/config.guess.cdbs-orig ./debian/upstream-cruft/libmarpa_dist/config.guess;   mv ./libmarpa_dist/config.sub.cdbs-orig ./libmarpa_dist/config.sub;   mv ./debian/upstream-cruft/libmarpa_dist/config.sub.cdbs-orig ./debian/upstream-cruft/libmarpa_dist/config.sub;
> rm -f debian/copyright_newhints
> rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check
> rm -rf "libmarpa_dist/config.guess"; mv "debian/upstream-cruft/libmarpa_dist/config.guess" "libmarpa_dist/config.guess";     rm -rf "libmarpa_dist/config.sub"; mv "debian/upstream-cruft/libmarpa_dist/config.sub" "libmarpa_dist/config.sub";     rm -rf "libmarpa_dist/ltmain.sh"; mv "debian/upstream-cruft/libmarpa_dist/ltmain.sh" "libmarpa_dist/ltmain.sh";     rm -rf "libmarpa_dist/m4/libtool.m4"; mv "debian/upstream-cruft/libmarpa_dist/m4/libtool.m4" "libmarpa_dist/m4/libtool.m4";     rm -rf "libmarpa_dist/m4/ltoptions.m4"; mv "debian/upstream-cruft/libmarpa_dist/m4/ltoptions.m4" "libmarpa_dist/m4/ltoptions.m4";     rm -rf "libmarpa_dist/m4/ltsugar.m4"; mv "debian/upstream-cruft/libmarpa_dist/m4/ltsugar.m4" "libmarpa_dist/m4/ltsugar.m4";     rm -rf "libmarpa_dist/m4/ltversion.m4"; mv "debian/upstream-cruft/libmarpa_dist/m4/ltversion.m4" 
> "libmarpa_dist/m4/ltversion.m4";     rm -rf "libmarpa_dist/m4/lt~obsolete.m4"; mv "debian/upstream-cruft/libmarpa_dist/m4/lt~obsolete.m4" "libmarpa_dist/m4/lt~obsolete.m4";     rm -rf "libmarpa_dist/aclocal.m4"; mv "debian/upstream-cruft/libmarpa_dist/aclocal.m4" "libmarpa_dist/aclocal.m4";     rm -rf "libmarpa_dist/configure"; mv "debian/upstream-cruft/libmarpa_dist/configure" "libmarpa_dist/configure";        rm -rf "libmarpa_dist/install-sh"; mv "debian/upstream-cruft/libmarpa_dist/install-sh" "libmarpa_dist/install-sh";     rm -rf "libmarpa_dist/missing"; mv "debian/upstream-cruft/libmarpa_dist/missing" "libmarpa_dist/missing";     rm -rf "libmarpa_dist/depcomp"; mv "debian/upstream-cruft/libmarpa_dist/depcomp" "libmarpa_dist/depcomp";     rm -rf "libmarpa_dist/./Makefile.in"; mv "debian/upstream-cruft/libmarpa_dist/./Makefile.in" 
> "libmarpa_dist/./Makefile.in";     rm -rf "libmarpa_dist/LIB_VERSION"; mv "debian/upstream-cruft/libmarpa_dist/LIB_VERSION" "libmarpa_dist/LIB_VERSION";
> rm -rf "debian/upstream-cruft"
> rm -f debian/stamp-upstream-cruft
> rm -f debian/stamp-autotools-files
> cd . && ./Build realclean
> Cleaning up build files
> Cleaning up configuration files
> rm -f debian/stamp-perl-build debian/stamp-perl-check
> dh_clean 
> rm -f 
> test ! -d libmarpa_dist || rmdir --ignore-fail-on-non-empty libmarpa_dist
> rm -f lib/Marpa/general_pattern.xsh
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libmarpa-r2-perl using existing ./libmarpa-r2-perl_2.086000~dfsg.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  libmarpa-r2-perl-2.086000~dfsg/libmarpa_dist/config.h.in
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libmarpa-r2-perl_2.086000~dfsg-8.diff.1137Zh
> 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/libmarpa-r2-perl_2.086000~dfsg-8_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-perl-maintainers mailing list