Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686412

Summary: app-emulation/qemu-4.0.0-r3 - with USE=infiniband .../work/qemu-4.0.0/hw/rdma/rdma_backend.c:24:10: fatal error: infiniband/umad_types.h: No such file or directory
Product: Gentoo Linux Reporter: Eduardo Coutinho Scalabrin <cafaia>
Component: Current packagesAssignee: Matthias Maier <tamiko>
Status: RESOLVED FIXED    
Severity: normal CC: cafaia, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.tar.gz
emerge --info

Description Eduardo Coutinho Scalabrin 2019-05-20 20:08:21 UTC
Created attachment 577422 [details]
build.tar.gz

I have this error while trying to install app-emulation/qemu-4.0.0-r3:

/var/tmp/portage/app-emulation/qemu-4.0.0-r3/work/qemu-4.0.0/hw/rdma/rdma_backend.c:24:10: fatal error: infiniband/umad_types.h: No such file or directory
 #include <infiniband/umad_types.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [/var/tmp/portage/app-emulation/qemu-4.0.0-r3/work/qemu-4.0.0/rules.mak:69: hw/rdma/rdma_backend.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/app-emulation/qemu-4.0.0-r3/work/qemu-4.0.0/softmmu-build/i386-softmmu'
make: *** [Makefile:450: subdir-i386-softmmu] Error 2
Comment 1 Eduardo Coutinho Scalabrin 2019-05-20 20:10:40 UTC
Created attachment 577424 [details]
emerge --info
Comment 2 Eduardo Coutinho Scalabrin 2019-05-20 20:26:19 UTC
I have this in file /etc/portage/package.use/qemu.use:

app-emulation/qemu infiniband iscsi qemu_softmmu_targets_i386 qemu_user_targets_x86_64 spice vte
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2019-05-20 23:15:08 UTC
Comment on attachment 577422 [details]
build.tar.gz

Why did you compress a single file into a tarball when you could compress the file itself?
Comment 4 Larry the Git Cow gentoo-dev 2019-05-21 03:53:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e1b02c0c7fcd1088f4efd7cbe721ca70c6df8a

commit 06e1b02c0c7fcd1088f4efd7cbe721ca70c6df8a
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-05-21 03:52:24 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-05-21 03:53:05 +0000

    app-emulation/qemu: fix infiniband include
    
    Closes: https://bugs.gentoo.org/686412
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../qemu/files/qemu-4.0.0-fix_infiniband_include.patch       | 12 ++++++++++++
 app-emulation/qemu/qemu-4.0.0-r3.ebuild                      |  1 +
 app-emulation/qemu/qemu-9999.ebuild                          |  1 +
 3 files changed, 14 insertions(+)