Bug#1044169: grub2: Fails to build source after successful build

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


Source: grub2
Version: 2.06-13
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 grub2
> dpkg-buildpackage: info: source version 2.06-13
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Steve McIntyre <93sam at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with=bash_completion
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -rf debian/grub-extras-enabled debian/stamps obj
> rm -f contrib grub-core/contrib
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    debian/rules override_dh_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_clean
> chmod +x debian/{bug-script,grub.d/*,legacy/*,kernel/*}
> for i in config templates preinst postinst postrm dirs install links maintscript bash-completion ; do \
> 	rm -f debian/grub-{pc,efi-*,ieee1275,coreboot,uboot,xen,yeeloong,emu}{,-bin,-dbg}.$i ; \
> done
> rm -f debian/grub-common.bash-completion debian/grub-common.maintscript
> rm -rf debian/tmp-*/
> # make sure PO files are always up-to-date
> debconf-updatepo
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./grub2_2.06.orig.tar.xz.asc
> gpgv: Signature made Tue Jun  8 15:11:08 2021 UTC
> gpgv:                using RSA key BE5C23209ACDDACEB20DB0A28C8189F1988C2166
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for ./grub2_2.06.orig.tar.xz: no acceptable signature found
> dpkg-source: info: building grub2 using existing ./grub2_2.06.orig.tar.xz
> dpkg-source: info: building grub2 using existing ./grub2_2.06.orig.tar.xz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file Makefile.util.am, 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 Makefile.in, 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-util.h.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/config.rpath, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/install-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/mdate-sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/texinfo.tex, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/compile, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/depcomp, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/test-driver, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/missing, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/extern-inline.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file include/grub/gcrypt/g10lib.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/stamp-vti, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/version-dev.texi, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/grub.info, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/stamp-1, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/grub-dev.info, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file docs/version.texi, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/Makefile.in.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/grub.pot, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/POTFILES.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/unidata.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/Makefile.core.am, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/gnulib/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-add1.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpi-asm-defs.h, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-mul1.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-sub1.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-mul3.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-rshift.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-lshift.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/mpi/mpih-mul2.c, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file grub-core/lib/libgcrypt-grub/cipher/ChangeLog, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file util/bash-completion.d/Makefile.in, use --include-removal to override
> dpkg-source: error: cannot represent change to docs/grub.info-2: binary file contents changed
> dpkg-source: error: add docs/grub.info-2 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ast.gmo: binary file contents changed
> dpkg-source: error: add po/ast.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ca.gmo: binary file contents changed
> dpkg-source: error: add po/ca.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/da.gmo: binary file contents changed
> dpkg-source: error: add po/da.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/de.gmo: binary file contents changed
> dpkg-source: error: add po/de.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/de at hebrew.gmo: binary file contents changed
> dpkg-source: error: add po/de at hebrew.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/de_CH.gmo: binary file contents changed
> dpkg-source: error: add po/de_CH.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at arabic.gmo: binary file contents changed
> dpkg-source: error: add po/en at arabic.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at cyrillic.gmo: binary file contents changed
> dpkg-source: error: add po/en at cyrillic.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at greek.gmo: binary file contents changed
> dpkg-source: error: add po/en at greek.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at hebrew.gmo: binary file contents changed
> dpkg-source: error: add po/en at hebrew.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at piglatin.gmo: binary file contents changed
> dpkg-source: error: add po/en at piglatin.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/en at quot.gmo: binary file contents changed
> dpkg-source: error: add po/en at quot.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/eo.gmo: binary file contents changed
> dpkg-source: error: add po/eo.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/es.gmo: binary file contents changed
> dpkg-source: error: add po/es.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/fi.gmo: binary file contents changed
> dpkg-source: error: add po/fi.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/fr.gmo: binary file contents changed
> dpkg-source: error: add po/fr.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/gl.gmo: binary file contents changed
> dpkg-source: error: add po/gl.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/hr.gmo: binary file contents changed
> dpkg-source: error: add po/hr.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/hu.gmo: binary file contents changed
> dpkg-source: error: add po/hu.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/id.gmo: binary file contents changed
> dpkg-source: error: add po/id.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/it.gmo: binary file contents changed
> dpkg-source: error: add po/it.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ja.gmo: binary file contents changed
> dpkg-source: error: add po/ja.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ko.gmo: binary file contents changed
> dpkg-source: error: add po/ko.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/lg.gmo: binary file contents changed
> dpkg-source: error: add po/lg.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/lt.gmo: binary file contents changed
> dpkg-source: error: add po/lt.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/nb.gmo: binary file contents changed
> dpkg-source: error: add po/nb.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/nl.gmo: binary file contents changed
> dpkg-source: error: add po/nl.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/pa.gmo: binary file contents changed
> dpkg-source: error: add po/pa.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/pl.gmo: binary file contents changed
> dpkg-source: error: add po/pl.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/pt.gmo: binary file contents changed
> dpkg-source: error: add po/pt.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/pt_BR.gmo: binary file contents changed
> dpkg-source: error: add po/pt_BR.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ro.gmo: binary file contents changed
> dpkg-source: error: add po/ro.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/ru.gmo: binary file contents changed
> dpkg-source: error: add po/ru.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/sl.gmo: binary file contents changed
> dpkg-source: error: add po/sl.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/sr.gmo: binary file contents changed
> dpkg-source: error: add po/sr.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/sv.gmo: binary file contents changed
> dpkg-source: error: add po/sv.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/tr.gmo: binary file contents changed
> dpkg-source: error: add po/tr.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/uk.gmo: binary file contents changed
> dpkg-source: error: add po/uk.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/vi.gmo: binary file contents changed
> dpkg-source: error: add po/vi.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/zh_CN.gmo: binary file contents changed
> dpkg-source: error: add po/zh_CN.gmo in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to po/zh_TW.gmo: binary file contents changed
> dpkg-source: error: add po/zh_TW.gmo 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/grub2_2.06-13_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-grub-devel mailing list