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

Bug 388809

Summary: dev-util/pkgconfig-0.26 has typo in setting PKG_CONFIG_PATH in prefix
Product: Gentoo Linux Reporter: Steven Trogdon <strogdon>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steven Trogdon 2011-10-28 22:35:02 UTC
Assuming the PKG_CONFIG_PATH variable is to be set in prefix then that variable is set incorrectly. There is a typo in the section of the subject ebuild that defines the PKG_CONFIG_PATH variable in etc/env.d/99pkgconfig. The typo is in the line

 echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(libdir)/pkgconfig:${EPREFIX}/us
r/share/pkgconfig" >> "${T}"/99${PN}

which should read

 echo "PKG_CONFIG_PATH=${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/us
r/share/pkgconfig" >> "${T}"/99${PN}

Reproducible: Always

Steps to Reproduce:
1.emerge pkgconfig in prefix
2.env | grep PKG
3.
Actual Results:  
PKG_CONFIG_PATH=/data/prefix/gentoo/usr//pkgconfig:/data/prefix/gentoo/usr/share/pkgconfig

Expected Results:  
PKG_CONFIG_PATH=/data/prefix/gentoo/usr/lib/pkgconfig:/data/prefix/gentoo/usr/share/pkgconfig
Comment 1 Steven Trogdon 2011-10-31 01:26:11 UTC
OK, this should be marked as a duplicate of bug 388925 reported by François Bissey which appears to be fixed there.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-10-31 15:03:35 UTC

*** This bug has been marked as a duplicate of bug 388925 ***