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

Bug 53084

Summary: ORBit2-2.10.0 fails to compile: libname-server-2.a not found
Product: Gentoo Linux Reporter: klync <gnudeveloper>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description klync 2004-06-05 13:03:54 UTC
On a fresh install, emerging ORBit2 fails like so:

/var/tmp/portage/ORBit2-2.10.0/work/ORBit2-2.10.0/src/orb/.libs/libORBit-2.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libpopt.so /usr/lib/libgobject-2.0.so
/usr/lib/libgthread-2.0.so -lpthread -lm /usr/lib/libglib-2.0.so
gcc: libname-server-2.a: No such file or directory
make[5]: *** [orbit-name-server-2] Error 1

Gack! a thread on the forums suggests creating a link to /usr/lib/libname-server-2.a in the source tree, but this file is actually provided by ORBit2, so I do not yet have it. Besides, that seems fishy anyway.

After changing my CFLAGS from -O3 to -O2, ORBit2 compiled successfully.

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




btw, I installed ccache after the ORBit2 ebuild had already failed once.  after
enabling ccache, but keeping -O3, it failed again.

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-ck2)
=================================================================
System uname: 2.6.4-ck2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.15
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb caps cdr cjk crypt cups dga directfb dvb
dvd dvdr encode esd flash foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imap
imlib innodb jack jack-tmpfs java jpeg ladcca lcms ldap libg++ libwww mad mikmod
mmx motif mozcalendar moznocompose moznoirc moznomail mozxmlterm mpeg nas
ncurses nls oav offensive oggvorbis opengl oss pam pdflib perl png ppds python
qt quicktime readline samba sasl sdl sis slang slp spell sse ssl svga tcltk tcpd
threads tiff truetype video_cards_sis vim-with-x wmf x86 xface xml xml2 xmms xv
zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-06-08 03:50:37 UTC
set your makejobs to 1 & try again
Comment 2 Merlyn Morgan-Graham 2004-07-11 20:52:52 UTC
I was having the same error.

'MAKEOPTS="-j1" emerge ORBit2' worked for me.  I'm guessing this is some sort of dependency issue in the build script for ORBit2, which would require a patch to their build script?  Could we institute a temporary hack to work around this problem by forcing MAKEOPTS="-j1" in the ebuild?
Comment 3 foser (RETIRED) gentoo-dev 2004-07-12 08:32:37 UTC
we do that in newer ebuilds.. i didn't bother to update all of them because it seems to be a race condition that doesn't surface often.