qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should QEMU's configure script check for bzip2 ?


From: Philippe Mathieu-Daudé
Subject: Re: Should QEMU's configure script check for bzip2 ?
Date: Fri, 8 Nov 2019 11:20:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 11/8/19 10:48 AM, Daniel P. Berrangé wrote:
On Thu, Nov 07, 2019 at 08:43:27PM +0100, Thomas Huth wrote:

  Hi,

I just tried to compile QEMU on a freshly installed system. "configure"
finished without problems, but during "make" I hit this error:

   BUNZIP2 pc-bios/edk2-i386-secure-code.fd.bz2
/bin/sh: bzip2: command not found
make: *** [Makefile:305: pc-bios/edk2-i386-secure-code.fd] Error 127
make: *** Deleting file 'pc-bios/edk2-i386-secure-code.fd'
make: *** Waiting for unfinished jobs....

Sure, it's easy to fix, but maybe "configure" should already check for the

You found a bug :)

availablity of "bzip2", so that we then either skip the installation of the
edk2 images if "bzip2" is not available, or bail out during "configure"
already?

The general rule is that if we run a binary we should check for it upfront
so users immediately see any missing pre-requisites, rather than wasting
30 minutes waiting for QEMU to build & then fail.

Yes, I'll send a fix.

Regards,

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]