An emerge sun-jdk-bin fails on AMD64 with the following error: inflating: jdk1.5.0_07/include/jni.h creating: jdk1.5.0_07/include/linux/ inflating: jdk1.5.0_07/include/linux/jawt_md.h inflating: jdk1.5.0_07/include/linux/jni_md.h inflating: jdk1.5.0_07/include/jvmdi.h inflating: jdk1.5.0_07/include/jvmpi.h inflating: jdk1.5.0_07/include/jvmti.h inflating: jdk1.5.0_07/include/jawt.h inflating: jdk1.5.0_07/include/jdwpTransport.h inflating: jdk1.5.0_07/COPYRIGHT unpacking: lib/tools.jar unpacking: jre/lib/rt.jar unpacking: jre/lib/jsse.jar unpacking: jre/lib/charsets.jar unpacking: jre/lib/ext/localedata.jar Error occurred during initialization of VM Dumping a shared archive is not supported on the Server JVM. >>> Source unpacked. >>> Compiling source in /var/tmp/portage/sun-jdk-1.5.0.07/work/jdk1.5.0_07 ... >>> Source compiled. >>> Test phase [not enabled]: dev-java/sun-jdk-1.5.0.07 >>> Install sun-jdk-1.5.0.07 into /var/tmp/portage/sun-jdk-1.5.0.07/image/ category dev-java * No plugin available for amd64 arch sed: can't read /var/tmp/portage/sun-jdk-1.5.0.07/image//opt/sun-jdk-1.5.0.07/jre/plugin/desktop/sun_java.desktop: No such file or directory !!! ERROR: dev-java/sun-jdk-1.5.0.07 failed. Call stack: ebuild.sh, line 1539: Called dyn_install ebuild.sh, line 1013: Called src_install sun-jdk-1.5.0.07.ebuild, line 191: Called set_java_env java-vm-2.eclass, line 66: Called die emerge --info shows: Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo x86_64) ================================================================= System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.15 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 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-r2 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="-O2 -march=k8 -pipe -fomit-frame-pointer -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/kdmrc /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/home/jan/pkgdir/" 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="/home/jan/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts bzlib calendar cdr cli crypt cups dba dlloader dri dvb dvd dvdr eds emboss encode exif foomaticdb fortran ftp gd gd-external gif gpm gstreamer gtk gtk2 hal i8x0 iconv imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff mad mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia opengl oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml sockets spell spl sqlite ssl tcpd tiff truetype-fonts type1-fonts unicode usb vorbis xine xinerama xml xmlrpc xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS !!! unable to find the env file: /usr/portage/dev-java/sun-jdk/files/sun-jdk-1.5 !!! If you need support, post the topmost build error, and the call stack if relevant.
confirmed >>> Install sun-jdk-1.5.0.07 into /var/tmp/portage/sun-jdk-1.5.0.07/image/ category dev-java * No plugin available for amd64 arch sed: kann /var/tmp/portage/sun-jdk-1.5.0.07/image//opt/sun-jdk-1.5.0.07/jre/plugin/desktop/sun_java.desktop nicht lesen: Datei oder Verzeichnis nicht gefunden !!! ERROR: dev-java/sun-jdk-1.5.0.07 failed. Call stack: ebuild.sh, line 1545: Called dyn_install ebuild.sh, line 1019: Called src_install sun-jdk-1.5.0.07.ebuild, line 191: Called set_java_env java-vm-2.eclass, line 70: Called die !!! Unable to find the env file: /usr/portage/dev-java/sun-jdk/files/sun-jdk-1.5 !!! If you need support, post the topmost build error, and the call stack if relevant.
Please make sure you are sync'd up. I think this was a problem earlier last week, but was since fixed.
Of course I am synced up. Could you be more specific about what was changed?
(In reply to comment #3) > Of course I am synced up. It's not always obvious. > Could you be more specific about what was changed? At one point, the java-vm-2 eclass looked for an env file at ${FILESDIR}/${VMHANDLE} . This was changed to be ${FILESDIR}/${VMHANDLE}.env to avoid filename conflicts. Were you using migration-overlay at some point? If so, make sure it is up to date, or remove it from PORTDIR_OVERLAY.
That did it, thank you very much!
Reported fixed, so marking so.