Package: qemu Version: 4.1-3 Severity: normal Tags: patch This patch fixes the qemu build on the hppa platform to build just the *minimal* set of binary/guest packages for the hppa architecture: qemu-utils, qemu-guest-agent and qemu-block-extra
The real emulation packages/binaries like qemu-user or qemu-system-* are NOT built, because they will probably be too slow when compiled with tcg-interpreter. Currently the build of qemu fails in general, so this patch is already a big improvement: https://buildd.debian.org/status/logs.php?pkg=qemu&arch=hppa Please apply, Thanks, Helge
diff -up ./debian/control.org ./debian/control --- ./debian/control.org 2019-12-02 14:45:49.932801743 +0100 +++ ./debian/control 2019-12-02 15:57:57.928304454 +0100 @@ -166,7 +166,7 @@ Description: QEMU full system emulation QEMU supports. Package: qemu-block-extra -Architecture: amd64 arm arm64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32 +Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32 Multi-Arch: same Depends: ${misc:Depends}, ${shlibs:Depends}, Enhances: qemu-utils, qemu-system-misc, @@ -428,7 +428,7 @@ Description: QEMU user mode binfmt regis at install and remove times. Package: qemu-utils -Architecture: amd64 arm arm64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32 +Architecture: amd64 arm arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390x sparc sparc64 x32 Multi-Arch: foreign Breaks: qemu-system-common (<< 1:3.1+dfsg-3~) Depends: ${shlibs:Depends}, ${misc:Depends} diff -up ./debian/rules.org ./debian/rules --- ./debian/rules.org 2019-12-02 14:45:26.864895280 +0100 +++ ./debian/rules 2019-12-02 14:54:24.690712840 +0100 @@ -53,6 +53,11 @@ ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST common_configure_opts += --cross-prefix=$(DEB_HOST_GNU_TYPE)- endif +# allow configure to build native qemu packages like qemu-utils and qemu-block-extra +ifneq ($(DEB_TARGET_ARCH), $(hppa)) +common_configure_opts += --enable-tcg-interpreter +endif + ifeq (${enable_system},enable) # list of system (softmmu) targets, from ./configure