Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10005 - failed to emerge qt-3.1.0_pre20021024
Summary: failed to emerge qt-3.1.0_pre20021024
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-31 06:06 UTC by Dirk-Jan Heijs
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Patch for the library path. (qt-xft.patch,488 bytes, patch)
2002-10-31 13:43 UTC, Matthew Schick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk-Jan Heijs 2002-10-31 06:06:58 UTC
When trying to emerge qt-3.1.0_pre20021024 I got the following error:

g++ -fno-exceptions -o ../../../bin/uic .obj/release-shared-mt/main.o
.obj/release-shared-mt/uic.o .obj/release-shared-mt/form.o
.obj/release-shared-mt/object.o .obj/release-shared-mt/subclassing.o
.obj/release-shared-mt/embed.o .obj/release-shared-mt/widgetdatabase.o
.obj/release-shared-mt/domtool.o .obj/release-shared-mt/parser.o  
-L/usr/lib/mysql 
-Wl,-rpath,/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib
-L/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib
-L/usr/X11R6/lib -L/usr/X11R6/lib -ldl -lpthread -lqt-mt -lmng -ljpeg -lpng -lz
-lpthread -lGLU -lGL -lXmu -lSM -lICE -ldl -lXext -lX11 -lm -lXinerama -lXrender
-lXft -lfreetype -lXi
/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so:
undefined reference to `XftDrawCreateAlpha'
/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so:
undefined reference to `XftCharExists'
/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/lib/libqt-mt.so:
undefined reference to `XftDrawPicture'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/uic] Error 1
make[3]: Leaving directory
`/var/tmp/portage/qt-3.1.0_pre20021024/work/qt-copy-3.1_20021024/tools/designer/uic'
make[2]: *** [sub-uic] Error 2

Does this mean that our Xft is not the one qt is looking for?
Comment 1 Matthew Schick 2002-10-31 10:35:28 UTC
Just for confirmation, I am getting the same errors on two different machines.  
Both are running xft-2.0 from the gnome-2.1.1 set. 
Comment 2 Matthew Schick 2002-10-31 13:43:47 UTC
Created attachment 5244 [details, diff]
Patch for the library path.

This solves the compile problem per heliosc's posting here:
http://forums.gentoo.org/viewtopic.php?t=20627.  I'm compiling it now, and can
verify that it compiles past this point.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-10-31 15:36:51 UTC
Well, this seems a patch that can't break anything, so even though I don't have xft2 I'll   
commit it, since you say that it fixes things :-)  
Oh and qt-copy in kde cvs is now up to qt 3.1 rc1, so I guess 3.1.0 isn't too far. I don't   
use this snapshot myself, but the kde guys recommended it for kde 3.1 rc1, so I   
guess it's ok.   
I wonder if this patch is still needed for current qt cvs?...  Well, if someone tells me it 
is, I can add it to the cvs ebuild then. 
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-31 16:34:43 UTC
i have cvs checked out before 2 hours, works without the patch.