[Pkg-samba-maint] Bug#1043787: cifs-utils: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 14:17:56 BST 2023


Source: cifs-utils
Version: 2:7.0-2
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 cifs-utils
> dpkg-buildpackage: info: source version 2:7.0-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Michael Tokarev <mjt at tls.msk.ru>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean --with bash-completion
>    debian/rules override_dh_auto_clean-arch
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f debian/postinst debian/prerm
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./cifs-utils_7.0.orig.tar.bz2.asc
> gpgv: Signature made Thu Aug 11 20:56:07 2022 UTC
> gpgv:                using RSA key DF5BA9D30642D5A0
> 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 ./cifs-utils_7.0.orig.tar.bz2: no acceptable signature found
> dpkg-source: info: building cifs-utils using existing ./cifs-utils_7.0.orig.tar.bz2
> dpkg-source: info: building cifs-utils using existing ./cifs-utils_7.0.orig.tar.bz2.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file aclocal.m4, use --include-removal to override
> 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 configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file config.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file contrib/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file contrib/request-key.d/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of directory autom4te.cache
> dpkg-source: warning: ignoring deletion of file autom4te.cache/requests, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/output.1, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/traces.1, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/output.0, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file autom4te.cache/traces.0, use --include-removal to override
> dpkg-source: error: cannot represent change to asn1.o: binary file contents changed
> dpkg-source: error: add asn1.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 cifs.idmap: binary file contents changed
> dpkg-source: error: add cifs.idmap in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'cifs.idmap' will not be represented in diff
> dpkg-source: error: cannot represent change to cifs.idmap.o: binary file contents changed
> dpkg-source: error: add cifs.idmap.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 cifs.upcall: binary file contents changed
> dpkg-source: error: add cifs.upcall in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'cifs.upcall' will not be represented in diff
> dpkg-source: error: cannot represent change to cifs.upcall.o: binary file contents changed
> dpkg-source: error: add cifs.upcall.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 cifscreds: binary file contents changed
> dpkg-source: error: add cifscreds in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'cifscreds' will not be represented in diff
> dpkg-source: error: cannot represent change to cifscreds.o: binary file contents changed
> dpkg-source: error: add cifscreds.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 cifskey.o: binary file contents changed
> dpkg-source: error: add cifskey.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 'config.status' will not be represented in diff
> dpkg-source: error: cannot represent change to data_blob.o: binary file contents changed
> dpkg-source: error: add data_blob.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 getcifsacl: binary file contents changed
> dpkg-source: error: add getcifsacl in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'getcifsacl' will not be represented in diff
> dpkg-source: error: cannot represent change to getcifsacl.o: binary file contents changed
> dpkg-source: error: add getcifsacl.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 idmap_plugin.o: binary file contents changed
> dpkg-source: error: add idmap_plugin.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 idmapwb.so: binary file contents changed
> dpkg-source: error: add idmapwb.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 'idmapwb.so' will not be represented in diff
> dpkg-source: error: cannot represent change to mount.cifs: binary file contents changed
> dpkg-source: error: add mount.cifs in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'mount.cifs' will not be represented in diff
> dpkg-source: error: cannot represent change to mount.cifs.o: binary file contents changed
> dpkg-source: error: add mount.cifs.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 mtab.o: binary file contents changed
> dpkg-source: error: add mtab.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 pam_cifscreds.so: binary file contents changed
> dpkg-source: error: add pam_cifscreds.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 'pam_cifscreds.so' will not be represented in diff
> dpkg-source: error: cannot represent change to resolve_host.o: binary file contents changed
> dpkg-source: error: add resolve_host.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 setcifsacl: binary file contents changed
> dpkg-source: error: add setcifsacl in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'setcifsacl' will not be represented in diff
> dpkg-source: error: cannot represent change to setcifsacl.o: binary file contents changed
> dpkg-source: error: add setcifsacl.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 spnego.o: binary file contents changed
> dpkg-source: error: add spnego.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 util.o: binary file contents changed
> dpkg-source: error: add util.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 29
> 
> 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/cifs-utils_7.0-2_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-samba-maint mailing list