[Pkg-libvirt-maintainers] Bug#993915: libguestfs FTBFS on some buildds

Adrian Bunk bunk at debian.org
Wed Sep 8 07:32:01 BST 2021


Source: libguestfs
Version: 1:1.44.1-4
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/logs.php?pkg=libguestfs&ver=1%3A1.44.1-4

...
unset XDG_RUNTIME_DIR; \
	if ! test -w /dev/kvm; then \
		export LIBGUESTFS_BACKEND_SETTINGS=force_tcg; \
	fi
make -C /<<PKGBUILDDIR>>/debian/build-4 quickcheck
make[2]: Entering directory '/<<PKGBUILDDIR>>/debian/build-4'
./run test-tool/libguestfs-test-tool
libguestfs: error: converting path to absolute path: XDG_RUNTIME_DIR: /run/user/2952: realpath: No such file or directory
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
/<<PKGBUILDDIR>>/debian/build-4/test-tool/.libs/libguestfs-test-tool: failed parsing environment variables.
Check earlier messages, and the output of the ‘printenv’ command.
make[2]: *** [Makefile:3187: quickcheck] Error 1


08:46 < bunk> on x86 and arm64, *except* x86-grnet-01
08:46 < bunk> 1. Why not on grnet?
08:46 < bunk> 2. Is dh compat 13 worth a recommendation to the maintainer?
09:17 < aurel32> i guess it's because the buildds at grnet are using pybuildd, which is not affected by the libpam-systemd/schroot bug
09:19 < aurel32> and yes debhelper compat 13 might help there, at least present a stable environment


The dh compat 13 change is

  The dh_auto_* helpers now reset the environment variables
  HOME and common XDG_* variable.  Please see description of
  the environment variables in "ENVIRONMENT" for how this is
  handled.


More information about the Pkg-libvirt-maintainers mailing list