Bug#1048664: sketch: Fails to build source after successful build

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


Source: sketch
Version: 1:0.3.7-12
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 sketch
> dpkg-buildpackage: info: source version 1:0.3.7-12
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by David Bremner <bremner at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f sketch bsp.o cmdline.o emit.o error.o expr.o geometry.o geomio.o global.o langver.o lex.yy.o main.o memutil.o opts.o scene.o symbol.o y.tab.o *.obj core *~ *.stackdump y.output
> rm -rf Debug Release
> cd Doc; rm -f \
>                 sketch.ps sketch.dvi \
> 	sketch.aux sketch.cp sketch.cps sketch.fn sketch.ky \
> 	sketch.log sketch.op sketch.ops sketch.pg \
> 	sketch.sx sketch.sxs sketch.tmp sketch.toc sketch.tp \
> 	sketch.vr texput.log ex*\.pdf ex*\.eps ex*\.tex ex*\.txt \
> 	\#*\# *~
> cd Data; rm -f *~ \#*\#
> 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 sketch using existing ./sketch_0.3.7.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file y.tab.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file version.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file y.tab.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex100.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex080.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex070.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex120.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex260.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex110.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex250.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex170.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex180.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/sketch.info, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex042.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex190.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex010.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex000.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex060.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex240.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex140.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex030.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex130.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex210.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex150.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/Thumbs.db, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex220.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex050.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex090.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex230.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex040.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/sketch.pdf, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex020.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex045.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/ex160.png, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file Doc/version.texi, use --include-removal to override
> dpkg-source: error: cannot represent change to Doc/sketch/ex000.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex000.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex010.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex010.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex020.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex020.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex030.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex030.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex040.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex040.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex042.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex042.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex045.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex045.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex050.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex050.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex060.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex060.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex070.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex070.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex080.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex080.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex090.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex090.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex100.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex100.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex110.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex110.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex120.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex120.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex130.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex130.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex140.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex140.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex150.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex150.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex160.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex160.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex170.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex170.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex180.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex180.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex190.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex190.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex210.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex210.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex220.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex220.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex230.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex230.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex240.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex240.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex250.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex250.png in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to Doc/sketch/ex260.png: binary file contents changed
> dpkg-source: error: add Doc/sketch/ex260.png 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/sketch_0.3.7-12_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