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

Bug 126801

Summary: pkg-config looks up pc files in the wrong dir
Product: Portage Development Reporter: Simon Stelling (RETIRED) <blubb>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: amd64
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 115839, 124816, 720866    
Attachments: patch
patch

Description Simon Stelling (RETIRED) gentoo-dev 2006-03-19 06:21:00 UTC
This is more or less the same as bug 118815 (but not a duplicate of course ;)).

Problem is that build-time specific data is used for the wrong ABI. If LIBDIR_$ABI is not lib or lib is not a symlink to LIBDIR_$ABI then that's probably the case. The fix is quite easy: Make pkg-config search the correct directory by setting PKG_CONFIG_PATH in src_compile() where configure is called.
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-19 06:21:31 UTC
Created attachment 82548 [details, diff]
patch
Comment 2 SpanKY gentoo-dev 2006-03-19 14:49:51 UTC
should also add [ -z "${PKG_CONFIG_PATH}" ] in case user set it themselves ...
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-03-20 10:45:19 UTC
Created attachment 82683 [details, diff]
patch

indeed
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-04-06 12:47:56 UTC
r3083
Comment 5 Zac Medico gentoo-dev 2006-04-09 00:11:23 UTC
Released in 2.1_pre7-r5.