Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237384 - dev-java/sun-jdk-1.6.0.07 - usage: jdk-6u7-dlj-linux-i586.bin [--accept-license] [--unpack]
Summary: dev-java/sun-jdk-1.6.0.07 - usage: jdk-6u7-dlj-linux-i586.bin [--accept-licen...
Status: RESOLVED DUPLICATE of bug 236801
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-11 06:47 UTC by limux
Modified: 2011-10-30 23:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description limux 2008-09-11 06:47:25 UTC
emerge sun-jdk-1.6.0.7: failed to unpack

Reproducible: Always




>>> 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 2729:  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 This ebuild used the following eclasses from overlays:
 [31;01m*[0m   /usr/portage/eclass/versionator.eclass
 [31;01m*[0m   /usr/portage/eclass/java-vm-2.eclass
 [31;01m*[0m   /usr/portage/eclass/eutils.eclass
 [31;01m*[0m   /usr/portage/eclass/multilib.eclass
 [31;01m*[0m   /usr/portage/eclass/toolchain-funcs.eclass
 [31;01m*[0m   /usr/portage/eclass/portability.eclass
 [31;01m*[0m   /usr/portage/eclass/fdo-mime.eclass
 [31;01m*[0m   /usr/portage/eclass/pax-utils.eclass
 [31;01m*[0m
Comment 1 limux 2008-09-11 06:49:28 UTC
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Genuine Intel(R) CPU 2160 @ 1.80GHz
Timestamp of tree: Tue, 09 Sep 2008 21:45:05 +0000
ccache version 2.4 [enabled]
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
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 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="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://61.135.158.199"
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/gentoo-taiwan /usr/portage/local/layman/emacs /usr/portage/local/layman/ruby /usr/portage/local/layman/desktop-effects /usr/portage"
SYNC="rsync://61.135.158.199/gentoo-portage"
USE="X acl alsa amd64 apache2 avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dbus dlloader doc dri dvd dvdr eds emacs emboss encode esd examples fam foomagicdb gdbm gif gnome gpm gstreamer gtk guile hal iconv isdnlog java jpeg libg++ libwww lua mad midi mikmod mmx mp3 mpeg mudflap multilib mysql mzscheme ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdflib perl php png ppds pppd python quicktime readline reflection ruby sdl session source spell spl sqlite3 sse sse2 ssl sysfs tcpd truetype truetype-fonts type1-fonts udev unicode usb vim-syntax vorbis x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Ján Ondrušek 2008-09-15 19:48:58 UTC
Just remove x86 flag from your make.conf file.
Solved for me :)
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-15 20:24:22 UTC
Yeah and it's actually a dupe.

*** This bug has been marked as a duplicate of bug 236801 ***

*** This bug has been marked as a duplicate of bug 236801 ***