| Summary: | app-emulation/qemu-6.1.0 - ../.../trace.h: fatal error: trace/trace-ebpf.h: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ajak, alexandref75, atoth, dschridde+gentoobugs, fabio.coatti, gentoo, lssndrbarbieri, pageexec, sam, virtualization, zlogene, zoltan |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
app-emulation:qemu-6.1.0:20210923-045406.log emerge-history.txt environment etc.portage.tar.bz2 patch that finds the bpf static libraries |
||
|
Description
Toralf Förster
2021-09-23 07:18:44 UTC
Created attachment 740823 [details]
emerge-info.txt
Created attachment 740826 [details]
app-emulation:qemu-6.1.0:20210923-045406.log
Created attachment 740829 [details]
emerge-history.txt
Created attachment 740832 [details]
environment
Created attachment 740835 [details]
etc.portage.tar.bz2
And slyfox's fix at https://github.com/trofi/slyfox-gentoo/commit/dc50b543e076c36a446a4eb30a6453d1f1d0d603 FWIW - The upstream patch at: https://patchew.org/QEMU/20210907104512.129103-1-pbonzini@redhat.com/#20210907104512.129103-1-pbonzini@redhat.com Also fixes this issue for me when dropped in /etc/portage/patches... The second patch allows qeme user emulation to be compiled statically with bpf, it also require elf to be compile with statc-libs. Created attachment 741816 [details, diff]
patch that finds the bpf static libraries
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41a325ea429a98833868c9370f5ee2c7af540477 commit 41a325ea429a98833868c9370f5ee2c7af540477 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2021-10-11 03:46:10 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2021-10-11 03:47:42 +0000 app-emulation/qemu: fix build failure when libbpf is present Closes: https://bugs.gentoo.org/814458 Signed-off-by: John Helmert III <ajak@gentoo.org> .../qemu/files/qemu-6.1.0-automagic-libbpf.patch | 21 +++++++++++++++++++++ app-emulation/qemu/metadata.xml | 1 + app-emulation/qemu/qemu-6.1.0.ebuild | 5 ++++- 3 files changed, 26 insertions(+), 1 deletion(-) |