Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952849 - app-emulation/qemu-9.1.2 should depend on libbpf >= 1.1.0
Summary: app-emulation/qemu-9.1.2 should depend on libbpf >= 1.1.0
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 20:44 UTC by Andrew John Hughes
Modified: 2025-03-28 20:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2025-03-28 20:44:58 UTC
qemu has no version dependency on libbpf but there is a version (0.8.1) still in the Gentoo repository that is too old.

Dependency libbpf found: NO found 0.8.0 but need: '>=1.1.0'
Run-time dependency libbpf found: NO 

../meson.build:2106:9: ERROR: Dependency lookup for libbpf with method 'pkgconfig' failed: Invalid version, need 'libbpf' ['>=1.1.0'] found '0.8.0'.


Reproducible: Always

Steps to Reproduce:
1. Install libbpf-0.8.0
2. Try to emerge qemu-9.1.2
3.
Actual Results:  
Fails as above

Expected Results:  
Dependency causes libbpf to be upgraded to a version > 1.1.0

Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/systemd, gcc-13, glibc-2.40-r5, 5.10.52-gentoo.hex x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo.hex-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.40
KiB Mem:    65824108 total,    966988 free
KiB Swap:  124999672 total, 124979364 free
Timestamp of repository gentoo: Fri, 28 Mar 2025 07:15:00 +0000
Head commit of repository gentoo: 3a84c40ff9ccdbbbbc4d11e16b7f5df38239b7d2
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r7::gentoo, 2.69-r9::gentoo, 2.71-r6::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo, 3.13.0::gentoo
dev-lang/rust:             1.81.0-r100::gentoo, 1.82.0-r101::gentoo
llvm-core/clang:           15.0.7-r1::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/lld:             15.0.7::gentoo, 17.0.6::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/llvm:            14.0.6-r2::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r4::gentoo, 19.1.4::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          255.7-r1::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.40-r5::gentoo, 2.42-r2::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.3.2::gentoo
sys-devel/gcc:             11.5.0::gentoo, 12.4.1_p20241114::gentoo, 13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo