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

Bug 926431

Summary: sys-apps/kmod-32-r2 installs pkg-config files that do not respect libdir
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/kmod-project/kmod/pull/36
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 861701    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-08 07:52:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-apps/kmod-32 installs pkg-config files that do not respect libdir.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0065
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-08 07:52:08 UTC
Created attachment 886967 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-08 09:10:44 UTC
clang-lld_tinderbox has reproduced this issue with version 32-r1 - Updating summary.
Comment 3 Mike Gilbert gentoo-dev 2024-03-08 18:55:52 UTC
kmod.pc contains this:

prefix=/usr
sysconfdir=/etc
distconfdir=${prefix}/lib
module_directory=/lib/modules
module_compressions=gzip xz zstd
module_signatures=legacy

Name: kmod
Description: Tools to deal with kernel modules
Version: 32

The distconfdir setting is correct; it should be "lib" and not "lib64".

I think the easy solution here is to move kmod.pc from /usr/lib64/pkgconfig to /usr/share/pkgconfig.
Comment 4 Mike Gilbert gentoo-dev 2024-03-12 15:35:57 UTC
Fix has been merged upstream. I don't think it is worth backporting.
Comment 5 Agostino Sarubbo gentoo-dev 2024-06-21 11:02:20 UTC
ci has reproduced this issue with version 32-r2 - Updating summary.