Source: patchelf
Version: 0.14.3-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 patchelf
> dpkg-buildpackage: info: source version 0.14.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Felipe Sateler 
> <[email protected]>
>  dpkg-source --before-build .
> dpkg-source: info: using options from patchelf-0.14.3/debian/source/options: 
> --extend-diff-ignore=bootstrap.sh --extend-diff-ignore=release.nix 
> --extend-diff-ignore=version --extend-diff-ignore=BUGS
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> mv src/elf.h.bak src/elf.h
> [ ! -f Makefile ] || /usr/bin/make maintainer-clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> Making maintainer-clean in src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> test -z "patchelf" || rm -f patchelf
> rm -f *.o
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> This command is intended for maintainers to use
> it deletes files that may require special tools to rebuild.
> rm -f ./.deps/patchelf.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Making maintainer-clean in tests
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> test -z "simple-pie simple main too-many-strtab main-scoped big-dynstr 
> no-rpath contiguous-note-sections libfoo.so libfoo-scoped.so libbar.so 
> libbar-scoped.so libsimple.so libbuildid.so libtoomanystrtab.so 
> phdr-corruption.so" || rm -f simple-pie simple main too-many-strtab 
> main-scoped big-dynstr no-rpath contiguous-note-sections libfoo.so 
> libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so libbuildid.so 
> libtoomanystrtab.so phdr-corruption.so
> test -z "big-dynstr.c" || rm -f big-dynstr.c
> rm -f -r scratch no-rpath-amd64.sh no-rpath-armel.sh no-rpath-armhf.sh 
> no-rpath-hurd-i386.sh no-rpath-i386.sh no-rpath-ia64.sh 
> no-rpath-kfreebsd-amd64.sh no-rpath-kfreebsd-i386.sh no-rpath-mips.sh 
> no-rpath-mipsel.sh no-rpath-powerpc.sh no-rpath-s390.sh no-rpath-sh4.sh 
> no-rpath-sparc.sh
> rm -f *.o
> test -z "plain-fail.sh.log plain-run.sh.log shrink-rpath.sh.log 
> set-interpreter-short.sh.log set-interpreter-long.sh.log set-rpath.sh.log 
> add-rpath.sh.log no-rpath.sh.log big-dynstr.sh.log set-rpath-library.sh.log 
> soname.sh.log shrink-rpath-with-allowed-prefixes.sh.log 
> set-rpath-rel-map.sh.log force-rpath.sh.log plain-needed.sh.log 
> output-flag.sh.log too-many-strtab.sh.log no-rpath-pie-powerpc.sh.log 
> build-id.sh.log invalid-elf.sh.log endianness.sh.log 
> contiguous-note-sections.sh.log no-gnu-hash.sh.log grow-file.sh.log 
> no-dynamic-section.sh.log args-from-file.sh.log basic-flags.sh.log 
> set-empty-rpath.sh.log phdr-corruption.sh.log replace-needed.sh.log 
> no-rpath-amd64.sh.log no-rpath-armel.sh.log no-rpath-armhf.sh.log 
> no-rpath-hurd-i386.sh.log no-rpath-i386.sh.log no-rpath-ia64.sh.log 
> no-rpath-kfreebsd-amd64.sh.log 
> no-rpath-kfreebsd-i386.sh.log no-rpath-mips.sh.log no-rpath-mipsel.sh.log 
> no-rpath-powerpc.sh.log no-rpath-s390.sh.log no-rpath-sh4.sh.log 
> no-rpath-sparc.sh.log" || rm -f plain-fail.sh.log plain-run.sh.log 
> shrink-rpath.sh.log set-interpreter-short.sh.log set-interpreter-long.sh.log 
> set-rpath.sh.log add-rpath.sh.log no-rpath.sh.log big-dynstr.sh.log 
> set-rpath-library.sh.log soname.sh.log 
> shrink-rpath-with-allowed-prefixes.sh.log set-rpath-rel-map.sh.log 
> force-rpath.sh.log plain-needed.sh.log output-flag.sh.log 
> too-many-strtab.sh.log no-rpath-pie-powerpc.sh.log build-id.sh.log 
> invalid-elf.sh.log endianness.sh.log contiguous-note-sections.sh.log 
> no-gnu-hash.sh.log grow-file.sh.log no-dynamic-section.sh.log 
> args-from-file.sh.log basic-flags.sh.log set-empty-rpath.sh.log 
> phdr-corruption.sh.log 
> replace-needed.sh.log no-rpath-amd64.sh.log no-rpath-armel.sh.log 
> no-rpath-armhf.sh.log no-rpath-hurd-i386.sh.log no-rpath-i386.sh.log 
> no-rpath-ia64.sh.log no-rpath-kfreebsd-amd64.sh.log 
> no-rpath-kfreebsd-i386.sh.log no-rpath-mips.sh.log no-rpath-mipsel.sh.log 
> no-rpath-powerpc.sh.log no-rpath-s390.sh.log no-rpath-sh4.sh.log 
> no-rpath-sparc.sh.log
> test -z "plain-fail.sh.trs plain-run.sh.trs shrink-rpath.sh.trs 
> set-interpreter-short.sh.trs set-interpreter-long.sh.trs set-rpath.sh.trs 
> add-rpath.sh.trs no-rpath.sh.trs big-dynstr.sh.trs set-rpath-library.sh.trs 
> soname.sh.trs shrink-rpath-with-allowed-prefixes.sh.trs 
> set-rpath-rel-map.sh.trs force-rpath.sh.trs plain-needed.sh.trs 
> output-flag.sh.trs too-many-strtab.sh.trs no-rpath-pie-powerpc.sh.trs 
> build-id.sh.trs invalid-elf.sh.trs endianness.sh.trs 
> contiguous-note-sections.sh.trs no-gnu-hash.sh.trs grow-file.sh.trs 
> no-dynamic-section.sh.trs args-from-file.sh.trs basic-flags.sh.trs 
> set-empty-rpath.sh.trs phdr-corruption.sh.trs replace-needed.sh.trs 
> no-rpath-amd64.sh.trs no-rpath-armel.sh.trs no-rpath-armhf.sh.trs 
> no-rpath-hurd-i386.sh.trs no-rpath-i386.sh.trs no-rpath-ia64.sh.trs 
> no-rpath-kfreebsd-amd64.sh.trs 
> no-rpath-kfreebsd-i386.sh.trs no-rpath-mips.sh.trs no-rpath-mipsel.sh.trs 
> no-rpath-powerpc.sh.trs no-rpath-s390.sh.trs no-rpath-sh4.sh.trs 
> no-rpath-sparc.sh.trs" || rm -f plain-fail.sh.trs plain-run.sh.trs 
> shrink-rpath.sh.trs set-interpreter-short.sh.trs set-interpreter-long.sh.trs 
> set-rpath.sh.trs add-rpath.sh.trs no-rpath.sh.trs big-dynstr.sh.trs 
> set-rpath-library.sh.trs soname.sh.trs 
> shrink-rpath-with-allowed-prefixes.sh.trs set-rpath-rel-map.sh.trs 
> force-rpath.sh.trs plain-needed.sh.trs output-flag.sh.trs 
> too-many-strtab.sh.trs no-rpath-pie-powerpc.sh.trs build-id.sh.trs 
> invalid-elf.sh.trs endianness.sh.trs contiguous-note-sections.sh.trs 
> no-gnu-hash.sh.trs grow-file.sh.trs no-dynamic-section.sh.trs 
> args-from-file.sh.trs basic-flags.sh.trs set-empty-rpath.sh.trs 
> phdr-corruption.sh.trs 
> replace-needed.sh.trs no-rpath-amd64.sh.trs no-rpath-armel.sh.trs 
> no-rpath-armhf.sh.trs no-rpath-hurd-i386.sh.trs no-rpath-i386.sh.trs 
> no-rpath-ia64.sh.trs no-rpath-kfreebsd-amd64.sh.trs 
> no-rpath-kfreebsd-i386.sh.trs no-rpath-mips.sh.trs no-rpath-mipsel.sh.trs 
> no-rpath-powerpc.sh.trs no-rpath-s390.sh.trs no-rpath-sh4.sh.trs 
> no-rpath-sparc.sh.trs
> test -z "test-suite.log" || rm -f test-suite.log
> rm -f *.tab.c
> test -z "" || rm -f 
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> This command is intended for maintainers to use
> it deletes files that may require special tools to rebuild.
> rm -f ./.deps/bar.Po
> rm -f ./.deps/big-dynstr.Po
> rm -f ./.deps/foo.Po
> rm -f ./.deps/main.Po
> rm -f ./.deps/no_rpath-no-rpath.Po
> rm -f ./.deps/phdr_corruption_so-void.Po
> rm -f ./.deps/simple-simple.Po
> rm -f ./.deps/simple.Po
> rm -f ./.deps/simple_pie-simple.Po
> rm -f ./.deps/too-many-strtab.Po
> rm -f Makefile
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[3]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "patchelf.spec" || rm -f patchelf.spec
> test . = "." || test -z "" || rm -f 
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> This command is intended for maintainers to use
> it deletes files that may require special tools to rebuild.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno 
> config.status.lineno
> rm -rf ./autom4te.cache
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -rf build-aux
> find . -name Makefile.in -delete
> rm -f configure
> rm -f aclocal.m4
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using options from patchelf-0.14.3/debian/source/options: 
> --extend-diff-ignore=bootstrap.sh --extend-diff-ignore=release.nix 
> --extend-diff-ignore=version --extend-diff-ignore=BUGS
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building patchelf using existing 
> ./patchelf_0.14.3.orig.tar.gz
> dpkg-source: error: cannot represent change to tests/libbig-dynstr.debug: 
> binary file contents changed
> dpkg-source: error: add tests/libbig-dynstr.debug in 
> debian/source/include-binaries if you want to store the modified binary in 
> the debian tarball
> dpkg-source: warning: executable mode 0755 of 'tests/libbig-dynstr.debug' 
> will not be represented in diff
> dpkg-source: error: cannot represent change to tests/libbig-dynstr.so: binary 
> file contents changed
> dpkg-source: error: add tests/libbig-dynstr.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 'tests/libbig-dynstr.so' 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/patchelf_0.14.3-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