Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7370 - emerge tora failed
Summary: emerge tora failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-02 09:05 UTC by Jan Schubert
Modified: 2003-01-28 00:30 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 Jan Schubert 2002-09-02 09:05:48 UTC
This is the second run, the first one breaked later. I assume any issue 
regarding gcc... 
 
Any help? 
 
------------- 
 
toral tora-1.3.7 # emerge tora  
Calculating dependencies ...done!  
>>> emerge dev-db/tora-1.3.7 to /  
>>> md5 ;-) tora-alpha-1.3.7.tar.gz  
>>> Unpacking source...  
>>> Unpacking tora-alpha-1.3.7.tar.gz  
>>> Source unpacked.  
kde  
oci8  
checking for perl... perl  
checking for KDE include files ... /usr/kde/3/include  
checking for KDE version ... 3.0.3  
checking for KDE print support ... yes  
checking for KDE libraries ... /usr/kde/3/lib  
checking for KDE base ... /usr/kde/3  
checking for Qt library linked to KDE ... libqt-mt  
checking for Qt library ... /usr/qt/3/lib  
checking for moc ... /usr/qt/3/bin/moc  
checking for uic ... /usr/qt/3/bin/uic  
checking for lrelease ... /usr/qt/3/bin/lrelease  
checking for Qt include files ... /usr/qt/3/include  
checking for Qt version ... 3.0.5  
checking for library consistency ... yes  
checking for static Qt library ... no  
checking for Oracle ... /opt/oracle  
checking for Oracle version ... 8.1.7.0.0  
checking for MySQL support ... Available through QSql only with Qt >= 3.0.0  
checking for any database ... Oracle QSql  
checking for extra libraries ... -lcrypt  
checking /usr/bin/cc compiler ... In file included from  
/tmp/toraconfig.30486.cpp:6:  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void  
   otl_cur::error(otl_exc&)':  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared  
   (first use this function)  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared  
   identifier is reported only once for each function it appears in.)  
no  
checking /usr/bin/g++ compiler ... In file included from  
/tmp/toraconfig.30486.cpp:6:  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void  
   otl_cur::error(otl_exc&)':  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared  
   (first use this function)  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared  
   identifier is reported only once for each function it appears in.)  
no  
checking /usr/bin/gcc compiler ... In file included from  
/tmp/toraconfig.30486.cpp:6:  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h: In member function `void  
   otl_cur::error(otl_exc&)':  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: `min' undeclared  
   (first use this function)  
/var/tmp/portage/tora-1.3.7/work/tora-1.3.7/otlv4.h:8023: (Each undeclared  
   identifier is reported only once for each function it appears in.)  
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/lib" -Xlinker "--rpath=/usr/kde/3/lib" "-L/opt/oracle/lib"  
"-L/usr/qt/3/lib" -Xlinker "--rpath=/opt/oracle/lib" -Xlinker  
"--rpath=/usr/qt/3/lib"  -I`pwd` "-I/usr/kde/3/include"  
"-I/opt/oracle/rdbms/demo" "-I/opt/oracle/plsql/public"  
"-I/opt/oracle/rdbms/public" "-I/opt/oracle/network/public"  
"-I/usr/qt/3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui -lDCOP  
-lkhtml -lkparts -lkio -lcrypt -ldl  -lqt-mt  -lclntsh -otemp  
/tmp/toraconfig.30486.cpp  
  
  
!!! ERROR: The ebuild did not complete successfully.  
!!! Function src_compile, Line 27, Exitcode 2  
!!! configure failed
Comment 1 Hannes Mehnert (RETIRED) gentoo-dev 2002-09-02 17:14:44 UTC
what version of gcc is installed? 
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-09-02 18:33:55 UTC
tora works with gcc-2.95.3 fine, with gcc-3.2 it gives compile errors here: 
 
tosql.cpp: In static member function `static bool toSQL::updateSQL(const 
   QCString&, const QString&, const QString&, const QCString&, const 
QCString&, 
   bool)': 
tosql.cpp:116: ambiguous overload for `QCString& > const QCString&' operator 
tosql.cpp:116: candidates are: operator>(const char*, const char*) <built-in> 
/usr/qt/3/include/qcstring.h:323:                 bool operator>(const 
   QCString&, const char*) 
/usr/qt/3/include/qcstring.h:326:                 bool operator>(const char*, 
   const QCString&) 
/usr/qt/3/include/qstring.h:832:                 bool operator>(const 
QString&, 
   const QString&) 
/usr/qt/3/include/qstring.h:839:                 bool operator>(const 
QString&, 
   const char*) 
Comment 3 Jan Schubert 2002-09-03 14:04:59 UTC
This is a known issue, it might be fixed in 1.3.8. See: 
http://www.geocrawler.com/lists/3/SourceForge/9281/0/. 
 
I'm using gcc32 (what else :-). 
 
Jan 
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-09-03 17:01:38 UTC
is your error also known? did you try the cvs version of tora? 
have you installed multiple gcc? 
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-09-04 11:24:09 UTC
As a side note, our tora ebuild should have been given the version 1.3.7	
_alpha. We should mind that when making the ebuild for the next version if 
still applicable...   
Comment 6 SpanKY gentoo-dev 2002-10-08 10:17:00 UTC
try the ebuild at Bug 8895 
Comment 7 Jan Schubert 2002-10-09 05:54:33 UTC
Check the ebuild in Bug 8895. This one works for me. It seems that the option  
--with-mono does the trick.