Bug#1044512: gem: Fails to build source after successful build

2026-01-08 Thread IOhannes m zmoelnig


On Wed, 7 Jan 2026 23:26:15 +0100 Santiago Vila  wrote:

IOhannes: Would you be willing to make an upload with the current
state of the package in salsa? (versioned 1:0.94-9, I guess).

sure.

gmdasr
IOhannes


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1044512: gem: Fails to build source after successful build

2026-01-07 Thread Santiago Vila
Hi.

I still can't reproduce this in my rebuilding framework.

However, if I try to build the package directly from the git repository
(i.e. using dpkg-buildpackage, which may or may not work), then
I get this when trying to build the source package after
a successful binary build:

dh clean
   dh_clean
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/gemglfw3window.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/gemsdlwindow.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/gemglxwindow.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/gemglutwindow.pd_linux
dpkg-source: error: unwanted binary file: debian/build/flavor-pd32/Gem.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_hit/pix_hit.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_hit/.libs/pix_hit.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_fiducialtrack/pix_fiducialtrack.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_fiducialtrack/.libs/pix_fiducialtrack.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_mano/pix_mano.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_mano/.libs/pix_mano.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_drum/pix_drum.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/extra/pix_drum/.libs/pix_drum.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/src/.libs/Gem.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/src/Output/.libs/gemglutwindow.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/src/Output/.libs/gemglxwindow.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/src/Output/.libs/gemsdlwindow.pd_linux
dpkg-source: error: unwanted binary file: 
debian/build/flavor-pd32/src/Output/.libs/gemglfw3window.pd_linux
dpkg-source: error: detected 18 unwanted binary files (add them in 
debian/source/include-binaries to allow their inclusion).
dpkg-buildpackage: error: dpkg-source -b . subprocess failed with exit status 
255


So yes, this matches the commit which was made on 2024 to address the
issue, but paradoxically it's not what Lucas reported initially...

I feel that this bug is miscategorized and I don't know how
could we improve that.

IOhannes: Would you be willing to make an upload with the current
state of the package in salsa? (versioned 1:0.94-9, I guess).

Thanks.



Bug#1044512: gem: Fails to build source after successful build

2025-12-13 Thread Santiago Vila
Hello.

I tried to reproduce this and it looked as fixed in trixie to me,
so I tried debbisect to determine the exact build-dependency which
fixed it.

However, debbisect (which internally uses snapshot.debian.org)
tells me that this issue did not even happen on 2023-08-13, the date
at which the bug was filed.

But there was something strange in the "successful" build log
for such date:


make[1]: Leaving directory '/gem-0.94'
 dpkg-source -b .
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building gem using existing ./gem_0.94.orig.tar.bz2
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: building gem in gem_0.94-8.debian.tar.xz
dpkg-source: info: building gem in gem_0.94-8.dsc
 dpkg-genbuildinfo --build=source -O../gem_0.94-8_source.buildinfo
 dpkg-genchanges --build=source -O../gem_0.94-8_source.changes
dpkg-genchanges: info: not including original source code in upload
 dpkg-source --after-build .
dpkg-buildpackage: info: source-only, diff-only upload (original source NOT 
included)
I: waiting for background processes to finish...
I: PID 12882 exited with exit code 255
I: PID 12891 exited with exit code 255
I: PID 12900 exited with exit code 255
I: PID 12930 exited with exit code 255
I: PID 12940 exited with exit code 255
I: PID 12949 exited with exit code 255
I: PID 12958 exited with exit code 255
I: PID 13900 exited with exit code 0
I: cleaning package lists and apt cache...
I: removing tempdir /tmp/mmdebstrap.H34O4VSvIW...
I: success in 691.0229 seconds


Could it be the case that the build leaves background processes
running which may or may not make a source build after a binary to
fail, in a randomly fashion?

Thanks.



Bug#1044512: gem: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: gem
Version: 1:0.94-8
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: [email protected]
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 /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> 
> 
> dpkg-buildpackage: info: source package gem
> dpkg-buildpackage: info: source version 1:0.94-8
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by IOhannes m zmölnig (Debian/GNU) 
> 
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>dh_auto_clean
>   make -j8 distclean
> make[1]: Entering directory '/<>'
> Making distclean in src
> make[2]: Entering directory '/<>/src'
> Making distclean in Gem
> make[3]: Entering directory '/<>/src/Gem'
> rm -rf .libs _libs
> test -z "libGem.la" || rm -f libGem.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> rm -f GemGLconfig.h stamp-h2
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f ./so_locations
> rm -f ./.deps/libGem_la-Cache.Plo
> rm -f ./.deps/libGem_la-ContextData.Plo
> rm -f ./.deps/libGem_la-Dylib.Plo
> rm -f ./.deps/libGem_la-Event.Plo
> rm -f ./.deps/libGem_la-Exception.Plo
> rm -f ./.deps/libGem_la-Files.Plo
> rm -f ./.deps/libGem_la-GLStack.Plo
> rm -f ./.deps/libGem_la-Image.Plo
> rm -f ./.deps/libGem_la-ImageLoad.Plo
> rm -f ./.deps/libGem_la-ImageSave.Plo
> rm -f ./.deps/libGem_la-Loaders.Plo
> rm -f ./.deps/libGem_la-Manager.Plo
> rm -f ./.deps/libGem_la-PBuffer.Plo
> rm -f ./.deps/libGem_la-PixConvertAltivec.Plo
> rm -f ./.deps/libGem_la-PixConvertSSE2.Plo
> rm -f ./.deps/libGem_la-Properties.Plo
> rm -f ./.deps/libGem_la-Rectangle.Plo
> rm -f ./.deps/libGem_la-Settings.Plo
> rm -f ./.deps/libGem_la-Setup.Plo
> rm -f ./.deps/libGem_la-State.Plo
> rm -f ./.deps/libGem_la-VertexBuffer.Plo
> rm -f ./.deps/libGem_la-glew.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<>/src/Gem'
> Making distclean in RTE
> make[3]: Entering directory '/<>/src/RTE'
> rm -rf .libs _libs
> test -z "libRTE.la" || rm -f libRTE.la
> 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 ./so_locations
> rm -f ./.deps/libRTE_la-Array.Plo
> rm -f ./.deps/libRTE_la-Outlet.Plo
> rm -f ./.deps/libRTE_la-RTE.Plo
> rm -f ./.deps/libRTE_la-Symbol.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<>/src/RTE'
> Making distclean in Utils
> make[3]: Entering directory '/<>/src/Utils'
> rm -rf .libs _libs
> test -z "libUtils.la" || rm -f libUtils.la
> 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 ./so_locations
> rm -f ./.deps/libUtils_la-Functions.Plo
> rm -f ./.deps/libUtils_la-GLUtil.Plo
> rm -f ./.deps/libUtils_la-GLUtil_define.Plo
> rm -f ./.deps/libUtils_la-GemString.Plo
> rm -f ./.deps/libUtils_la-MSVCMinGW.Plo
> rm -f ./.deps/libUtils_la-Matrix.Plo
> rm -f ./.deps/libUtils_la-SIMD.Plo
> rm -f ./.deps/libUtils_la-SynchedWorkerThread.Plo
> rm -f ./.deps/libUtils_la-Thread.Plo
> rm -f ./.deps/libUtils_la-ThreadMutex.Plo
> rm -f ./.deps/libUtils_la-ThreadSemaphore.Plo
> rm -f ./.deps/libUtils_la-Vector.Plo
> rm -f ./.deps/libUtils_la-WorkerThread.Plo
> rm -f ./.deps/libUtils_la-plist.Plo
> rm -f ./.deps/libUtils_la-pstk.Plo
> rm -f Makefile
> make[3]: Leaving directory '/<>/src/Utils'
> Making distclean in Base
> make[3]: Entering directory '/<>/src/Base'
> rm -rf .libs _libs
> test -z "libBase.la" || rm -f libBase.la
> rm -f *.o
> rm -f *.lo
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./so_locations
> rm -f ./.deps/libBase_la-CPPExtern.Plo
> rm -f ./.deps/libBase_la-GemBase.Plo
> rm -f ./.deps/libBase_la-GemContext.Plo
> rm -f ./.deps/libBase_la-GemGluObj.Plo
> rm -f ./.deps/libBase_la-GemPathBase.Plo
> rm -f ./.deps/libBase_la-GemPixDualObj.Plo
> rm -f ./.deps/libBase_la-GemPixObj.Plo
> rm -f ./.deps/libBase_la-GemShape.Plo
> rm -f ./.deps/libBase_la-GemVertex.Plo
> rm -f ./.deps/libBase_la-GemWinCreateEM.Plo
> rm -f ./.deps/libBase_la-GemWinCreateMac.Plo
> rm -f ./.deps/libBase_la-GemWinCreateNT.Pl