[Pkg-xmpp-devel] Bug#1047740: prosody: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 20:21:07 BST 2023


Source: prosody
Version: 0.12.3-1
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 prosody
> dpkg-buildpackage: info: source version 0.12.3-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Victor Seva <vseva at debian.org>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> if [ -f config.unix ]; then \
> 	make -C tools/migration clean; \
> 	make clean; \
> 	rm -f config.unix; \
> fi
> make[2]: Entering directory '/<<PKGBUILDDIR>>/tools/migration'
> rm -f prosody-migrator.install
> rm -f migrator.cfg.lua.install
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/tools/migration'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f prosody.install
> rm -f prosodyctl.install
> rm -f prosody.cfg.lua.install
> rm -f prosody.version
> make clean -C util-src
> make[3]: Entering directory '/<<PKGBUILDDIR>>/util-src'
> rm -f encodings.so hashes.so net.so pposix.so signal.so table.so ringbuffer.so time.so poll.so compat.so strbitop.so struct.so encodings.o hashes.o net.o pposix.o signal.o table.o ringbuffer.o time.o poll.o compat.o strbitop.o struct.o
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/util-src'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f prosody.8 prosodyctl.8 ejabberd2prosody.8 prosody-migrator.8
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./prosody_0.12.3.orig.tar.gz.asc
> gpgv: Signature made Tue Feb 21 10:07:08 2023 UTC
> gpgv:                using RSA key 32A9EDDE3609931EB98CEAC315907E8E7BDD6BFE
> gpgv: Note: signatures using the SHA1 algorithm are rejected
> gpgv: Can't check signature: Bad public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./prosody_0.12.3.orig.tar.gz: no acceptable signature found
> dpkg-source: info: building prosody using existing ./prosody_0.12.3.orig.tar.gz
> dpkg-source: info: building prosody using existing ./prosody_0.12.3.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to util/compat.so: binary file contents changed
> dpkg-source: error: add util/compat.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/encodings.so: binary file contents changed
> dpkg-source: error: add util/encodings.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/hashes.so: binary file contents changed
> dpkg-source: error: add util/hashes.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/net.so: binary file contents changed
> dpkg-source: error: add util/net.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/poll.so: binary file contents changed
> dpkg-source: error: add util/poll.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/pposix.so: binary file contents changed
> dpkg-source: error: add util/pposix.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/ringbuffer.so: binary file contents changed
> dpkg-source: error: add util/ringbuffer.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/signal.so: binary file contents changed
> dpkg-source: error: add util/signal.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/strbitop.so: binary file contents changed
> dpkg-source: error: add util/strbitop.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/struct.so: binary file contents changed
> dpkg-source: error: add util/struct.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/table.so: binary file contents changed
> dpkg-source: error: add util/table.so in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to util/time.so: binary file contents changed
> dpkg-source: error: add util/time.so 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/prosody_0.12.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.



More information about the Pkg-xmpp-devel mailing list