Bug#1045069: godot: Fails to build source after successful build

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


Source: godot
Version: 3.5.2-stable-2
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 godot
> dpkg-buildpackage: info: source version 3.5.2-stable-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Petter Reinholdtsen <pere at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
> 	rm -f debian/godot3-runner.debhelper.log debian/godot3-server.debhelper.log debian/godot3.debhelper.log
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean
> 	rm -f debian/debhelper-build-stamp
> 	rm -rf debian/.debhelper/
> 	rm -f -- debian/godot3.substvars debian/godot3-runner.substvars debian/godot3-server.substvars debian/files
> 	rm -fr -- debian/godot3/ debian/tmp/ debian/godot3-runner/ debian/godot3-server/
> 	find .  \( \( \
> 		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
> 	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
> 		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
> 		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
> 		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
> 		\) -exec rm -f {} + \) -o \
> 		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
> scons -c arch=64
> scons: Reading SConscript files ...
> Automatically detected platform: x11
> Auto-detected 8 CPU cores available for build parallelism. Using 7 cores by default. You can override it with the -j argument.
> Note: Building a debug binary (which will run slowly). Use `target=release_debug` to build an optimized release binary.
> YASM is necessary for WebM SIMD optimizations.
> WebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!
> Checking for C header file mntent.h... yes
> scons: done reading SConscript files.
> scons: Cleaning targets ...
> Removed core/method_bind.gen.inc
> Removed core/method_bind_ext.gen.inc
> Removed core/method_bind_free_func.gen.inc
> Removed drivers/gles3/shaders/exposure.glsl.gen.h
> Removed drivers/gles3/shaders/screen_space_reflection.glsl.gen.h
> Removed drivers/gles3/shaders/resolve.glsl.gen.h
> Removed drivers/gles3/shaders/scene.glsl.gen.h
> Removed drivers/gles3/shaders/ssao.glsl.gen.h
> Removed drivers/gles3/shaders/ssao_minify.glsl.gen.h
> Removed drivers/gles2/shaders/cube_to_dp.glsl.gen.h
> Removed drivers/gles3/shaders/ssao_blur.glsl.gen.h
> Removed drivers/gles3/shaders/subsurf_scattering.glsl.gen.h
> Removed drivers/gles2/shaders/tonemap.glsl.gen.h
> Removed drivers/gles2/shaders/scene.glsl.gen.h
> Removed drivers/gles2/shaders/effect_blur.glsl.gen.h
> Removed drivers/gles3/shaders/tonemap.glsl.gen.h
> Removed drivers/gles3/shaders/effect_blur.glsl.gen.h
> Removed drivers/gles2/shaders/cubemap_filter.glsl.gen.h
> Removed drivers/gles2/shaders/copy.glsl.gen.h
> Removed drivers/gles3/shaders/blend_shape.glsl.gen.h
> Removed drivers/gles3/shaders/cube_to_dp.glsl.gen.h
> Removed drivers/gles3/shaders/canvas.glsl.gen.h
> Removed drivers/gles3/shaders/copy.glsl.gen.h
> Removed drivers/gles3/shaders/particles.glsl.gen.h
> Removed drivers/gles3/shaders/cubemap_filter.glsl.gen.h
> Removed drivers/gles2/shaders/canvas.glsl.gen.h
> Removed drivers/gles2/shaders/lens_distorted.glsl.gen.h
> Removed drivers/gles3/shaders/lens_distorted.glsl.gen.h
> Removed drivers/gles2/shaders/canvas_shadow.glsl.gen.h
> Removed drivers/gles3/shaders/canvas_shadow.glsl.gen.h
> Removed main/app_icon.gen.h
> Removed main/splash.gen.h
> Removed modules/modules_enabled.gen.h
> Removed main/default_controller_mappings.gen.cpp
> Removed thirdparty/oidn/weights/rtlightmap_hdr.gen.cpp
> Removed modules/gdnative/include/gdnative_api_struct.gen.h
> Removed modules/gdnative/gdnative_api_struct.gen.cpp
> Removed core/io/certs_compressed.gen.h
> Removed core/donors.gen.h
> Removed core/license.gen.h
> Removed core/authors.gen.h
> Removed editor/builtin_fonts.gen.h
> Removed editor/doc_data_compressed.gen.h
> Removed editor/editor_icons.gen.h
> Removed editor/doc_translations.gen.h
> Removed editor/editor_translations.gen.h
> scons: done cleaning targets.
> [Time elapsed: 00:00:13.656]
> find . -iname "*.gen.cpp" -delete
> find . -iname "*.gen.h" -delete
> find . -iname "*.pyc" -delete
> find . -iname ".a" -delete
> find . -iname ".o" -delete
> find . -iname ".scons_env.json" -delete
> find . -iname ".sconsign.dblite" -delete
> find . -name '*.o' -delete
> rm -rf .sconf_temp/
> rm -rf main/libmain.x11.opt.tools.64.a main/tests/libtests.x11.opt.tools.64.a
> rm -rf config.log .sconsign?.dblite
> rm -rf bin/
> rm -rf enet
> rm -rf freetype
> rm -rf libogg
> rm -rf libpng
> rm -rf libtheora
> rm -rf libvorbis
> rm -rf libvpx
> rm -rf libwebp
> rm -rf openssl
> rm -rf opus
> rm -rf pcre2
> rm -rf squish
> rm -rf zlib
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building godot using existing ./godot_3.5.2-stable.orig.tar.gz
> dpkg-source: warning: ignoring deletion of file platform/android/java/gradle/wrapper/gradle-wrapper.jar, use --include-removal to override
> dpkg-source: error: cannot represent change to core/libcore.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add core/libcore.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to core/libcore.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add core/libcore.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to drivers/libdrivers.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add drivers/libdrivers.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to drivers/libdrivers.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add drivers/libdrivers.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to editor/libeditor.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add editor/libeditor.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to main/libmain.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add main/libmain.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to modules/libmodules.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add modules/libmodules.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to modules/libmodules.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add modules/libmodules.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to platform/libplatform.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add platform/libplatform.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to platform/libplatform.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add platform/libplatform.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to scene/libscene.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add scene/libscene.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to scene/libscene.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add scene/libscene.x11.opt.tools.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to servers/libservers.x11.opt.64.a: binary file contents changed
> dpkg-source: error: add servers/libservers.x11.opt.64.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to servers/libservers.x11.opt.tools.64.a: binary file contents changed
> dpkg-source: error: add servers/libservers.x11.opt.tools.64.a 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/godot_3.5.2-stable-2_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-games-devel mailing list