Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24297 - new mozilla demands xft (pkg-config) which IS installed by XFree
Summary: new mozilla demands xft (pkg-config) which IS installed by XFree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-11 12:17 UTC by meyerm
Modified: 2003-07-17 02:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meyerm 2003-07-11 12:17:31 UTC
I tried to update my mozilla 1.3-r1 to 1.3-r2 and that fails with the error message 
below. But I can't install (well, don't want to ;-) ) xft since it is already installed by 
xfree. Even the ebuilds of xft and XFree are blocking each other. 

Reproducible: Always
Steps to Reproduce:
1. emerge -u mozilla 
Actual Results:  
checking for xft... Package xft was not found in the pkg-config search path. 
Perhaps you should add the directory containing `xft.pc' 
to the PKG_CONFIG_PATH environment variable 
No package 'xft' found 
 
configure: error: Library requirements (xft) not met; consider adjusting the 
PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix 
so pkg-config can find them. 
 
!!! ERROR: net-www/mozilla-1.3-r2 failed. 
!!! Function src_compile, Line 360, Exitcode 1 
!!! (no error message) 
 

Expected Results:  
Well...  
>>> net-www/mozilla-1.3-r2 merged.
Comment 1 Brad Laue (RETIRED) gentoo-dev 2003-07-11 14:20:00 UTC
What version of xfree is installed?

Is Xft installed?

Show us the output of 'emerge info'
Comment 2 meyerm 2003-07-11 14:49:17 UTC
a) I have xfree-4.3.0-r2 installed 
--- 
b) No, not directly (only the one including in xfree): 
<bash> 
yavin root # emerge -p xft 
[blocks B    ] >=x11-base/xfree-4.3.0-r2 (from pkg x11-libs/xft-2.0.1-r2) 
[ebuild  N   ] x11-libs/xft-2.0.1-r2 
</bash> 
--- 
c) emerge info 
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gaming-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses 
nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline 
arts tetex svga ggi tcltk java mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib 
oggvorbis qt kde motif opengl mozilla ldap cdr -gtk -gnome -gtk+" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O2 -pipe" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
 
 
Comment 3 Brad Laue (RETIRED) gentoo-dev 2003-07-11 14:54:44 UTC
Verify that /usr/lib/pkgconfig/xft.pc exists; if it doesn't, try re-emerging xfree.

brad@Discovery:~ > qpkg -f /usr/lib/pkgconfig/xft.pc 
x11-base/xfree *
Comment 4 meyerm 2003-07-11 17:20:16 UTC
Yupp, qpkg shows me the file belonging to xfree. But it is definitive not there... I've just 
copied it out of the tbz2 of another up-to-date gentoo pc and now mozilla starts to compile. 
But the rest of xft is also gone (at least the whole Xft directory in /usr/X11R6/include/X11). 
Again copied it over and now mozilla comes even further (I don't know if it will finish - it is 
currently compiling - but I propose closing this bug now, since it seems to be a problem with 
some other part of portage and not mozilla.). 
Comment 5 Brad Laue (RETIRED) gentoo-dev 2003-07-11 17:57:09 UTC
The fix would be to try rebuilding X. My surmise is maybe you installed X and unmerged xft later on.
Comment 6 Cleber Mori 2003-07-16 18:58:54 UTC
I had a similar problem.
After gentoo instalation, I did a "emerge kde ... xft". I don't know how, but ports didn't complain about xft beying emerged with xfree 4.3.x. Well, then I had to emerge -C xft, then re-emerge X.
After that, my mozilla emerged nicely.

As Brad said, if you unmerge xft after xfree instalation, it will cause problems, so you'll have to reemerge X.

Maybe ports shouldn't un-merge xft without unmerging xfree (4.3.x). And definitely it shouldn't emerge xft with xfree 4.3.x (it comes along with it).

PS: This bug shold be closed?
Comment 7 Brad Laue (RETIRED) gentoo-dev 2003-07-16 19:17:36 UTC
I was hoping for some positive feedback from the reporter :(
Comment 8 Brad Laue (RETIRED) gentoo-dev 2003-07-16 20:33:04 UTC
Closing this on the assumption that it's PEBKAC. Marcel, if you've had any luck with my suggestion, please post a reply on this bug.
Comment 9 meyerm 2003-07-17 02:33:18 UTC
Sorry Brad. Of course... I thougt I also said it in my last post - I didn't want to let you waait 
:-) 
 
Well, I copied manually the xft files from another system which worked quite well. I think, 
this is the same as reemerging xft. And that worked - Mozilla was able to compile. 
 
So, yes. The bug should be closed (and perhaps another for xfree or xft be opened, but that's 
another story ;-) ). 
 
Thank you very much Brad!