When I try to emerge -u sun-jdk, I get the following error: * Creating the Class Data Sharing archives /var/tmp/portage/dev-java/sun-jdk-1.6.0.05-r1/temp/environment: line 2662: 8560 * * ERROR: dev-java/sun-jdk-1.6.0.05-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2666: Called die * The specific snippet of code: * "${S}"/bin/java -client -Xshare:dump || die; * The die message: * (no error message) I suppose it has something to do with class data sharing archives, which were added in 1.6.0.05-r1 Reproducible: Always Steps to Reproduce: 1.Run emerge -u sun-jdk Actual Results: Error Expected Results: Correct update
emerge --info missing
This is my emerge --info, thanks for noting: Portage 2.1.4.4 (hardened/x86/2.6, gcc-4.2.3, glibc-2.7-r2, 2.6.23-hardened-r9 i686) ================================================================= System uname: 2.6.23-hardened-r9 i686 AMD Sempron(tm) Processor 2800+ Timestamp of tree: Fri, 28 Mar 2008 16:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.4.4-r9, 2.5.1-r5 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r1 sys-devel/automake: 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O3 -march=athlon-4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles ftp://distfiles.gemtoo.org" LANG="en_US.UTF-8" LC_ALL="" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acpi alsa apache2 apm bash-completion berkdb cracklib crypt fbcon hardened ipv6 java ldap midi mysql ncurses nls nptl nptlonly pam php pic readline ssl tcpd truetype unicode urandom utf8 x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #2) > This is my emerge --info, thanks for noting: > Portage 2.1.4.4 (hardened/x86/2.6, gcc-4.2.3, glibc-2.7-r2, 2.6.23-hardened-r9 > i686) yeah as I guessed, the class data sharing archive building doesn't work on hardened because the binaries aren't marked at that point
Fixed in CVS, thanks.