* ERROR: dev-java/sun-jdk-1.6.0.07 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2651: Called die * The specific snippet of code: * sh "${DISTDIR}"/${A} --accept-license --unpack || die "Failed to unpack" * The die message: * Failed to unpack * had completed new install of x86 minimal cd on usb external disk, rebooted, ran emerge -uNDe system without use flags in make.conf without problems. added use flags as below and received error at emerge dev-java/sun-jdk-1.6.0.07. completed the update manually for all except dev-java/sun-jdk-1.6.0.07, virtual-jdk, and db.BTW subsequent attempts to emerge sun-jre, blackdown-jdk, blackdown-jre failed in similar fashion at the unpack step. build log: >>> Unpacking source... usage: jdk-6u7-dlj-linux-i586.bin [--accept-license] [--unpack] --accept-license signifies you accept the license terms for installing this software. --unpack unpack JAR files compressed with Pack200 [31;01m*[0m [31;01m*[0m ERROR: dev-java/sun-jdk-1.6.0.07 failed. [31;01m*[0m Call stack: [31;01m*[0m ebuild.sh, line 49: Called src_unpack [31;01m*[0m environment, line 2651: Called die [31;01m*[0m The specific snippet of code: [31;01m*[0m sh "${DISTDIR}"/${A} --accept-license --unpack || die "Failed to unpack" [31;01m*[0m The die message: [31;01m*[0m Failed to unpack [31;01m*[0m [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-java/sun-jdk-1.6.0.07/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jdk-1.6.0.07/temp/environment'. [31;01m*[0m Reproducible: Always Steps to Reproduce: 1.emerge sun-jdk 2. 3. Actual Results: error Expected Results: emerged sun-jdk will attach environment and eclass build log later emerge info: Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 i686) ================================================================= System uname: 2.6.25-gentoo-r7 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Timestamp of tree: Thu, 04 Sep 2008 23:00:02 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa amd64 apache2 arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups cupsdbus dlloader dri dvb dvd dvdr dvdreader eds emboss encode esd ffmpeg fortran gamin gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde ldap libg++ mad midi mikmod mmx mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdflib perl php png posix ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl sysfs tcpd truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis x86 xorg xv 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 mmap_emul 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 164862 [details] environment file for failed emerge
Created attachment 164864 [details] e-class build log for failed emerge
By the ways: Running as root. A link, /var/tmp/portage/dev-java/sun-jdk-1.6.0.07/distdir/jdk-6u7-dlj-linux-i586.bin, does exist and points to /usr/portage/distfiles/jdk-6u7-dlj-linux-i586.bin which also exists.
i transferred USE flags from 64 bit install and did not change the amd64 flag to x86. Sorry for troubling you.
Reopening for proper resolution
And thanks for realizing where the problem was :) I'm now trying to arrange changes that will disallow such thing.
*** Bug 237384 has been marked as a duplicate of this bug. ***
BTW, using an x86 USE flag causes similar failure in amd64 multilib system.