View previous topic :: View next topic |
Author |
Message |
JaCk0 n00b

Joined: 22 Apr 2004 Posts: 36 Location: Sevilla, Spain
|
Posted: Mon Apr 15, 2013 6:46 pm Post subject: Issues emerging sun-jre-bin |
|
|
I'm trying emerge sun-jre-bin in my odroid-u2 box. I have this error in emerge:
Code: | >>> Unpacking source...
/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/distdir/: /var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/distdir/: es un directorio
^[[31;01m*^[[0m ERROR: dev-java/sun-jre-bin-1.6.0.41 failed (unpack phase):
^[[31;01m*^[[0m Failed to unpack
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 93: Called src_unpack
^[[31;01m*^[[0m environment, line 2571: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-java/sun-jre-bin-1.6.0.41'`,
^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-java/sun-jre-bin-1.6.0.41'`.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/temp/environment'.
^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/work'
^[[31;01m*^[[0m S: '/var/tmp/portage/dev-java/sun-jre-bin-1.6.0.41/work/jre1.6.0_41' |
My portage info:
Code: | Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp, gcc-4.6.2, glibc-2.13-r4, 3.0.63 armv7l)
=================================================================
System Settings
=================================================================
System uname: Linux-3.0.63-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2.0
KiB Mem: 1969536 total, 238704 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Mon, 15 Apr 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-java/java-config: 2.1.12-r1000
dev-lang/python: 2.7.4-r1000, 3.2.4-r1000
dev-util/cmake: 2.8.10.2-r1
sys-apps/baselayout: 2.2.0-r4
sys-apps/openrc: 0.10.2-r8
sys-apps/sandbox: 2.6
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.2-r1
sys-devel/gcc-config: 1.5-r1
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-psabi"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-psabi"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="es"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/experimental-mini-2011.git"
SYNC_USER="root"
USE="X acl alsa apng arm berkdb bzip2 cdr cracklib crypt curl cxx dbus dvdr dvdread flac fpm gdbm gif gpm iconv icu jpeg lame mad modules mp3 mpeg mudflap mysql mysqli ncurses neon nls nptl ogg opengl openmp pam pcre pdo png policykit pppd python readline resolvconf sqlite3 ssl tcpd tiff truetype udev unicode vorbis wavpack xml xmlwriter zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset dav empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK |
Do I need download any content to distfiles? I tried some versions of this package with same error.
Thanks in advance. |
|
Back to top |
|
 |
ferreirafm Guru

Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Mon Apr 15, 2013 7:56 pm Post subject: |
|
|
Hi JaCk0,
It seems your file sun-jre-bin-1.6.0.41 is corrupted.
Download it again from oracle site (make sure download has finished!) and move it to /usr/portage/distfiles.
This operation is quite simple, I'm almost sure you haven't waited the download.
Best |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6920
|
Posted: Mon Apr 15, 2013 8:01 pm Post subject: |
|
|
The download is obviously not the problem or else there would be at least three hash check failure messages.
Try removing every subdirectory under /var/tmp/portage/*. |
|
Back to top |
|
 |
JaCk0 n00b

Joined: 22 Apr 2004 Posts: 36 Location: Sevilla, Spain
|
Posted: Tue Apr 16, 2013 4:36 am Post subject: |
|
|
I check distfiles folder and not found any java file. I had searched in oracle website for a jre arm binary for JAVA SE without results. Does Oracle support ARM? |
|
Back to top |
|
 |
ferreirafm Guru

Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
|
Back to top |
|
 |
JaCk0 n00b

Joined: 22 Apr 2004 Posts: 36 Location: Sevilla, Spain
|
Posted: Tue Apr 16, 2013 3:12 pm Post subject: |
|
|
Thanks. Sorry, I not explained well. I have a ARM box and I not found armv6/armv7 binaries to download in Oracle page or any site. I found a JDK8 EA preview binary for Rasperri PI, but I can't run this VM in my box. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|