Source: flatbuffers
Version: 2.0.8+dfsg1-6
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 flatbuffers
> dpkg-buildpackage: info: source version 2.0.8+dfsg1-6
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Nobuhiro Iwamatsu 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3 --builddirectory=/<<PKGBUILDDIR>>
>    dh_auto_clean -O--builddirectory=/<<BUILDDIR>>/flatbuffers-2.0.8\+dfsg1
>       make -j8 clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make  -f CMakeFiles/Makefile2 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> make  -f CMakeFiles/flatbuffers.dir/build.make 
> CMakeFiles/flatbuffers.dir/clean
> make  -f CMakeFiles/flatc.dir/build.make CMakeFiles/flatc.dir/clean
> make  -f CMakeFiles/flathash.dir/build.make CMakeFiles/flathash.dir/clean
> make  -f CMakeFiles/flatbuffers_shared.dir/build.make 
> CMakeFiles/flatbuffers_shared.dir/clean
> make  -f CMakeFiles/flattests.dir/build.make CMakeFiles/flattests.dir/clean
> make  -f CMakeFiles/flatsamplebinary.dir/build.make 
> CMakeFiles/flatsamplebinary.dir/clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flathash.dir/cmake_clean.cmake
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flatbuffers_shared.dir/cmake_clean.cmake
> /usr/bin/cmake -P CMakeFiles/flatbuffers.dir/cmake_clean.cmake
> make  -f CMakeFiles/flatsampletext.dir/build.make 
> CMakeFiles/flatsampletext.dir/clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flatsamplebinary.dir/cmake_clean.cmake
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flatc.dir/cmake_clean.cmake
> make  -f CMakeFiles/flatsamplebfbs.dir/build.make 
> CMakeFiles/flatsamplebfbs.dir/clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flattests.dir/cmake_clean.cmake
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flatsampletext.dir/cmake_clean.cmake
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make  -f CMakeFiles/generated_code.dir/build.make 
> CMakeFiles/generated_code.dir/clean
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/flatsamplebfbs.dir/cmake_clean.cmake
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> /usr/bin/cmake -P CMakeFiles/generated_code.dir/cmake_clean.cmake
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean 
> -O--builddirectory=/<<BUILDDIR>>/flatbuffers-2.0.8\+dfsg1
>    dh_clean -O--builddirectory=/<<BUILDDIR>>/flatbuffers-2.0.8\+dfsg1
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building flatbuffers using existing 
> ./flatbuffers_2.0.8+dfsg1.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file 
> tests/optional_scalars_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/native_type_test_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/monster_test_bfbs_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/monster_test_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/monster_extra_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/monster_test.bfbs, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/arrays_test.bfbs, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/native_inline_table_test_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/arrays_test_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/union_vector/union_vector_generated.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file 
> tests/namespace_test/namespace_test1_generated.h, use --include-removal to 
> override
> dpkg-source: warning: ignoring deletion of file 
> tests/namespace_test/namespace_test2_generated.h, use --include-removal to 
> override
> dpkg-source: warning: ignoring deletion of file samples/monster.bfbs, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file samples/monster_generated.h, 
> use --include-removal to override
> dpkg-source: error: cannot represent change to 
> CMakeFiles/3.27.2/CMakeDetermineCompilerABI_CXX.bin: binary file contents 
> changed
> dpkg-source: error: add CMakeFiles/3.27.2/CMakeDetermineCompilerABI_CXX.bin 
> in debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 
> 'CMakeFiles/3.27.2/CMakeDetermineCompilerABI_CXX.bin' will not be represented 
> in diff
> dpkg-source: error: cannot represent change to 
> CMakeFiles/3.27.2/CompilerIdCXX/a.out: binary file contents changed
> dpkg-source: error: add CMakeFiles/3.27.2/CompilerIdCXX/a.out in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 
> 'CMakeFiles/3.27.2/CompilerIdCXX/a.out' will not be represented in diff
> dpkg-source: warning: file flatbuffers-2.0.8+dfsg1/compile_commands.json has 
> no final newline (either original or modified version)
> dpkg-source: warning: file flatbuffers-2.0.8+dfsg1/install_manifest.txt has 
> no final newline (either original or modified version)
> dpkg-source: warning: file 
> flatbuffers-2.0.8+dfsg1/python/flatbuffers.egg-info/SOURCES.txt has no final 
> newline (either original or modified version)
> 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/flatbuffers_2.0.8+dfsg1-6_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