Package: qemu
Version: 5.0-6
Severity: normal
Tags: ftbfs patch

qemu-5.0 fails to build from source, because when the debian package is 
packaged,
some executables were not built. Here is an example:

dh_install: warning: Cannot find (any matches for) 
"debian/tmp/usr/bin/qemu-img" (tried in ., debian/tmp)
dh_install: warning: Cannot find (any matches for) 
"debian/tmp/usr/bin/qemu-nbd" (tried in ., debian/tmp)
dh_install: warning: Cannot find (any matches for) "debian/tmp/usr/bin/qemu-ga" 
(tried in ., debian/tmp)
...

Adding "--enable-tools" to the hppa specific configure line
enables building of the tools on hppa:

+++ ./debian/rules      2020-07-06 08:24:40.642426829 +0000
@@ -65,7 +65,7 @@ endif
 ifeq ($(DEB_TARGET_ARCH), hppa)
 # allow configure to run on unsupported arches to build qemu-utils and the like
-common_configure_opts += --enable-tcg-interpreter
+common_configure_opts += --enable-tcg-interpreter --enable-tools


Sucessfully build-tested on a hppa machine.
Patch is attached.
Please appy before next upload.

THANKS!
Helge
diff -up ./debian/rules.org ./debian/rules
--- ./debian/rules.org	2020-07-06 08:34:58.870813670 +0000
+++ ./debian/rules	2020-07-06 08:24:40.642426829 +0000
@@ -65,7 +65,7 @@ endif

 ifeq ($(DEB_TARGET_ARCH), hppa)
 # allow configure to run on unsupported arches to build qemu-utils and the like
-common_configure_opts += --enable-tcg-interpreter
+common_configure_opts += --enable-tcg-interpreter --enable-tools
 endif

 ifeq (${enable_system},enable)

Reply via email to