Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133326 - dev-db/tora-1.3.21 fails to emerge
Summary: dev-db/tora-1.3.21 fails to emerge
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
: 134006 168414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-14 13:16 UTC by Jan Schubert
Modified: 2007-02-26 07:30 UTC (History)
2 users (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 Jan Schubert 2006-05-14 13:16:00 UTC
For some weeks now I'm not able to compile tora anymore. I always get something like this:

creating libtoworksheet.la
(cd .libs && rm -f libtowidget.la && ln -s ../libtowidget.la libtowidget.la)
(cd .libs && rm -f libtoworksheet.la && ln -s ../libtoworksheet.la libtoworksheet.la)
i686-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crti.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtbeginS.o  .libs/libtooracleconnection_la-tooracleconnection.o .libs/libtooracleconnection_la-tooracleextract.o .libs/libtooracleconnection_la-tooraclesettingui.o  -Wl,--rpath -Wl,/usr/kde/3.5/lib -Wl,--rpath -Wl,/usr/qt/3/lib -Wl,--rpath -Wl,/usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib /usr/qt/3/lib/libqt-mt.so -L/usr/X11R6/lib -lpng -lz /usr/lib/libjpeg.so /usr/lib/libXext.so -L/usr/lib /usr/lib/libX11.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/kde/3.5/lib/libkparts.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6 /usr/kde/3.5/lib/libkdeprint.so /usr/kde/3.5/lib/libkdecore.so /usr/kde/3.5/lib/libkdeui.so /usr/kde/3.5/lib/libkio.so /usr/kde/3.5/lib/libDCOP.so /usr/kde/3.5/lib/libkhtml.so -lqscintilla -lpthread -L/opt/oracle/product/10g/lib -lclntsh /usr/lib/libpcre.so -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../.. /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/crtendS.o /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../crtn.o  -march=pentium4 -m32 -Wl,-soname -Wl,libtooracleconnection.so -o .libs/libtooracleconnection.so
i686-pc-linux-gnu-ar cru .libs/libtooracleconnection.a  libtooracleconnection_la-tooracleconnection.o libtooracleconnection_la-tooracleextract.o libtooracleconnection_la-tooraclesettingui.o
i686-pc-linux-gnu-ranlib .libs/libtooracleconnection.a
creating libtooracleconnection.la
(cd .libs && rm -f libtooracleconnection.la && ln -s ../libtooracleconnection.la libtooracleconnection.la)
make[1]: Leaving directory `/var/tmp/portage/tora-1.3.21/work/tora-1.3.21'
make: *** [all] Error 2

!!! ERROR: dev-db/tora-1.3.21 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  tora-1.3.21.ebuild, line 61:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



# emerge --info
Portage 2.1_rc1 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Gentoo Base System version 1.12.0_pre19
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -m32"
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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -fomit-frame-pointer -pipe -m32"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi acpi4linux alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dga dri dvd eds emboss encode esx flag foomaticdb fortran gd gdbm gif gnome gstreamer gtk gtk2 hbci imlib ipv6 irda isdnlog jpeg junit kde lame libcaca libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ntpl ntplonly nvidia ogg oggvorbis opengl oracle oss pam pcmcia pcre pdflib perl png pnp ppds pppd python qt quicktime readline reflection samba sasl sdl session slp snmp spell spl sse sse2 ssl tcpd tiff truetype truetype-fonts trusted type1-fonts usb v4l vi vim vim-with-x vorbis wxwindows x86 xml2 xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-14 13:41:50 UTC
Try again with MAKEOPTS="-j1", there's no error in the output you've posted. Also, uh - remove the -m32 thing from your C[XX]FLAGS...

Comment 2 Jan Schubert 2006-05-14 14:31:46 UTC
Sorry, this is the error:

(cd .libs && rm -f libtotuning.la && ln -s ../libtotuning.la libtotuning.la)
/bin/sh ./libtool --tag=CXX --mode=link i686-pc-linux-gnu-g++  -DQT_THREAD_SUPPORT -march=pentium4 -O2 -fomit-frame-pointer -pipe -m32 -D_REENTRANT -lpcre -L/usr/kde/3.5/lib  -L/usr/qt/3/lib -lqt-mt -lpng -lz -lm -ljpeg  -lSM -lICE -lXext -lX11 -lSM -lICE  -lkparts -lkdeprint -lkdecore -lkdeui -lkio -lkio -lDCOP -lkhtml -lqscintilla -lstdc++ -lpthread -L/opt/oracle/product/10g/lib   -o tora  tora-main.o tora-toabout.o tora-toaboutui.o tora-tobackground.o tora-toconnection.o tora-todatabasesettingui.o tora-toeditwidget.o tora-toglobalsetting.o tora-toglobalsettingui.o tora-tohelp.o tora-tohelpaddfileui.o tora-tohelpsetupui.o tora-tohighlightedtext.o tora-tohtml.o tora-tomain.o tora-tomarkedtext.o tora-tomemoeditor.o tora-tomessageui.o tora-tonewconnection.o tora-tonewconnectionui.o tora-tonoblockquery.o tora-toparamget.o tora-topreferences.o tora-topreferencesui.o tora-toresult.o tora-toresultfield.o tora-toresultitem.o tora-toresultlistformatui.o tora-toresultstats.o tora-toresultview.o tora-tosearchreplace.o tora-tosearchreplaceui.o tora-tosmtp.o tora-tosql.o tora-tosqlparse.o tora-tosyntaxsetup.o tora-tosyntaxsetupui.o tora-totabwidget.o tora-totemplateprovider.o tora-totextview.o tora-tothread.o tora-totool.o tora-totoolsettingui.o tora-utils.o  -lclntsh libtoalert.la libtoanalyze.la libtobackup.la libtobrowser.la libtochart.la libtocurrent.la libtodebug.la libtoeditextensions.la libtoextract.la libtoinvalid.la libtooutput.la libtopassword.la libtoprofiler.la libtoproject.la libtoqsqlconnection.la libtoresult.la libtorollback.la libtoscript.la libtosecurity.la libtosession.la libtosgatrace.la libtosqledit.la libtostorage.la libtostoragedefinition.la libtotemplate.la libtotemporary.la libtotuning.la libtowidget.la libtoworksheet.la libtooracleconnection.la -lpcre
libtool: link: cannot find the library `libtowidget.la'
make[1]: *** [tora] Error 1
make[1]: *** Waiting for unfinished jobs....


Regarding -m32: Why should I remove it? This is needed fpr crosscompiling on my amd64 (which is not active in this case).
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-14 14:34:10 UTC
BTW, no need to CC yourself if you reported the bug. ;)
Comment 4 Jan Schubert 2006-05-14 14:56:23 UTC
> BTW, no need to CC yourself if you reported the bug. ;)

So why is it offered then? Consider it a bug/issue in gentoo bugzilla? This was more or less just a test for this feature, hav'nt seen this before!
Comment 5 Jan Schubert 2006-05-14 15:58:50 UTC
The above error is still from -j4. -j1 resulted in an error regarding sandbox, at 2nd try it emerged without any errors.
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2006-05-21 00:43:00 UTC
Looks like the tora build doesn't parallelise properly. I'll have a look at it.
Regarding the sandbox error you mentioned ... could you provide an error message?
Comment 7 Tobias Scherbaum (RETIRED) gentoo-dev 2006-05-21 01:59:44 UTC
Reported upstream and use "emake -j1" for now.
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2006-05-22 07:23:22 UTC
*** Bug 134006 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-02-26 07:30:47 UTC
*** Bug 168414 has been marked as a duplicate of this bug. ***