[Pkg-electronics-devel] Bug#1044912: gerbv: Fails to build source after successful build

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


Source: gerbv
Version: 2.9.8-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 gerbv
> dpkg-buildpackage: info: source version 2.9.8-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Carsten Schoenert <c.schoenert at t-online.de>
>  dpkg-source --before-build .
>  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'
> test -z "authors.c bugs.c" || rm -f authors.c bugs.c
> test -z "libgerbv.la" || rm -f libgerbv.la
> rm -rf .libs _libs
> rm -f *.o
>  rm -f gerbv
> test -z "*~" || rm -f *~
> rm -f *.lo
> rm -f *.tab.c
> test -z "libgerbv.pc" || rm -f libgerbv.pc
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> test -z "run_gerbv" || rm -f run_gerbv
> rm -f ./.deps/amacro.Plo
> rm -f ./.deps/attribute.Po
> rm -f ./.deps/callbacks.Po
> rm -f ./.deps/csv.Plo
> rm -f ./.deps/draw-gdk.Plo
> rm -f ./.deps/draw.Plo
> rm -f ./.deps/drill.Plo
> rm -f ./.deps/drill_stats.Plo
> rm -f ./.deps/dynload.Po
> rm -f ./.deps/export-drill.Plo
> rm -f ./.deps/export-dxf.Plo
> rm -f ./.deps/export-geda-pcb.Plo
> rm -f ./.deps/export-image.Plo
> rm -f ./.deps/export-isel-drill.Plo
> rm -f ./.deps/export-rs274x.Plo
> rm -f ./.deps/gerb_file.Plo
> rm -f ./.deps/gerb_image.Plo
> rm -f ./.deps/gerb_stats.Plo
> rm -f ./.deps/gerber.Plo
> rm -f ./.deps/gerbv.Plo
> rm -f ./.deps/interface.Po
> rm -f ./.deps/lrealpath.Po
> rm -f ./.deps/main.Po
> rm -f ./.deps/pick-and-place.Plo
> rm -f ./.deps/project.Po
> rm -f ./.deps/render.Po
> rm -f ./.deps/scheme.Po
> rm -f ./.deps/selection.Plo
> rm -f ./.deps/table.Po
> rm -f ./.deps/tooltable.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making distclean in scheme
> make[2]: Entering directory '/<<PKGBUILDDIR>>/scheme'
> rm -rf .libs _libs
> test -z "core *~" || rm -f core *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/scheme'
> Making distclean in share/glib-2.0/schemas
> make[2]: Entering directory '/<<PKGBUILDDIR>>/share/glib-2.0/schemas'
> rm -rf .libs _libs
> rm -f *.lo
> rm -f org.geda-user.gerbv.gschema.valid 
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/share/glib-2.0/schemas'
> Making distclean in desktop
> make[2]: Entering directory '/<<PKGBUILDDIR>>/desktop'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/desktop'
> Making distclean in doc
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in PNG-print
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/PNG-print'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/PNG-print'
> Making distclean in eagle
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/eagle'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/eagle'
> Making distclean in html
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/html'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/html'
> Making distclean in example-code
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc/example-code'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc/example-code'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> 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>>/doc'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> Making distclean in man
> make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
> test -z "*~  *.pot gerbv.1" || rm -f *~  *.pot gerbv.1
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
> 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.* gerbv.po gerbv.1po gerbv.2po *.new.po
> rm -fr *.o
> rm -f Makefile Makefile.in POTFILES *.mo
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/po'
> Making distclean in example
> make[2]: Entering directory '/<<PKGBUILDDIR>>/example'
> Making distclean in am-test
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/am-test'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/am-test'
> Making distclean in cslk
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/cslk'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/cslk'
> Making distclean in dan
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/dan'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/dan'
> Making distclean in eaglecad1
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/eaglecad1'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/eaglecad1'
> Making distclean in ekf2
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/ekf2'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/ekf2'
> Making distclean in exposure
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/exposure'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/exposure'
> Making distclean in jj
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/jj'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/jj'
> Making distclean in Mentor-BoardStation
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/Mentor-BoardStation'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/Mentor-BoardStation'
> Making distclean in nollezappare
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/nollezappare'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/nollezappare'
> Making distclean in numpres
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/numpres'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/numpres'
> Making distclean in orcad
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/orcad'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/orcad'
> Making distclean in pick-and-place
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/pick-and-place'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/pick-and-place'
> Making distclean in polarity
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/polarity'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/polarity'
> Making distclean in thermal
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/thermal'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/thermal'
> Making distclean in trailing
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example/trailing'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/example/trailing'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/example'
> rm -rf .libs _libs
> test -z "*~" || rm -f *~
> 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>>/example'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/example'
> Making distclean in test
> make[2]: Entering directory '/<<PKGBUILDDIR>>/test'
> Making distclean in golden
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test/golden'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test/golden'
> Making distclean in inputs
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test/inputs'
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test/inputs'
> make[3]: Entering directory '/<<PKGBUILDDIR>>/test'
> rm -rf .libs _libs
> rm -rf mismatch outputs
> test -z "" || rm -f 
> rm -f *.lo
> test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> test -z "configure.lineno" || rm -f configure.lineno
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/test'
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
> Making distclean in win32
> make[2]: Entering directory '/<<PKGBUILDDIR>>/win32'
> test -z "" || rm -f 
> rm -rf .libs _libs
> rm -f *.lo
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/win32'
> 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 gerbv using existing ./gerbv_2.9.8.orig.tar.gz
> dpkg-source: error: cannot represent change to po/ru.gmo: binary file contents changed
> dpkg-source: error: add po/ru.gmo 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/gerbv_2.9.8-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 Pkg-electronics-devel mailing list