Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258949 - x11-libs/qt-script-4.5.0_rc1-r1 link error: undefined reference
Summary: x11-libs/qt-script-4.5.0_rc1-r1 link error: undefined reference
Status: RESOLVED DUPLICATE of bug 258961
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-14 10:25 UTC by Matt Whitlock
Modified: 2009-02-14 14:22 UTC (History)
1 user (show)

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 Matt Whitlock 2009-02-14 10:25:09 UTC
linking ../../lib/libQtScriptTools.so.4.5.0
.obj/release-shared/qscriptedit.o: In function `QScriptEdit::extraAreaPaintEvent(QPaintEvent*)':
qscriptedit.cpp:(.text+0x9cb): undefined reference to `QPainter::fillRect(QRect const&, QColor const&)'
collect2: ld returned 1 exit status
make: *** [../../lib/libQtScriptTools.so.4.5.0] Error 1
Comment 1 Matt Whitlock 2009-02-14 10:45:13 UTC
To get this to build, I had to do the following:

* Upgrade first to x11-libs/qt-script-4.5.0_rc1
* Then upgrade to x11-libs/qt-gui-4.5.0_rc1
* Finally upgrade to x11-libs/qt-script-4.5.0_rc1-r1

There appears to be a cyclical dependency here.
Comment 2 Patrizio Bassi 2009-02-14 11:17:38 UTC
same issue here.
Comment 3 Patrizio Bassi 2009-02-14 11:35:46 UTC
for me i cannot merge them at all.

yes i unmerged qt-script totally, 
then merged qt-gui with --nodeps but it fails 
linking ../../../../lib/libQtDesigner.so.4.5.0                                                                                                                                          
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtScript   

...of course!

i don't know how to do now. my system is broken.
Comment 4 Patrizio Bassi 2009-02-14 12:02:30 UTC
more: i unmerged qt-gui and just emerged qt-script but it fails again

compiling debugging/qscriptenginedebugger.cpp
rm -f libQtScriptTools.so.4.5.0 libQtScriptTools.so libQtScriptTools.so.4 libQtScriptTools.so.4.5
linking ../../lib/libQtScriptTools.so.4.5.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [../../lib/libQtScriptTools.so.4.5.0] Error 1


no clue now how to fix the loop as Matt said, i can't upgrade any of the 2 involved packages
Comment 5 Patrizio Bassi 2009-02-14 12:16:24 UTC
uh, sorry for bug spam, by mistake i didn't merge the _rc1 but always _rc1-r1 version.

i could unblock it now.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2009-02-14 14:01:57 UTC

*** This bug has been marked as a duplicate of bug 258961 ***
Comment 7 Billy DeVincentis 2009-02-14 14:22:01 UTC
"To get this to build, I had to do the following:

* Upgrade first to x11-libs/qt-script-4.5.0_rc1
* Then upgrade to x11-libs/qt-gui-4.5.0_rc1
* Finally upgrade to x11-libs/qt-script-4.5.0_rc1-r1

There appears to be a cyclical dependency here."


This  method worked for me.