Source: angelscript
Version: 2.35.1+ds-3
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 /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package angelscript
> dpkg-buildpackage: info: source version 2.35.1+ds-3
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Yangfl <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with pkgkde_symbolshelper
>    dh_auto_clean
>       make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f libangelscript-addon.a libangelscript-addon.so.2.35.1 
> add_on/contextmgr/contextmgr.o add_on/datetime/datetime.o 
> add_on/debugger/debugger.o add_on/scriptany/scriptany.o 
> add_on/scriptarray/scriptarray.o add_on/scriptbuilder/scriptbuilder.o 
> add_on/scriptdictionary/scriptdictionary.o add_on/scriptfile/scriptfile.o 
> add_on/scriptfile/scriptfilesystem.o add_on/scriptgrid/scriptgrid.o 
> add_on/scripthandle/scripthandle.o add_on/scripthelper/scripthelper.o 
> add_on/scriptmath/scriptmath.o add_on/scriptmath/scriptmathcomplex.o 
> add_on/scriptstdstring/scriptstdstring.o 
> add_on/scriptstdstring/scriptstdstring_utils.o add_on/serializer/serializer.o 
> add_on/weakref/weakref.o
> make -C "angelscript/projects/gnuc" clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/angelscript/projects/gnuc'
> GCC ARCH: x86_64-linux-gnu
> rm -f obj/as_atomic.o obj/as_builder.o obj/as_bytecode.o obj/as_callfunc.o 
> obj/as_callfunc_arm.o obj/as_callfunc_arm64.o obj/as_callfunc_mips.o 
> obj/as_callfunc_ppc.o obj/as_callfunc_ppc_64.o obj/as_callfunc_sh4.o 
> obj/as_callfunc_x86.o obj/as_callfunc_x64_gcc.o obj/as_callfunc_x64_mingw.o 
> obj/as_compiler.o obj/as_context.o obj/as_configgroup.o obj/as_datatype.o 
> obj/as_generic.o obj/as_gc.o obj/as_globalproperty.o obj/as_memory.o 
> obj/as_module.o obj/as_objecttype.o obj/as_outputbuffer.o obj/as_parser.o 
> obj/as_restore.o obj/as_scriptcode.o obj/as_scriptengine.o 
> obj/as_scriptfunction.o obj/as_scriptnode.o obj/as_scriptobject.o 
> obj/as_string.o obj/as_string_util.o obj/as_thread.o obj/as_tokenizer.o 
> obj/as_typeinfo.o obj/as_variablescope.o obj/as_callfunc_arm_gcc.o 
> obj/as_callfunc_arm64_gcc.o "../../lib"/libangelscript.a 
> "../../lib"/libangelscript.so.2.35.1 "../../lib"/libangelscript.so
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/angelscript/projects/gnuc'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules execute_after_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/make -C samples clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/samples'
> rm -rf tutorial/bin/tutorial
> rm -rf include/bin/include
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/samples'
> rm -rf debian/doxygen/output
> rm -rf Makefile
> rm -rf samples/Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building angelscript using existing 
> ./angelscript_2.35.1+ds.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> angelscript/lib/libangelscript-addon.a: binary file contents changed
> dpkg-source: error: add angelscript/lib/libangelscript-addon.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 
> angelscript/lib/libangelscript-addon.so.2.35.1: binary file contents changed
> dpkg-source: error: add angelscript/lib/libangelscript-addon.so.2.35.1 in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 
> 'angelscript/lib/libangelscript-addon.so.2.35.1' 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/angelscript_2.35.1+ds-3_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.

Reply via email to