Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126801 - pkg-config looks up pc files in the wrong dir
Summary: pkg-config looks up pc files in the wrong dir
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 115839 124816 720866
  Show dependency tree
Reported: 2006-03-19 06:21 UTC by Simon Stelling (RETIRED)
Modified: 2020-05-03 20:57 UTC (History)
1 user (show)

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

patch (pkgconfig-multilib.patch,659 bytes, patch)
2006-03-19 06:21 UTC, Simon Stelling (RETIRED)
Details | Diff
patch (pkgconfig-multilib.patch,686 bytes, patch)
2006-03-20 10:45 UTC, Simon Stelling (RETIRED)
Details | Diff

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

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