Bug#1045635: tkgate: Fails to build source after successful build

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


Source: tkgate
Version: 2.1+repack-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 tkgate
> dpkg-buildpackage: info: source version 2.1+repack-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Georges Khaznadar <georgesk at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> Making distclean in common
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/common'
> rm -rf .libs _libs
> test -z "libcommon.a" || rm -f libcommon.a
> 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 ./.deps/hash.Po
> rm -f ./.deps/list.Po
> rm -f ./.deps/misc.Po
> rm -f ./.deps/ycmalloc.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/common'
> Making distclean in tkgate
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tkgate'
> 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 tkgate
> test . = "." || test -z "" || rm -f 
> test -z "vgrammar.h vgrammar.c luthor.c" || rm -f vgrammar.h vgrammar.c luthor.c
> rm -f ./.deps/adder.Po
> rm -f ./.deps/and.Po
> rm -f ./.deps/arshift.Po
> rm -f ./.deps/ascii.Po
> rm -f ./.deps/block.Po
> rm -f ./.deps/breakpoint.Po
> rm -f ./.deps/buffer.Po
> rm -f ./.deps/circuit.Po
> rm -f ./.deps/clock.Po
> rm -f ./.deps/comment.Po
> rm -f ./.deps/concat.Po
> rm -f ./.deps/cpath.Po
> rm -f ./.deps/cursors.Po
> rm -f ./.deps/decoder.Po
> rm -f ./.deps/delay.Po
> rm -f ./.deps/demux.Po
> rm -f ./.deps/dip.Po
> rm -f ./.deps/divide.Po
> rm -f ./.deps/edit.Po
> rm -f ./.deps/editstate.Po
> rm -f ./.deps/error.Po
> rm -f ./.deps/expr.Po
> rm -f ./.deps/flipflop.Po
> rm -f ./.deps/fonts.Po
> rm -f ./.deps/frame.Po
> rm -f ./.deps/functions.Po
> rm -f ./.deps/gate_painter.Po
> rm -f ./.deps/gates.Po
> rm -f ./.deps/generic.Po
> rm -f ./.deps/ground.Po
> rm -f ./.deps/hdl.Po
> rm -f ./.deps/html.Po
> rm -f ./.deps/hyperlink.Po
> rm -f ./.deps/icon.Po
> rm -f ./.deps/igenerate.Po
> rm -f ./.deps/in.Po
> rm -f ./.deps/jkff.Po
> rm -f ./.deps/join.Po
> rm -f ./.deps/joint.Po
> rm -f ./.deps/led.Po
> rm -f ./.deps/locale.Po
> rm -f ./.deps/lshift.Po
> rm -f ./.deps/luthor.Po
> rm -f ./.deps/main.Po
> rm -f ./.deps/metrics.Po
> rm -f ./.deps/modint.Po
> rm -f ./.deps/modsym.Po
> rm -f ./.deps/module.Po
> rm -f ./.deps/mult.Po
> rm -f ./.deps/mux.Po
> rm -f ./.deps/net.Po
> rm -f ./.deps/nmos.Po
> rm -f ./.deps/object.Po
> rm -f ./.deps/or.Po
> rm -f ./.deps/out.Po
> rm -f ./.deps/paux.Po
> rm -f ./.deps/pmos.Po
> rm -f ./.deps/primitives.Po
> rm -f ./.deps/print.Po
> rm -f ./.deps/pulldown.Po
> rm -f ./.deps/pullup.Po
> rm -f ./.deps/ram.Po
> rm -f ./.deps/register.Po
> rm -f ./.deps/release.Po
> rm -f ./.deps/roll.Po
> rm -f ./.deps/rom.Po
> rm -f ./.deps/rshift.Po
> rm -f ./.deps/scope.Po
> rm -f ./.deps/scopewin.Po
> rm -f ./.deps/script.Po
> rm -f ./.deps/search.Po
> rm -f ./.deps/selection.Po
> rm -f ./.deps/simulate.Po
> rm -f ./.deps/switch.Po
> rm -f ./.deps/symblock.Po
> rm -f ./.deps/tap.Po
> rm -f ./.deps/tclfuncs.Po
> rm -f ./.deps/text.Po
> rm -f ./.deps/tkgate.Po
> rm -f ./.deps/tkgatewin.Po
> rm -f ./.deps/traceprint.Po
> rm -f ./.deps/tri.Po
> rm -f ./.deps/tribuffer.Po
> rm -f ./.deps/vdd.Po
> rm -f ./.deps/verify.Po
> rm -f ./.deps/verilog_in.Po
> rm -f ./.deps/verilog_out.Po
> rm -f ./.deps/vgrammar.Po
> rm -f ./.deps/wiresadd.Po
> rm -f ./.deps/wiresdraw.Po
> rm -f ./.deps/wiresedit.Po
> rm -f ./.deps/wiresmove.Po
> rm -f ./.deps/wiresnap.Po
> rm -f ./.deps/wmstuff.Po
> rm -f ./.deps/xor.Po
> rm -f ./.deps/zoom.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tkgate'
> Making distclean in verga
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/verga'
> rm -rf .libs _libs
>  rm -f verga
> 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 "vgrammar.h vgrammar.c luthor.c" || rm -f vgrammar.h vgrammar.c luthor.c
> rm -f ./.deps/bytecode.Po
> rm -f ./.deps/channel.Po
> rm -f ./.deps/circuit.Po
> rm -f ./.deps/commands.Po
> rm -f ./.deps/directive.Po
> rm -f ./.deps/error.Po
> rm -f ./.deps/evqueue.Po
> rm -f ./.deps/expr.Po
> rm -f ./.deps/io.Po
> rm -f ./.deps/luthor.Po
> rm -f ./.deps/memory.Po
> rm -f ./.deps/mitem.Po
> rm -f ./.deps/module.Po
> rm -f ./.deps/multint.Po
> rm -f ./.deps/net.Po
> rm -f ./.deps/operators.Po
> rm -f ./.deps/pathmod.Po
> rm -f ./.deps/paux.Po
> rm -f ./.deps/specify.Po
> rm -f ./.deps/statement.Po
> rm -f ./.deps/systask.Po
> rm -f ./.deps/task.Po
> rm -f ./.deps/thyme.Po
> rm -f ./.deps/trigger.Po
> rm -f ./.deps/value.Po
> rm -f ./.deps/verilog.Po
> rm -f ./.deps/vgrammar.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/verga'
> Making distclean in gmac
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/gmac'
> 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 gmac
> test . = "." || test -z "" || rm -f 
> test -z "grammar.h grammar.c luthor.c" || rm -f grammar.h grammar.c luthor.c
> rm -f ./.deps/gmac.Po
> rm -f ./.deps/grammar.Po
> rm -f ./.deps/luthor.Po
> rm -f ./.deps/parser.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/gmac'
> Making distclean in tools
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src/tools'
> 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 colors msgdiff mvtag
> test . = "." || test -z "" || rm -f 
> rm -f ./.deps/colors.Po
> rm -f ./.deps/msgdiff.Po
> rm -f ./.deps/mvtag.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/tools'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> 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
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building tkgate using existing ./tkgate_2.1+repack.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to libexec/tkgate:
> dpkg-source: error:   new version is symlink to ../src/tkgate/tkgate
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to libexec/verga:
> dpkg-source: error:   new version is symlink to ../src/verga/verga
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: ignoring deletion of file config.h.in, use --include-removal to override
> dpkg-source: error: unrepresentable changes to source
> 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/tkgate_2.1+repack-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