Bug#1049131: libmatheval: Fails to build source after successful build

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


Source: libmatheval
Version: 1.1.11+dfsg-5
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 libmatheval
> dpkg-buildpackage: info: source version 1.1.11+dfsg-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Boyuan Yang <byang at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in lib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> test -z "libmatheval.la" || rm -f libmatheval.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> rm -f ./.deps/error.Plo
> rm -f ./.deps/g77_interface.Plo
> rm -f ./.deps/matheval.Plo
> rm -f ./.deps/node.Plo
> rm -f ./.deps/parser.Plo
> rm -f ./.deps/scanner.Plo
> rm -f ./.deps/symbol_table.Plo
> rm -f ./.deps/xmalloc.Plo
> rm -f ./.deps/xmath.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> if test -f ./testsuite; then \
> 	/bin/bash ./testsuite --clean; \
> fi
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "matheval.sh" || rm -f matheval.sh
>  rm -f matheval
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "atconfig matheval.sh" || rm -f atconfig matheval.sh
> rm -f ./.deps/matheval-matheval.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "libmatheval.pc" || rm -f libmatheval.pc
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> 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>>'
>    dh_autoreconf_clean
> 	rm -f -- ./m4/ltsugar.m4 ./m4/lt\~obsolete.m4 ./m4/ltversion.m4 ./m4/libtool.m4 ./m4/ltoptions.m4 ./aclocal.m4 ./INSTALL ./autom4te.cache/requests ./autom4te.cache/traces.2 ./autom4te.cache/output.2 ./autom4te.cache/output.1 ./autom4te.cache/traces.1 ./autom4te.cache/output.0 ./autom4te.cache/traces.0 ./lib/Makefile.in ./tests/Makefile.in ./Makefile.in ./configure ./config.h.in ./configure\~ ./config.h.in\~ ./doc/Makefile.in ./config/install-sh ./config/compile ./config/ltmain.sh ./config/depcomp ./config/ylwrap ./config/missing
> 	rm -f debian/autoreconf.before debian/autoreconf.after
>    dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp
> 	mv debian/.debhelper/bucket/files/9be3de218833c076786b919dc34aab691611f4cd73316e7705f2673e2c41921b.tmp config/config.guess
> 	cp -an --reflink=auto debian/.debhelper/bucket/files/e308ae7f7f524bd790f8d4457c7c0a30f8403ffff4dd0b7d4388daca24275db4 debian/.debhelper/bucket/files/e308ae7f7f524bd790f8d4457c7c0a30f8403ffff4dd0b7d4388daca24275db4.tmp
> 	mv debian/.debhelper/bucket/files/e308ae7f7f524bd790f8d4457c7c0a30f8403ffff4dd0b7d4388daca24275db4.tmp config/config.sub
> 	rm -f debian/.debhelper/bucket/index
> 	rm -rf debian/.debhelper/
> 	rm -f debian/libmatheval-dev.debhelper.log debian/libmatheval1.debhelper.log
> 	rm -f -- debian/libmatheval-dev.substvars debian/libmatheval1.substvars debian/files
> 	rm -fr -- debian/libmatheval-dev/ debian/tmp/ debian/libmatheval1/
> 	find .  \( \( \
> 		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> 	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> 		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> 		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> 		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> 		\) -exec rm -f {} + \) -o \
> 		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libmatheval using existing ./libmatheval_1.1.11+dfsg.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> 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 configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.h.in, 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 lib/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/ylwrap, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config/missing, use --include-removal to override
> dpkg-source: warning: newly created empty file 'config/config.rpath' will not be represented in diff
> dpkg-source: info: local changes detected, the modified files are:
>  libmatheval-1.1.11+dfsg/doc/Makefile
>  libmatheval-1.1.11+dfsg/tests/testsuite
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/libmatheval_1.1.11+dfsg-5.diff.DtqM21
> 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/libmatheval_1.1.11+dfsg-5_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 debian-science-maintainers mailing list