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

Bug 419739

Summary: x11-libs/libXft-2.2.0 - configure: package fontconfig not found in pkg-config search path
Product: Gentoo Linux Reporter: Vasiliy <6vasia>
Component: New packagesAssignee: Gentoo X packagers <x11>
Severity: normal CC: staff
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: Buld log
configure log

Description Vasiliy 2012-06-05 11:21:35 UTC
Merging with ROOT=/target fails econf.
/target/usr/lib/pkgconfig/fontconfig.pc exists.
Wrong/missing PKG_CONFIG_PATH?
Comment 1 Vasiliy 2012-06-05 11:22:29 UTC
Created attachment 314273 [details]
Buld log
Comment 2 Vasiliy 2012-06-05 11:22:44 UTC
Created attachment 314275 [details]
configure log
Comment 3 Rafał Mużyło 2012-06-05 15:35:35 UTC
What does i.e. 'pkg-config fontconfig --cflags' return ?
Comment 4 Rafał Mużyło 2012-06-05 18:39:51 UTC
Never mind.
All of your bugs seem to be a duplicates of a single one: that pkg-config in portage hates ROOT set.
Comment 5 Vasiliy 2012-06-05 19:48:15 UTC
:( Any workaround?
Comment 6 Rafał Mużyło 2012-06-05 19:54:59 UTC
The question is: what are you trying to do ?
Prefix is a separate set of KEYWORDS for a reason.
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-05 19:57:07 UTC
This is not about prefix (or EROOT), this is about ROOT=... specifying a different merge directory than /
Comment 8 Vasiliy 2012-06-05 20:05:25 UTC
I am trying to install system with GUI but w/o portage ang gcc in ROOT=/target. I'm bad?
Comment 9 Rafał Mużyło 2012-06-05 23:45:00 UTC
(In reply to comment #8)
> I am trying to install system with GUI but w/o portage ang gcc in
> ROOT=/target. I'm bad?

Well, unless that ROOT is added to PKG_CONFIG_SYSROOT_DIR (at least it seems to be the correct var for this usecase) either by ebuilds or an eclass, I don't se it working with anything using pkg-config during build.
Comment 10 Matt Turner gentoo-dev 2018-05-08 22:14:07 UTC
Doesn't sound like anything x11@ can handle.