Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236801 - emerge dev-java/sun-jdk-1.6.0.07 failed.
Summary: emerge dev-java/sun-jdk-1.6.0.07 failed.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 237384 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-05 18:22 UTC by Drake Donahue
Modified: 2008-09-15 21:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
environment file for failed emerge (environment,100.91 KB, text/plain)
2008-09-08 00:10 UTC, Drake Donahue
Details
e-class build log for failed emerge (e-class build log,1.23 KB, text/plain)
2008-09-08 00:12 UTC, Drake Donahue
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Donahue 2008-09-05 18:22:27 UTC
* 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
Comment 1 Drake Donahue 2008-09-08 00:10:57 UTC
Created attachment 164862 [details]
environment file for failed emerge
Comment 2 Drake Donahue 2008-09-08 00:12:38 UTC
Created attachment 164864 [details]
e-class build log for failed emerge
Comment 3 Drake Donahue 2008-09-08 00:56:19 UTC
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.
Comment 4 Drake Donahue 2008-09-08 21:26:54 UTC
i transferred USE flags from 64 bit install and did not change the amd64 flag to x86. Sorry for troubling you.
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-15 20:22:45 UTC
Reopening for proper resolution
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-15 20:23:53 UTC
And thanks for realizing where the problem was :) I'm now trying to arrange changes that will disallow such thing.
Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-15 20:24:22 UTC
*** Bug 237384 has been marked as a duplicate of this bug. ***
Comment 8 Drake Donahue 2008-09-15 21:06:42 UTC
BTW, using an x86 USE flag causes similar failure in amd64 multilib system.