On my dual opteron i can't emerge nss: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ljvm collect2: ld returned 1 exit status make[1]: *** [Linux2.6_x86_glibc_PTH_OPT.OBJ/libjss3.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/jss/lib' make: *** [libs] Error 2 !!! ERROR: dev-java/jss-3.4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile jss-3.4.ebuild, line 53: Called die !!! nss make failed ############ emerge --info Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 x86_64) ================================================================= System uname: 2.6.16-gentoo-r13 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.2 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=opteron -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/portage/local/overlays/local /usr/portage/local/overlays/Ebuild" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 alsa apache2 avi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader eds emboss encode foomaticdb fortran gif gpm gstreamer imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg mysql ncurses nls opengl pam pcre pdflib perl png pppd python qt3 qt4 readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_mga video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
sorry, i mean jss can you edit the title...i need a coffee
Could you please post a full log? Thanks.
Created attachment 92271 [details] emerge log for jss here you go....
I had the same problem. See bug 139221. It has a patch and a new ebuild that should allow you to work. The underlying issue is that jss-3.4 uses a gen-1 compiler (1.4); you are using the 32 bit sun jdk. jss links against libjvm; it is trying to link a 64bit binary and will ignore the 32 bit libjvm you have. I haven't actually tried it, but I suspect you could make your system vm ibm-jdk-bin, which has an amd64 version: that should allow you to link. Or grab the ebuild and patch from 139221, put them in /usr/local/portage/dev-java/jss (assuming you have PORTAGE_OVERLAY set in /etc/make.conf...), run "ebuild jss-3.4-r1.ebuild digest", then "emerge digest" should work. (I'm assuming you've already followed the directions in http://www.gentoo.org/proj/en/java/java-upgrade.xml) Neil
jss-3.4-r1 can be compiled using amd64 version of >=sun-jdk-1.5.0.07.
*** Bug 150713 has been marked as a duplicate of this bug. ***