Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85646 - failed to build tora-1.3.16
Summary: failed to build tora-1.3.16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Don Seiler (RETIRED)
URL:
Whiteboard:
Keywords:
: 86620 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-17 08:05 UTC by yasen
Modified: 2005-04-15 07:24 UTC (History)
2 users (show)

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


Attachments
Patch to fix this bug (configure.pl.diff,1.85 KB, patch)
2005-03-24 05:35 UTC, Eugene Gluzberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yasen 2005-03-17 08:05:21 UTC
I've got the following error message when I've tryied to build tora (emerge tora):
$CC "-L/usr/kde/3.3/lib" -Xlinker "--rpath=/usr/kde/3.3/lib" "-L/lib32" "-L/lib" "-L" "-L/usr/qt/3/lib" -Xlink
er "--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.12220.cpp

Where $CC in (cc, gcc, g++). I've checked for qt-mt library and it exists in /usr/qt/3/lib

I was able to compile and link test program with qt-mt library - gcc test.c -L /usr/qt/3/lib -lqt-mt

Reproducible: Always
Steps to Reproduce:
1.emerge tora
2.
3.

Actual Results:  
The error message as described above.

Expected Results:  
To have working tora

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.4.28-grsec-2.1.0 i686)
=================================================================
System uname: 2.4.28-grsec-2.1.0 i686 AMD Athlon(tm) XP 3000+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 03:37:31)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/alias /va
r/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo ftp://gentoo.itdnet.net/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 X apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd
fam font-server foomaticdb fortr
an gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jpeg kde libg++
libwww mad mikmod motif mozill
a mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl spell ssl svg
a tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-03-17 11:10:50 UTC
I don't see an error message there.
Comment 2 yasen 2005-03-17 11:39:41 UTC
It's my mistake. Sorry. The error message is:
checking /usr/lib/ccache/bin/cc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linu
x-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status

checking /usr/lib/ccache/bin/g++ compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-lin
ux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status

checking /usr/lib/ccache/bin/gcc compiler ... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-lin
ux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status

... and so on
Comment 3 Michael Schreckenbauer 2005-03-19 15:01:56 UTC
Same here. Its the single "-L" (..."-L/lib" "-L" "-L/usr/qt/3/lib"...) causing this. Don't know, where it comes from.
Comment 4 yasen 2005-03-21 06:59:57 UTC
It comes from empty/missing ORACLE_HOME enviorment variable as I was trying to compile tora without oracle. It'll work if you do something like "export ORACLE_HOME=EMPTY" (as I did :). It seems that ebiuld don't pass --without-oracle option to tora configure script when there isn't 'oracle' string in use flags. Setting -oracle in use flags doesn't work either.

PP Thanks for your help, Michael
Comment 5 Don Seiler (RETIRED) gentoo-dev 2005-03-21 07:13:27 UTC
use oracle || myconf="$myconf --without-oracle"

It will pass --without-oracle if USE doesn't have oracle.

I will check with the dev list.
Comment 6 Don Seiler (RETIRED) gentoo-dev 2005-03-21 07:20:06 UTC
FYI I can duplicate this at my oracle-less home workstation.
Comment 7 Don Seiler (RETIRED) gentoo-dev 2005-03-21 07:52:34 UTC
This is known and fixed upstream in their CVS.

Will come out in next release.
Comment 8 yasen 2005-03-21 07:55:02 UTC
OK. Thanks for support.
Comment 9 Eugene Gluzberg 2005-03-24 05:35:16 UTC
Created attachment 54326 [details, diff]
Patch to fix this bug

This is an un-official patch. I got this to work yesterday on my machine. There
is like 4 lines to fix in the configure.pl program.

If you would like to apply it yourself, run emerge -v tora, then after it
fails, cd /var/tmp/portage/tora*/work/tora* patch the configure.pl file, then
run ebuild /path/to/tora/ebuild/file compile
ebuild /path/to/tora/ebuild/file merge
Comment 10 Don Seiler (RETIRED) gentoo-dev 2005-03-25 08:25:10 UTC
*** Bug 86620 has been marked as a duplicate of this bug. ***
Comment 11 Don Seiler (RETIRED) gentoo-dev 2005-03-25 08:26:36 UTC
I'm not a big fan of unoffical patches.  Plus you still need to patch the /usr/bin/tora wrapper script.  I'm waiting for a response from upstream on ETA for next release or an official patch.
Comment 12 Don Seiler (RETIRED) gentoo-dev 2005-03-29 10:59:19 UTC
http://cvs.sourceforge.net/viewcvs.py/tora/tora/configure.pl?r1=1.181&r2=1.182&diff_format=u

That looks to be the official patch.  Can you test that and then just call /usr/bin/tora.real to launch?
Comment 13 yasen 2005-04-04 10:42:48 UTC
I've applied patch and successfully compiled tora. Thanks for support.
Comment 14 Don Seiler (RETIRED) gentoo-dev 2005-04-15 07:24:15 UTC
Configure patch and tora script patch applied to tora-1.3.16-r1.  Cheers.