Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926431 - sys-apps/kmod-32-r2 installs pkg-config files that do not respect libdir
Summary: sys-apps/kmod-32-r2 installs pkg-config files that do not respect libdir
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pkg-config_mismatched-libdir
  Show dependency tree
 
Reported: 2024-03-08 07:52 UTC by Agostino Sarubbo
Modified: 2024-06-21 11:02 UTC (History)
0 users

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


Attachments
build.log (build.log,101.43 KB, text/plain)
2024-03-08 07:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.