[Pkg-libvirt-maintainers] Bug#1023420: libvirt FTBFS: missing Build-Depends: mount

Andrea Bolognani eof at kiyuko.org
Wed Nov 16 11:34:40 GMT 2022


On Thu, Nov 03, 2022 at 08:12:53PM +0100, Helmut Grohne wrote:
> Source: libvirt
> Version: 8.5.0-1
> Severity: serious
> Tags: ftbfs
> 
> libvirt fails to build from source in unstable on a minimal chroot.
> mount is no longer essential nor build-essential, so you must add it to
> Build-Depends explicitly.

Hi Helmut,

thanks for the report!

The handling of mount and other similar commands is currently not
ideal: none of them should be required to be present at build time,
since libvirt is perfectly capable of finding them at runtime. This
is, in fact, what we already do for several other programs. I will
write a patch fixing this and submit it upstream.

In the meantime, adding an explicit build time (and runtime!)
dependency on mount will do the trick.

Can you please tell me how you created the very minimal chroot in
which you reproduced the issue? A fresh one created today with
cowbuilder still contains mount, and even adding

  DEBOOTSTRAPOPTS="--variant=minbase"

to pbuilderrc doesn't change this. I just want to make sure there are
no other commands that need the same treatment.

Cheers.

-- 
Andrea Bolognani <eof at kiyuko.org>
Resistance is futile, you will be garbage collected.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20221116/64f4294f/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list