Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14855 - things which link against xft can't build, linker dies when it can't locate XRenderSubPixelQuery
Summary: things which link against xft can't build, linker dies when it can't locate X...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 10:33 UTC by Amy Alford
Modified: 2003-11-24 06:52 UTC (History)
1 user (show)

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


Attachments
the config.log from trying to build gtk+-2.2.0 (config.log,43.56 KB, text/plain)
2003-02-05 13:30 UTC, Amy Alford
Details
log of trying to emerge gtk+2.2.0 (gtk_errors,8.15 KB, text/plain)
2003-02-05 13:31 UTC, Amy Alford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amy Alford 2003-01-31 10:33:59 UTC
User-Agent:       
Build Identifier: 

I can't build either kde or gnome.  Both appear to have a problem with xft. 
gtk+ says it can't compile against pango.  The first kde package I try to emerge
has an error I can't remeber on configure, but I waded through the configure
script and found that the problem is when it tries to link something against xft.

Reproducible: Always
Steps to Reproduce:
1. emerge gtk+
2.
3.

Actual Results:  
says it can't locate pango

Expected Results:  
built gtk+

I'm running:
xfree-4.2.1-r2
pango-1.2.0
xft-2.0.1
gtk+-2.0.8
qt-3.1.0-r1

I'm trying to install kde3.1 and gtk+-2.2.0
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-02-02 13:49:56 UTC
Hi, please include a log of say trying to merge gtk+-2.2.0, as well as its
config.log.  You can get config.log by merging gtk+-2.2.0 with:

  # FEATURES=noclean emerge gtk+

and then looking in /var/tmp/portage/xft+-2.2.0/work/xft+-2.2.0/
Comment 2 Amy Alford 2003-02-05 13:30:35 UTC
Created attachment 7952 [details]
the config.log from trying to build gtk+-2.2.0
Comment 3 Amy Alford 2003-02-05 13:31:36 UTC
Created attachment 7953 [details]
log of trying to emerge gtk+2.2.0
Comment 4 Amy Alford 2003-02-05 23:14:25 UTC
I managed to find the conftest.cc that artsd's configure script blows up on, and have played around with compiling it myself.  If I add a -lXrender -L/usr/X11R6/lib to g++'s command line it compiles fine.  

I tried installing bluefish (gtk+ based) and it began compiling but blew up saying it couldn't find XRenderQuerySubPixelOrder.  

So I'm suspicious that gnome and kde's library configuration stuff is just not realizing that it needs to link against -lXrender.  xft-config --libs mentions -lXrender though.  pkg-config --libs pango and pkg-config --libs pangoxft don't mention it though.
Comment 5 Amy Alford 2003-02-06 09:45:15 UTC
If I do export LDFLAGS="-L/usr/X11R6/lib -lXrender" and then emerge -u gtk+ it works.  Not a good solution since it links /everything/ against Xrender, but it makes me pretty sure the problem is things not adding that to their LDFLAGS.
Comment 6 Robert Jan Schutten 2003-02-11 05:02:32 UTC
I had similar problems (libXft complaining about XRenderQuerySubPixelOrder)

Installing the latest mozilla version (1.2.1-r5) solves this problem.
Apparantly older mozilla revisions installed their own libXft, and the system got confused which of the libXft versions it should use...
The specific mozilla Xft version is now renamed, so it does not cause problems anymore for other programs...
Comment 7 david 2003-05-24 21:26:04 UTC
ion-devel also fails when trying to locate FcPatternDestroy
Comment 8 Andrew Cooks (RETIRED) gentoo-dev 2003-11-24 06:33:38 UTC
Please reply if this isn't fixed
Comment 9 Andrew Cooks (RETIRED) gentoo-dev 2003-11-24 06:52:40 UTC
adding bug@wranglers to cc and marking for testing