[Debian-med-packaging] Bug#1044956: g2: Fails to build source after successful build

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


Source: g2
Version: 0.72-11
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 g2
> dpkg-buildpackage: info: source version 0.72-11
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Tille <tille at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
> 	make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> #(cd ./demo ; make clean)
> (cd ./g2_python ; make clean)
> make[3]: Entering directory '/<<PKGBUILDDIR>>/g2_python'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm -fr build
> rm -f g2.so g2.map g2_test{_clip.eps,.{eps,ps,png,jpg,fig}} penguin.pyc
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/g2_python'
> rm -f ./src/g2_device.o ./src/g2_ui_control.o ./src/g2_util.o ./src/g2_fif.o ./src/g2_virtual_device.o ./src/g2_physical_device.o ./src/g2_graphic_pd.o ./src/g2_control_pd.o ./src/g2_ui_graphic.o ./src/g2_ui_virtual_device.o ./src/g2_ui_device.o ./src/g2_splines.o ./src/PS/g2_PS.o ./src/FIG/g2_FIG.o ./src/X11/g2_X11.o ./src/GD/g2_gd.o
> rm -f libg2.a config.cache config.log config.status
> rm -f ./include/*.h
> find . -name "*~" -exec rm -f {} \;
> (cd ./g2_perl ; make clean)
> make[3]: Entering directory '/<<PKGBUILDDIR>>/g2_perl'
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
> rm -f \
>   G2.bso G2.def \
>   G2.exp G2.x \
>   G2.bs blib/arch/auto/G2/extralibs.all \
>   blib/arch/auto/G2/extralibs.ld Makefile.aperl \
>   *.a *.o \
>   *perl.core G2.base \
>   G2.bs G2.bso \
>   G2.c G2.def \
>   G2.exp G2.o \
>   G2_def.old MYMETA.json \
>   MYMETA.yml blibdirs.ts \
>   core core.*perl.*.? \
>   core.[0-9] core.[0-9][0-9] \
>   core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
>   core.[0-9][0-9][0-9][0-9][0-9] libG2.def \
>   mon.out perl \
>   perl perl.exe \
>   perlmain.c pm_to_blib \
>   pm_to_blib.ts so_locations \
>   tmon.out 
> rm -rf \
>   blib 
> mv Makefile Makefile.old > /dev/null 2>&1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/g2_perl'
> rm -f ./g2_perl/test.ps
> rm -f ./g2_perl/test.png
> rm -f ./g2_perl/test.jpg
> rm -f ./g2_perl/test.fig
> rm -f ./g2_perl/Makefile.old
> rm -f ./libg2.so.
> rm -f ./libg2.so.
> rm -f ./libg2..a
> rm -f ./libg2..a
> rm -f libg2.so
> rm -f a.out
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f libg*.a lib*.so.0
> 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 g2 using existing ./g2_0.72.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of directory doc/html
> dpkg-source: warning: ignoring deletion of file doc/html/g2__X11__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__physdev.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__X11.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/tab_b.gif, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__vd.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/files.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__PS__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/modules.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/resource_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__interface.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__device.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__graphic__pd_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/tabs.css, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__X11_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/tab_r.gif, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__win32_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/pages.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__control__pd_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__util_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__graphic.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__gd_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__PS_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/doxygen.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__GD.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__gd__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__color.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__win32.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/index.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__virtual__device_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__X11__P_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__FIG__P_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__PS.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__control.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__win32__P_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__FIG_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__win32__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__splines.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__FIG__funix_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__physical__device_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/doxygen.css, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__gd__P_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__device_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/tab_l.gif, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__PS__definitions_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__config_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/g2__PS__P_8h-source.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/group__FIG.html, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file doc/html/paper.html, use --include-removal to override
> dpkg-source: error: cannot represent change to libg2.so.0.72: binary file contents changed
> dpkg-source: error: add libg2.so.0.72 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'libg2.so.0.72' will not be represented in diff
> 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/g2_0.72-11_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-med-packaging mailing list