Bug#1045422: mona: Fails to build source after successful build

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


Source: mona
Version: 1.4-18-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 mona
> dpkg-buildpackage: info: source version 1.4-18-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ralf Treinen <treinen 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 config
> make[2]: Entering directory '/<<PKGBUILDDIR>>/config'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/config'
> Making distclean in Mem
> make[2]: Entering directory '/<<PKGBUILDDIR>>/Mem'
> test -z "libmonamem.la" || rm -f libmonamem.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f ./so_locations
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/dlmalloc.Plo
> rm -f ./.deps/mem.Plo
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/Mem'
> Making distclean in BDD
> make[2]: Entering directory '/<<PKGBUILDDIR>>/BDD'
> test -z "libmonabdd.la" || rm -f libmonabdd.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f ./so_locations
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/bdd.Plo
> rm -f ./.deps/bdd_cache.Plo
> rm -f ./.deps/bdd_double.Plo
> rm -f ./.deps/bdd_dump.Plo
> rm -f ./.deps/bdd_external.Plo
> rm -f ./.deps/bdd_manager.Plo
> rm -f ./.deps/bdd_trace.Plo
> rm -f ./.deps/hash.Plo
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/BDD'
> Making distclean in DFA
> make[2]: Entering directory '/<<PKGBUILDDIR>>/DFA'
> test -z "libmonadfa.la" || rm -f libmonadfa.la
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
> rm -f ./so_locations
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/libmonadfa_la-analyze.Plo
> rm -f ./.deps/libmonadfa_la-basic.Plo
> rm -f ./.deps/libmonadfa_la-dfa.Plo
> rm -f ./.deps/libmonadfa_la-external.Plo
> rm -f ./.deps/libmonadfa_la-makebasic.Plo
> rm -f ./.deps/libmonadfa_la-minimize.Plo
> rm -f ./.deps/libmonadfa_la-prefix.Plo
> rm -f ./.deps/libmonadfa_la-printdfa.Plo
> rm -f ./.deps/libmonadfa_la-product.Plo
> rm -f ./.deps/libmonadfa_la-project.Plo
> rm -f ./.deps/libmonadfa_la-quotient.Plo
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/DFA'
> Making distclean in GTA
> make[2]: Entering directory '/<<PKGBUILDDIR>>/GTA'
> test -z "libmonagta.la" || rm -f libmonagta.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
> rm -f ./so_locations
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/libmonagta_la-analyze.Plo
> rm -f ./.deps/libmonagta_la-analyze_acceptance.Plo
> rm -f ./.deps/libmonagta_la-basic.Plo
> rm -f ./.deps/libmonagta_la-copy.Plo
> rm -f ./.deps/libmonagta_la-dyn.Plo
> rm -f ./.deps/libmonagta_la-external.Plo
> rm -f ./.deps/libmonagta_la-gta.Plo
> rm -f ./.deps/libmonagta_la-makebasic.Plo
> rm -f ./.deps/libmonagta_la-minimize.Plo
> rm -f ./.deps/libmonagta_la-negation.Plo
> rm -f ./.deps/libmonagta_la-pairhash.Plo
> rm -f ./.deps/libmonagta_la-printgta.Plo
> rm -f ./.deps/libmonagta_la-product.Plo
> rm -f ./.deps/libmonagta_la-project.Plo
> rm -f ./.deps/libmonagta_la-projset.Plo
> rm -f ./.deps/libmonagta_la-reachable.Plo
> rm -f ./.deps/libmonagta_la-replace_indices.Plo
> rm -f ./.deps/libmonagta_la-restrict.Plo
> rm -f ./.deps/libmonagta_la-subsets.Plo
> rm -f ./.deps/libmonagta_la-types.Plo
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/GTA'
> Making distclean in Front
> make[2]: Entering directory '/<<PKGBUILDDIR>>/Front'
> rm -rf .libs _libs
> rm -f *.o
>  rm -f mona
> 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 ./.deps/mona-ast.Po
> rm -f ./.deps/mona-astdump.Po
> rm -f ./.deps/mona-code.Po
> rm -f ./.deps/mona-codedump.Po
> rm -f ./.deps/mona-codesubst.Po
> rm -f ./.deps/mona-codetable.Po
> rm -f ./.deps/mona-freevars.Po
> rm -f ./.deps/mona-ident.Po
> rm -f ./.deps/mona-lib.Po
> rm -f ./.deps/mona-makeguide.Po
> rm -f ./.deps/mona-mona.Po
> rm -f ./.deps/mona-offsets.Po
> rm -f ./.deps/mona-parser.Po
> rm -f ./.deps/mona-predlib.Po
> rm -f ./.deps/mona-printline.Po
> rm -f ./.deps/mona-reduce.Po
> rm -f ./.deps/mona-scanner.Po
> rm -f ./.deps/mona-signature.Po
> rm -f ./.deps/mona-st_dfa.Po
> rm -f ./.deps/mona-st_gta.Po
> rm -f ./.deps/mona-symboltable.Po
> rm -f ./.deps/mona-timer.Po
> rm -f ./.deps/mona-untyped.Po
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/Front'
> Making distclean in Lib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/Lib'
> rm -rf .libs _libs
> rm -f *.o
>  rm -f dfa2dot gta2dot
> 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 ./.deps/dfa2dot.Po
> rm -f ./.deps/dfalib.Po
> rm -f ./.deps/gta2dot.Po
> rm -f ./.deps/gtalib.Po
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/Lib'
> Making distclean in Examples
> make[2]: Entering directory '/<<PKGBUILDDIR>>/Examples'
> rm -rf .libs _libs
> rm -f *.o
>  rm -f bdd_example gta_example presburger_transduction presburger_analysis
> 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 ./.deps/bdd_example.Po
> rm -f ./.deps/gta_example.Po
> rm -f ./.deps/presburger_analysis.Po
> rm -f ./.deps/presburger_transduction.Po
> rm -f makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/Examples'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "mona.spec" || rm -f mona.spec
> rm -f config.h stamp-h1
> rm -f libtool config.lt
> test . = "." || test -z "" || rm -f 
> 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>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building mona using existing ./mona_1.4-18.orig.tar.gz
> 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 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 makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Front/makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file DFA/makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Examples/makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file GTA/makefile.in, 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 BDD/makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Mem/makefile.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 config/ar-lib, 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/makefile.in, 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: info: local changes detected, the modified files are:
>  mona-1.4-18/Front/parser.cpp
>  mona-1.4-18/Front/parser.hpp
>  mona-1.4-18/Front/scanner.cpp
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/mona_1.4-18-1.diff.mYLhXE
> 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/mona_1.4-18-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 debian-science-maintainers mailing list