Source: mdk
Version: 1.3.0+dfsg-3
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 mdk
> dpkg-buildpackage: info: source version 1.3.0+dfsg-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Peter Pentchev <[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 po
> make[2]: Entering directory '/<<PKGBUILDDIR>>/po'
> rm -f *.pox mdk.pot *.old.po cat-id-tbl.tmp
> rm -f .intltool-merge-cache
> rm -f Makefile Makefile.in POTFILES stamp-it
> rm -f *.mo *.msg *.cat *.cat.m *.gmo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> Making distclean in intl
> make[2]: Entering directory '/<<PKGBUILDDIR>>/intl'
> rm -f *.a *.la *.o *.obj *.lo core core.*
> rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed
> rm -f -r .libs _libs
> rm -f Makefile ID TAGS
> if test "mdk" = "gettext-runtime" || test "mdk" = "gettext-tools"; then \
>   rm -f ChangeLog.inst VERSION; \
> else \
>   : ; \
> fi
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/intl'
> Making distclean in lib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/lib'
> test -z "libreplace.a" || rm -f libreplace.a
> rm -f *.o
> 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/getopt_long.Po
> rm -f ./.deps/darwin.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
> Making distclean in mixlib
> make[2]: Entering directory '/<<PKGBUILDDIR>>/mixlib'
> Making distclean in testsuite
> make[3]: Entering directory '/<<PKGBUILDDIR>>/mixlib/testsuite'
> test -z "mixtypest mixinstest mixvminstest mixparsertest mixdevtest 
> mixevaltest" || rm -f mixtypest mixinstest mixvminstest mixparsertest 
> mixdevtest mixevaltest
> rm -f *.o
> test -z "mixtypest.log mixinstest.log mixvminstest.log mixparsertest.log 
> mixdevtest.log mixevaltest.log" || rm -f mixtypest.log mixinstest.log 
> mixvminstest.log mixparsertest.log mixdevtest.log mixevaltest.log
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f *.mix
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> test -z "mixtypest.trs mixinstest.trs mixvminstest.trs mixparsertest.trs 
> mixdevtest.trs mixevaltest.trs" || rm -f mixtypest.trs mixinstest.trs 
> mixvminstest.trs mixparsertest.trs mixdevtest.trs mixevaltest.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f ./.deps/mix_device_t.Po
> rm -f ./.deps/mix_eval_t.Po
> rm -f ./.deps/mix_ins_t.Po
> rm -f ./.deps/mix_parser_t.Po
> rm -f ./.deps/mix_types_t.Po
> rm -f ./.deps/mix_vm_ins_t.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/mixlib/testsuite'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/mixlib'
> test -z "mix_scanner.c mix_eval_scanner.c" || rm -f mix_scanner.c 
> mix_eval_scanner.c
> test -z "libmix.a" || rm -f libmix.a
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/mixlib'
> rm -f ./.deps/completion.Po
> rm -f ./.deps/mix.Po
> rm -f ./.deps/mix_code_file.Po
> rm -f ./.deps/mix_config.Po
> rm -f ./.deps/mix_device.Po
> rm -f ./.deps/mix_eval.Po
> rm -f ./.deps/mix_eval_scanner.Po
> rm -f ./.deps/mix_file.Po
> rm -f ./.deps/mix_ins.Po
> rm -f ./.deps/mix_io.Po
> rm -f ./.deps/mix_parser.Po
> rm -f ./.deps/mix_predicate.Po
> rm -f ./.deps/mix_predicate_list.Po
> rm -f ./.deps/mix_scanner.Po
> rm -f ./.deps/mix_src_file.Po
> rm -f ./.deps/mix_symbol_table.Po
> rm -f ./.deps/mix_types.Po
> rm -f ./.deps/mix_vm.Po
> rm -f ./.deps/mix_vm_clock.Po
> rm -f ./.deps/mix_vm_command.Po
> rm -f ./.deps/mix_vm_dump.Po
> rm -f ./.deps/xmix_device.Po
> rm -f ./.deps/xmix_io.Po
> rm -f ./.deps/xmix_vm.Po
> rm -f ./.deps/xmix_vm_command.Po
> rm -f ./.deps/xmix_vm_handlers.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/mixlib'
> Making distclean in mixguile
> make[2]: Entering directory '/<<PKGBUILDDIR>>/mixguile'
> test -z "mixguile" || rm -f mixguile
> test -z "libmixguile.a" || rm -f libmixguile.a
> rm -f *.o
> 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/mixguile.Po
> rm -f ./.deps/mixguile_cmd_dispatcher.Po
> rm -f ./.deps/mixguile_main.Po
> rm -f ./.deps/xmixguile_cmd_dispatcher.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/mixguile'
> Making distclean in mixutils
> make[2]: Entering directory '/<<PKGBUILDDIR>>/mixutils'
> test -z "mixasm mixvm" || rm -f mixasm mixvm
> rm -f *.o
> 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/mixasm.Po
> rm -f ./.deps/mixasm_comp.Po
> rm -f ./.deps/mixvm.Po
> rm -f ./.deps/mixvm_command.Po
> rm -f ./.deps/mixvm_loop.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/mixutils'
> Making distclean in mixgtk
> make[2]: Entering directory '/<<PKGBUILDDIR>>/mixgtk'
> test -z "gmixvm" || rm -f gmixvm
> rm -f *.o
> 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/gmixvm.Po
> rm -f ./.deps/mixgtk.Po
> rm -f ./.deps/mixgtk_cmd_dispatcher.Po
> rm -f ./.deps/mixgtk_config.Po
> rm -f ./.deps/mixgtk_device.Po
> rm -f ./.deps/mixgtk_external.Po
> rm -f ./.deps/mixgtk_fontsel.Po
> rm -f ./.deps/mixgtk_gen_handlers.Po
> rm -f ./.deps/mixgtk_input.Po
> rm -f ./.deps/mixgtk_mixal.Po
> rm -f ./.deps/mixgtk_mixvm.Po
> rm -f ./.deps/mixgtk_widgets.Po
> rm -f ./.deps/mixgtk_wm.Po
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/mixgtk'
> Making distclean in misc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/misc'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/misc'
> Making distclean in samples
> make[2]: Entering directory '/<<PKGBUILDDIR>>/samples'
> Making distclean in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/samples/tests'
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/samples/tests'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/samples'
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/samples'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/samples'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "intl/Makefile" || rm -f intl/Makefile
> rm -f config.h stamp-h1
> rm -f intltool-extract
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f intltool-merge
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f intltool-update
> 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: error: unwanted binary file: 
> debian/tests/python/__pycache__/test_primes.cpython-311-pytest-7.4.0.pyc
> dpkg-source: error: unwanted binary file: 
> debian/tests/python/__pycache__/__init__.cpython-311.pyc
> dpkg-source: error: detected 2 unwanted binary files (add them in 
> debian/source/include-binaries to allow their inclusion).
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 255
> 
> 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/mdk_1.3.0+dfsg-3_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