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

Bug 931597

Summary: dev-libs/stb-20240201-r1 does not produce pkgconfig with custom EPREFIX
Product: Gentoo Linux Reporter: Bigos <wielkiegie>
Component: Current packagesAssignee: 3D Printing Team <3dprint>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, mathy, proxy-maint, wielkiegie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The modified ebuild file

Description Bigos 2024-05-08 17:13:14 UTC
Hello.

The custom install command introduced in bug 876034 does not work correctly when EPREFIX is non-empty. This is the case for me as I am trying to install the package using Gentoo/Prefix.

I have fixed that locally by prepending "/usr" with ${EPREFIX} on two lines (I am not sure about the `insinto` line):

-cat > "${D}"/usr/share/pkgconfig/stb.pc <<-EOF
+cat > "${D}/${EPREFIX}"/usr/share/pkgconfig/stb.pc <<-EOF
-prefix=/usr
+prefix=${EPREFIX}/usr

Reproducible: Always
Comment 1 Bigos 2024-05-08 17:13:52 UTC
Created attachment 892538 [details]
The modified ebuild file