[Pkg-electronics-devel] Bug#1044386: fungw: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 17:56:56 BST 2023


Source: fungw
Version: 1.2.1-3
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 fungw
> dpkg-buildpackage: info: source version 1.2.1-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bdale Garbee <bdale at gag.com>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # only try to run dh_auto_clean if configure has been run
> test -f libfungw/Makefile && dh_auto_clean || true
> 	make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cd regression && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/regression'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm test test_c test_custom test_script  multicall \
>     hello.o fgw_string.o test.o test_custom.o test_c.o test_script.o \
>     multicall.o
> rm static_lang.c Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/regression'
> cd libfungw && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungw'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungw'
> cd libfungwbind && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> cd c && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/c'
> ../..//scconfig/sccbox rm -f fungw_c.a fungw_c.so fungw_c.o 
> rm  Makefile fungw_c.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/c'
> cd fawk && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/fawk'
> ../..//scconfig/sccbox rm -f fungw_fawk.a fungw_fawk.so fungw_fawk.o 
> rm  Makefile fungw_fawk.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/fawk'
> cd lua && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/lua'
> ../..//scconfig/sccbox rm -f fungw_lua.a fungw_lua.so fungw_lua.o 
> rm  Makefile fungw_lua.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/lua'
> cd mawk && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/mawk'
> ../..//scconfig/sccbox rm -f fungw_mawk.a fungw_mawk.so fungw_mawk.o 
> rm  Makefile fungw_mawk.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/mawk'
> cd tcl && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/tcl'
> ../..//scconfig/sccbox rm -f fungw_tcl.a fungw_tcl.so fungw_tcl.o 
> rm  Makefile fungw_tcl.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/tcl'
> cd picol && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/picol'
> rm Makefile fungw_picol.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/picol'
> cd python && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/python'
> rm Makefile fungw_python.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/python'
> cd python3 && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/python3'
> ../..//scconfig/sccbox rm -f fungw_python3.a fungw_python3.so fungw_python3.o 
> rm  Makefile fungw_python3.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/python3'
> cd mruby && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/mruby'
> rm Makefile fungw_mruby.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/mruby'
> cd perl && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/perl'
> ../..//scconfig/sccbox rm -f fungw_perl.a fungw_perl.so fungw_perl.o 
> rm  Makefile fungw_perl.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/perl'
> cd duktape && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/duktape'
> ../..//scconfig/sccbox rm -f fungw_duktape.a fungw_duktape.so fungw_duktape.o 
> rm  Makefile fungw_duktape.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/duktape'
> cd mujs && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/mujs'
> rm Makefile fungw_mujs.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/mujs'
> cd estutter && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/estutter'
> rm Makefile fungw_estutter.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/estutter'
> cd funlisp && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/funlisp'
> rm Makefile fungw_funlisp.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/funlisp'
> cd cli && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/libfungwbind/cli'
> ../..//scconfig/sccbox rm -f fungw_cli.a fungw_cli.so fungw_cli.o 
> rm os_dep.h Makefile fungw_cli.mak
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind/cli'
> rm libfungwbind.mak Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/libfungwbind'
> cd doc && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm example/Makefile.conf Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> cd scconfig && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scconfig'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm  hooks.o src//default/find_cc.o src//default/lib_compile.o src//default/lib_uniqinc.o src//default/lib_file.o src//default/lib_try.o src//default/str.o src//default/ht.o src//default/log.o src//default/arg.o src//default/db.o src//default/dep.o src//default/deps_default.o src//default/find_libs.o src//default/find_fscalls.o src//default/find_printf.o src//default/find_proc.o src//default/find_fstools.o src//default/find_uname.o src//default/find_target.o src//default/find_thread.o src//default/find_io.o src//default/find_time.o src//default/find_types.o src//default/find_signal.o src//default/find_environ.o src//default/regex.o src//default/lib_filelist.o src//default/lib_srctree.o src//default/lib_pkg_config.o src//default/find_str.o src//default/find_sys.o src//scripts/scripts.o src//scripts/find_gpmi.o 
> src//scripts/find_tcl.o src//scripts/find_ruby.o src//scripts/find_mruby.o src//scripts/find_python.o src//scripts/find_perl.o src//scripts/find_mawk.o src//scripts/find_lua.o src//scripts/find_guile.o src//scripts/find_stutter.o src//scripts/find_funlisp.o src//scripts/find_duktape.o src//scripts/find_mujs.o src//scripts/find_fungw.o src//scripts/find_m4.o src//scripts/find_welltype.o src//scripts/find_picol.o   src//tmpasm/tmpasm.o src//tmpasm/tmpasm_scconfig.o src//tmpasm/openfiles.o        src//default/main.o src//default/main_custom_args.o src//default/main_lib.o configure sccbox cquote
> rm config.cache config.log
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scconfig'
> cd src_3rd/genht && make clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/genht'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm mainsi htss.o htsp.o htsi.o htip.o htpp.o htpi.o hash.o siphash24.o libgenht.a libgenht.so.1.1.2 genht_std.so genht_std.a version.h ver_edit
> rm: cannot remove 'mainsi': No such file or directory
> rm: cannot remove 'libgenht.so.1.1.2': No such file or directory
> rm: cannot remove 'genht_std.so': No such file or directory
> rm: cannot remove 'version.h': No such file or directory
> rm: cannot remove 'ver_edit': No such file or directory
> make[3]: [Makefile:25: clean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/genht'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building fungw using existing ./fungw_1.2.1.orig.tar.bz2
> dpkg-source: error: cannot represent change to libfungw/libfungw.so.1.2:
> dpkg-source: error:   new version is symlink to libfungw.so.1.2.1
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to libfungw/libfungw.so.1:
> dpkg-source: error:   new version is symlink to libfungw.so.1.2.1
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to libfungw/libfungw.so:
> dpkg-source: error:   new version is symlink to libfungw.so.1.2.1
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to libfungw/fungw.o: binary file contents changed
> dpkg-source: error: add libfungw/fungw.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/fungw_call.o: binary file contents changed
> dpkg-source: error: add libfungw/fungw_call.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/fungw_conv.o: binary file contents changed
> dpkg-source: error: add libfungw/fungw_conv.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/fungw_debug.o: binary file contents changed
> dpkg-source: error: add libfungw/fungw_debug.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/fungw_ptr.o: binary file contents changed
> dpkg-source: error: add libfungw/fungw_ptr.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/libfungw.a: binary file contents changed
> dpkg-source: error: add libfungw/libfungw.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to libfungw/libfungw.so.1.2.1: binary file contents changed
> dpkg-source: error: add libfungw/libfungw.so.1.2.1 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'libfungw/libfungw.so.1.2.1' will not be represented in diff
> dpkg-source: error: cannot represent change to scconfig/src/util/cquote.o: binary file contents changed
> dpkg-source: error: add scconfig/src/util/cquote.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to scconfig/src/util/sccbox.o: binary file contents changed
> dpkg-source: error: add scconfig/src/util/sccbox.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> 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/fungw_1.2.1-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.



More information about the Pkg-electronics-devel mailing list