Source: gnucobol3
Version: 3.1.2-5
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 gnucobol3
> dpkg-buildpackage: info: source version 3.1.2-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Thorsten Alteholz 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
>       make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in .
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "pre-inst-env" || rm -f pre-inst-env
> 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
> test -z "" || rm -f 
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> Making distclean in lib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> rm -rf .libs _libs
> test -z "libsupport.la" || rm -f libsupport.la
> 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/dummymac.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in libcob
> make[2]: Entering directory '/<<PKGBUILDDIR>>/libcob'
> test -z "libcob.la" || rm -f libcob.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 
> test -z "" || rm -f 
> rm -f ./so_locations
> rm -f ./.deps/cJSON.Plo
> rm -f ./.deps/call.Plo
> rm -f ./.deps/cobgetopt.Plo
> rm -f ./.deps/common.Plo
> rm -f ./.deps/fileio.Plo
> rm -f ./.deps/intrinsic.Plo
> rm -f ./.deps/mlio.Plo
> rm -f ./.deps/move.Plo
> rm -f ./.deps/numeric.Plo
> rm -f ./.deps/reportio.Plo
> rm -f ./.deps/screenio.Plo
> rm -f ./.deps/strings.Plo
> rm -f ./.deps/termio.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/libcob'
> Making distclean in bin
> make[2]: Entering directory '/<<PKGBUILDDIR>>/bin'
> rm -rf .libs _libs
> rm -f *.o
>  rm -f cobcrun
> rm -f *.lo
> rm -f *.tab.c
> test -z "cob-config" || rm -f cob-config
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/cobcrun.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/bin'
> Making distclean in cobc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/cobc'
> test -z "parser.output ppparse.output" || rm -f parser.output ppparse.output
> rm -rf .libs _libs
> rm -f *.o
> rm -f *.lo
>  rm -f cobc
> 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/cobc.Po
> rm -f ./.deps/codegen.Po
> rm -f ./.deps/codeoptim.Po
> rm -f ./.deps/config.Po
> rm -f ./.deps/error.Po
> rm -f ./.deps/field.Po
> rm -f ./.deps/help.Po
> rm -f ./.deps/parser.Po
> rm -f ./.deps/pplex.Po
> rm -f ./.deps/ppparse.Po
> rm -f ./.deps/reserved.Po
> rm -f ./.deps/scanner.Po
> rm -f ./.deps/tree.Po
> rm -f ./.deps/typeck.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/cobc'
> 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 copy
> make[2]: Entering directory '/<<PKGBUILDDIR>>/copy'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/copy'
> Making distclean in po
> make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f *.insert-header
> rm -f remove-potcdate.sed
> rm -f stamp-poT
> rm -f core core.* gnucobol.po gnucobol.1po gnucobol.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> Making distclean in extras
> make[2]: Entering directory '/<<PKGBUILDDIR>>/extras'
> test -z "CBL_OC_DUMP.so" || rm -f CBL_OC_DUMP.so
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/extras'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> test -z "gnucobol.dvi gnucobol.pdf gnucobol.ps gnucobol.html" \
> || rm -rf gnucobol.dvi gnucobol.pdf gnucobol.ps gnucobol.html
> test -z "*.aux  *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.vrs" || rm -f 
> *.aux  *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr *.vrs
> rm -rf .libs _libs
> rm -rf gnucobol.t2d gnucobol.t2p
> rm -f *.lo
> rm -f vti.tmp* ./version.texi.tmp*
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in tests
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tests'
> Making distclean in cobol85
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests/cobol85'
> rm -rf .libs _libs
> rm -rf copy copyalt NC SM IC SQ RL ST SG OB IF RW DB IX DBNOIX CM EXEC85 
> summary.log EXEC85.cob
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/cobol85'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> rm -rf .libs _libs
> rm -rf *.dir *.log *.out valgrind
> rm -f *.lo
> test -z "atlocal run_prog_manual.sh" || rm -f atlocal run_prog_manual.sh
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "atconfig" || rm -f atconfig
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> #not needed anymore: rm -f doc/gnucobol.pdf bin/cobcrun.1 cobc/cobc.1 
> doc/gnucobol.info
> dh_clean
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./gnucobol3_3.1.2.orig.tar.xz.asc
> dpkg-source: info: building gnucobol3 using existing 
> ./gnucobol3_3.1.2.orig.tar.xz
> dpkg-source: info: building gnucobol3 using existing 
> ./gnucobol3_3.1.2.orig.tar.xz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file aminclude_static.am, 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 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 ABOUT-NLS, 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 extras/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/install-sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/mdate-sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/compile, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/ltmain.sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/mkinstalldirs, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/depcomp, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/ylwrap, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file build_aux/missing, 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 tests/cobol85/Makefile.in, 
> use --include-removal to override
> dpkg-source: warning: ignoring deletion of file bin/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/Makefile.in.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/insert-header.sin, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/Rules-quot, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/remove-potcdate.sin, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file cobc/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 doc/gnucobol.pdf, 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 copy/Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file libcob/Makefile.in, use 
> --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  gnucobol3-3.1.2/bin/cob-config.1
>  gnucobol3-3.1.2/bin/cobcrun.1
>  gnucobol3-3.1.2/cobc/cobc.1
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/gnucobol3_3.1.2-5.diff.WOJCLe
> 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/gnucobol3_3.1.2-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.

Reply via email to