[Pkg-libvirt-maintainers] Bug#1045306: libguestfs: Fails to build source after successful build

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


Source: libguestfs
Version: 1:1.50.1-4
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 libguestfs
> dpkg-buildpackage: info: source version 1:1.50.1-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Hilko Bengen <bengen at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean \
>    --without=python-support \
>    --with=ocaml,python3,bash-completion,ruby,gir,lua,php
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean --builddir=/<<PKGBUILDDIR>>/debian/build-1
> dh_auto_clean --builddir=/<<PKGBUILDDIR>>/debian/build-2
> dh_auto_clean --builddir=/<<PKGBUILDDIR>>/debian/build-3
> dh_auto_clean --builddir=/<<PKGBUILDDIR>>/debian/build-4
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_ocamlclean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building libguestfs using existing ./libguestfs_1.50.1.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to golang/src/src:
> dpkg-source: error:   new version is symlink to /<<PKGBUILDDIR>>/debian/build-1/../../golang/src
> dpkg-source: error:   old version is nonexistent
> 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 rust/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file fuse/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file build-aux/ltmain.sh, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file fish/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file generator/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file gnulib/lib/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file lua/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file lua/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file csharp/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file lib/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file tests/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file include/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file php/Makefile.in, 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 appliance/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file ocaml/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file ocaml/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file perl/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file perl/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file bash/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file gobject/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-data/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-data/binaries/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-data/phony-guests/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-data/blank-disks/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-data/files/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file erlang/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file erlang/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file test-tool/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file haskell/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/libguestfs.pot, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/mr.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/ta.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/fi.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/kn.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/nl.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/gu.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/fr.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/ru.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/uk.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/zh_CN.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/eu.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/ml.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/en_GB.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/si.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/hi.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/pa.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/ka.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/or.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/pl.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/tg.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/ja.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/te.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/de.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/es.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po/cs.gmo, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file java/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file java/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file ruby/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file ruby/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file python/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file python/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/options/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/visit/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/edit/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/windows/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/qemuopts/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/protocol/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/mlstdutils/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/parallel/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/progress/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/mlutils/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/errnostring/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/utils/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/structs/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file common/mlpcre/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file rescue/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po-docs/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po-docs/uk/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file po-docs/ja/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file golang/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file golang/examples/Makefile.in, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file daemon/Makefile.in, use --include-removal to override
> dpkg-source: error: cannot represent change to generator/.pod2text.data.version.2: binary file contents changed
> dpkg-source: error: add generator/.pod2text.data.version.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 java/examples/CreateDisk$1.class: binary file contents changed
> dpkg-source: error: add java/examples/CreateDisk$1.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to java/examples/CreateDisk.class: binary file contents changed
> dpkg-source: error: add java/examples/CreateDisk.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to java/examples/InspectVM$1.class: binary file contents changed
> dpkg-source: error: add java/examples/InspectVM$1.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to java/examples/InspectVM$2.class: binary file contents changed
> dpkg-source: error: add java/examples/InspectVM$2.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to java/examples/InspectVM.class: binary file contents changed
> dpkg-source: error: add java/examples/InspectVM.class in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/create_disk.cmi: binary file contents changed
> dpkg-source: error: add ocaml/examples/create_disk.cmi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/create_disk.cmx: binary file contents changed
> dpkg-source: error: add ocaml/examples/create_disk.cmx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/create_disk.o: binary file contents changed
> dpkg-source: error: add ocaml/examples/create_disk.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 ocaml/examples/debug_logging.cmi: binary file contents changed
> dpkg-source: error: add ocaml/examples/debug_logging.cmi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/debug_logging.cmx: binary file contents changed
> dpkg-source: error: add ocaml/examples/debug_logging.cmx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/debug_logging.o: binary file contents changed
> dpkg-source: error: add ocaml/examples/debug_logging.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 ocaml/examples/inspect_vm.cmi: binary file contents changed
> dpkg-source: error: add ocaml/examples/inspect_vm.cmi in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/inspect_vm.cmx: binary file contents changed
> dpkg-source: error: add ocaml/examples/inspect_vm.cmx in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to ocaml/examples/inspect_vm.o: binary file contents changed
> dpkg-source: error: add ocaml/examples/inspect_vm.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 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/libguestfs_1.50.1-4_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-libvirt-maintainers mailing list