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

Bug 86620

Summary: emerge tora 1.3.16
Product: Gentoo Linux Reporter: Andreas Wuest <KickMeToAndy>
Component: Current packagesAssignee: Don Seiler (RETIRED) <rizzo>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Wuest 2005-03-25 01:25:35 UTC
Emerge tora 1.3.16 failes. Looks like bug 82550 (concering tora 1.3.15) shows up again. Emerging fails with the following message  :


.........
hecking for library consistency ... yes
checking for static Qt library ... no
checking for MySQL support ... Available through QSql only with Qt >= 3.0.0
checking for any database ... QSql
checking for extra libraries ... -lcrypt
checking /usr/lib/ccache/bin/cc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/lib/ccache/bin/g++ compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/lib/ccache/bin/gcc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/bin/cc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/bin/g++ compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/bin/gcc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/i686-pc-linux-gnu/gcc-bin/3.3.5/g++ compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no
checking /usr/i686-pc-linux-gnu/gcc-bin/3.3.5/gcc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
no

Failed to find compatible GCC compiler. This doesn't necessary mean that
there are no c++ compiler that won't work. This test includes compiling
a Qt application using Oracle. So if anything went wrong finding these
this test will fail.

The command tried was the following ($CC is replaced with whatever C
compiler used):

$CC "-L/usr/kde/3.3/lib" -Xlinker "--rpath=/usr/kde/3.3/lib" "-L/lib32" "-L/lib" "-L" "-L/usr/qt/3/lib" -Xlinker "--rpath=/lib32" -Xlinker "--rpath=/lib" -Xlinker "--rpath=" -Xlinker "--rpath=/usr/qt/3/lib"  -I`pwd` "-I/usr/kde/3.3/include" "-I/rdbms/demo" "-I/plsql/public" "-I/rdbms/public" "-I/network/public" "-I/sdk/include" "-I/usr/qt/3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui -lDCOP -lkhtml -lkparts -lkio -lcrypt -ldl  -lqt-mt  -otemp /tmp/toraconfig.21821.cpp


!!! ERROR: dev-db/tora-1.3.16 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge tora
2.
3.
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-03-25 07:20:17 UTC
Do you not have Oracle and therefore not have the $ORACLE_HOME env var set?
Comment 2 Andreas Wuest 2005-03-25 08:02:27 UTC
with all the previous version i never had and a problem running the emerge.
i do not have oracle and i do not have set an $ORACLE_HOME variable(now and then).
i use tora to access my postgresql database.

that hint with the oracle home variable was really good. i just had to set it 
with a dummy value and the emerge worked! should be somehow documented that
the oracle home variable has to be set, even if you do not have an oracle 
application -> is it possible to let the emerge check if a oracle home var exists,
if not, export one for the current shell with a dummy value (e.g./tmp) before building tora, so the emerge does not fail ?? 
Comment 3 Don Seiler (RETIRED) gentoo-dev 2005-03-25 08:25:10 UTC
A little searching goes a long way.

As I said in the bug that this is a dupe of, the problem is known upstream and will be fixed in their next version.  I'm waiting for a reply on the dev list for an ETA.

As for the ebuild exporting a dummy ORACLE_HOME, yes that _would_ solve the build,  but then I'd need to alter the /usr/bin/tora script as well.  Depending on when the ETA for the next release is, I'll think about it.

*** This bug has been marked as a duplicate of 85646 ***