Source: xapian-core
Version: 1.4.22-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 xapian-core
> dpkg-buildpackage: info: source version 1.4.22-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Olly Betts <[email protected]>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./xapian-core_1.4.22.orig.tar.xz.asc
> gpgv: Signature made Thu Feb  2 01:44:39 2023 UTC
> gpgv:                using RSA key 08E2400FF7FE8FEDE3ACB52818147B073BAD2B07
> gpgv: [don't know]: invalid packet (ctb=2d)
> gpgv: keydb_search failed: Invalid packet
> gpgv: [don't know]: invalid packet (ctb=2d)
> gpgv: keydb_search failed: Invalid packet
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for 
> ./xapian-core_1.4.22.orig.tar.xz: no acceptable signature found
> dpkg-source: info: building xapian-core using existing 
> ./xapian-core_1.4.22.orig.tar.xz
> dpkg-source: info: building xapian-core using existing 
> ./xapian-core_1.4.22.orig.tar.xz.asc
> dpkg-source: error: cannot represent change to build/.libs/libgetopt.la:
> dpkg-source: error:   new version is symlink to ../libgetopt.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to build/.libs/libxapian.la:
> dpkg-source: error:   new version is symlink to ../libxapian.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to build/.libs/libxapian.so.30:
> dpkg-source: error:   new version is symlink to libxapian.so.30.12.3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to build/.libs/libxapian.so:
> dpkg-source: error:   new version is symlink to libxapian.so.30.12.3
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: ignoring deletion of file INSTALL, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file Makefile.in, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file compile, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file ltmain.sh, use 
> --include-removal to override
> dpkg-source: warning: ignoring deletion of file configure, use 
> --include-removal to override
[...]
> dpkg-source: error: add build/weight/.libs/pl2weight.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 
> build/weight/.libs/tfidfweight.o: binary file contents changed
> dpkg-source: error: add build/weight/.libs/tfidfweight.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 
> build/weight/.libs/tradweight.o: binary file contents changed
> dpkg-source: error: add build/weight/.libs/tradweight.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 build/weight/.libs/weight.o: 
> binary file contents changed
> dpkg-source: error: add build/weight/.libs/weight.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 
> build/weight/.libs/weightinternal.o: binary file contents changed
> dpkg-source: error: add build/weight/.libs/weightinternal.o 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/xapian-config' 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/xapian-core_1.4.22-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