In x11-libs/libdrm-2.4.26 ebuild, libpciaccess is listed as a "DEPEND" component which is correct as long as you do not use VIDEO_CARDS="intel". Indeed libdrm_intel is linked with libpciaccess, so in this case you need to add libpciaccess as "RDEPEND" in the ebuild: readelf -d /usr/lib/libdrm_intel.so.1.0.0 Dynamic section at offset 0x9efc contains 25 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libdrm.so.2] 0x00000001 (NEEDED) Shared library: [libpciaccess.so.0] 0x00000001 (NEEDED) Shared library: [librt.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000e (SONAME) Library soname: [libdrm_intel.so.1] ... Reproducible: Always Steps to Reproduce: 1.VIDEO_CARDS+="intel" emerge libdrm 2.readelf -d /usr/lib/libdrm_intel.so.1.0.0 and you will see the runtime dependency with libpciaccess 3.have a look at the ebuild to check that libpciaccess is just list as a DEPEND
Indeed. Thanks for the report. I shouldn't have missed this when I added libpciaccess to DEPEND. Thanks! (Changes committed to 2.4.25, 2.4.26, and -9999)