Source: jsonnet
Version: 0.20.0+ds-1
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 jsonnet
> dpkg-buildpackage: info: source version 0.20.0+ds-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Fukui Daichi 
> <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean -Scmake --with python3
>    dh_auto_clean -O-Scmake
>    dh_clean -O-Scmake
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building jsonnet using existing 
> ./jsonnet_0.20.0+ds.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to 
> build/lib.linux-x86_64-cpython-311/_jsonnet.cpython-311-x86_64-linux-gnu.so: 
> binary file contents changed
> dpkg-source: error: add 
> build/lib.linux-x86_64-cpython-311/_jsonnet.cpython-311-x86_64-linux-gnu.so 
> in debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 
> 'build/lib.linux-x86_64-cpython-311/_jsonnet.cpython-311-x86_64-linux-gnu.so' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to 
> build/temp.linux-x86_64-cpython-311/python/_jsonnet.o: binary file contents 
> changed
> dpkg-source: error: add build/temp.linux-x86_64-cpython-311/python/_jsonnet.o 
> 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/desugarer.o: binary file 
> contents changed
> dpkg-source: error: add core/desugarer.o 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/formatter.o: binary file 
> contents changed
> dpkg-source: error: add core/formatter.o 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/lexer.o: binary file 
> contents changed
> dpkg-source: error: add core/lexer.o 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/libjsonnet.o: binary file 
> contents changed
> dpkg-source: error: add core/libjsonnet.o 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/parser.o: binary file 
> contents changed
> dpkg-source: error: add core/parser.o 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/pass.o: binary file 
> contents changed
> dpkg-source: error: add core/pass.o 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/static_analysis.o: binary 
> file contents changed
> dpkg-source: error: add core/static_analysis.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: file jsonnet-0.20.0+ds/core/std.jsonnet.h has no final 
> newline (either original or modified version)
> dpkg-source: error: cannot represent change to core/string_utils.o: binary 
> file contents changed
> dpkg-source: error: add core/string_utils.o 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/vm.o: binary file 
> contents changed
> dpkg-source: error: add core/vm.o in debian/source/include-binaries if you 
> want to store the modified binary in the debian tarball
> dpkg-source: warning: file jsonnet-0.20.0+ds/jsonnet.egg-info/SOURCES.txt has 
> no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to third_party/md5/md5.o: binary 
> file contents changed
> dpkg-source: error: add third_party/md5/md5.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o: binary 
> file contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o: binary file 
> contents changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/src/c4/yml/common.o: binary file contents 
> changed
> dpkg-source: error: add third_party/rapidyaml/rapidyaml/src/c4/yml/common.o 
> in debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o: binary file contents 
> changed
> dpkg-source: error: add third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o: binary file contents 
> changed
> dpkg-source: error: add 
> third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: error: cannot represent change to 
> third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o: binary file contents 
> changed
> dpkg-source: error: add third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o 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/jsonnet_0.20.0+ds-1_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