Doing an emerge update on evolution fails. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: /usr/lib/libnspr4.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libcamel.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2.0.2/camel' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2.0.2/camel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2.0.2' make: *** [all] Error 2 !!! ERROR: mail-client/evolution-2.0.2-r1 failed. !!! Function src_compile, Line 127, Exitcode 2 Expected Results: emerge succesfully Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 22 2005, 09:24:46) ] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 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" 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/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia crypt cups c url dba emboss encode esd ethereal f77 fam font-server foomaticdb fortran freetd s gd gdbm gif gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java jpeg junit kerberos ldap libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mssql mys ql ncurses nls oggvorbis opengl oss pam pdflib perl php png postgres python qt q uicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype truetype -fonts type1-fonts vhosts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Ouch, that's not pretty. What verion of nspr do you have installed? nspr should install it's libraries to /usr/lib/nspr, and not to /usr/lib. Please post the output of qpkg -f /usr/lib/libnspr4.a, and remerge nspr.
running the qpkg command returns nothing but I do have nspr installed: Calculating dependencies ...done! [ebuild R ] dev-libs/nspr-4.4.1-r2 After re-emerging nspr the qpkg command returned nothing. Another attempt at updating still produces errors, the same one I believe: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: / usr/lib/libnspr4.a(prtpd.o): bad reloc symbol index (0x3045 >= 0x34) for offset 0x494611c4 in section `.debug_info' /usr/lib/libnspr4.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libcamel.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2 .0.2/camel' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2 .0.2/camel' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evolution-2.0.2-r1/work/evolution-2 .0.2' make: *** [all] Error 2 !!! ERROR: mail-client/evolution-2.0.2-r1 failed. !!! Function src_compile, Line 127, Exitcode 2
You shouldn't have those nspr libs in /usr/lib, and because /usr/lib comes before /usr/lib/nspr, the build is trying to link against them. Please rm -f /usr/lib/libnspr* And then remerge evolution.
Solution is here, local bug, closing.
that fixed it, ta