I would like to emerge jre to my ARM board (odroid-x, http://hardkernel.com/renewal_2011/products/prdt_info.php?g_code=G133999328931), however, when I emerge, it mentioned that it has nothing to unpack. odroidx ~ # emerge -av icedtea-bin These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N *] dev-java/icedtea-bin-6.1.12.6-r1:6 USE="X alsa cups nsplugin -cjk -doc -examples -source" 0 kB Total: 1 package (1 new), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-java/icedtea-bin-6.1.12.6-r1 >>> Unpacking source... * ERROR: dev-java/icedtea-bin-6.1.12.6-r1::gentoo failed (unpack phase): * Nothing passed to the 'unpack' command * * Call stack: * ebuild.sh, line 93: Called src_unpack * environment, line 2590: Called unpack * phase-helpers.sh, line 291: Called die * The specific snippet of code: * [ -z "$*" ] && die "Nothing passed to the 'unpack' command" * * If you need support, post the output of `emerge --info '=dev-java/icedtea-bin-6.1.12.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-bin-6.1.12.6-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/work' * S: '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/work/icedtea-bin-6.1.12.6' >>> Failed to emerge dev-java/icedtea-bin-6.1.12.6-r1, Log file: >>> '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/temp/build.log' * Messages for package dev-java/icedtea-bin-6.1.12.6-r1: * ERROR: dev-java/icedtea-bin-6.1.12.6-r1::gentoo failed (unpack phase): * Nothing passed to the 'unpack' command * * Call stack: * ebuild.sh, line 93: Called src_unpack * environment, line 2590: Called unpack * phase-helpers.sh, line 291: Called die * The specific snippet of code: * [ -z "$*" ] && die "Nothing passed to the 'unpack' command" * * If you need support, post the output of `emerge --info '=dev-java/icedtea-bin-6.1.12.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-bin-6.1.12.6-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/work' * S: '/var/tmp/portage/dev-java/icedtea-bin-6.1.12.6-r1/work/icedtea-bin-6.1.12.6' odroidx ~ # emerge --info '=dev-java/icedtea-bin-6.1.12.6-r1::gentoo' Portage 2.2.1 (default/linux/arm/13.0/armv7a/desktop, gcc-4.6.3, glibc-2.15-r3, 3.0.90 armv7l) ================================================================= System Settings ================================================================= System uname: Linux-3.0.90-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2 KiB Mem: 929440 total, 250812 free KiB Swap: 1048572 total, 1048464 free Timestamp of tree: Mon, 16 Sep 2013 01:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo bar x11 gentoo-overlay-mali-x11 x-portage ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" 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/revdep-rebuild /etc/sandbox.d /etc/termino" CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe -march=armv7-a" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned andbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe -march=armv7-a" GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bar-overlay /var/lib/layman/x11 /var/lib/layman/gentoo-overlay-mali-x11 /usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa arm berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr egl emboss ecode exif fam firefox flac fortran gdbm gif gles gles1 gles2 gpm gtk iconv jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses neon nls npt nsplugin ogg openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd threads tiff truetype dev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic auth_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 dv_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 rewite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump autho" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmn garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVIES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presente-console presenter-minimizer" LINGUAS="en zh zh_TW zh_HK zh_HK.big5hkscs zh_HK.utf8 zh_TW.big5 zh_TW.euctw zh_TW.utf8" OFFICE_IMPLEMENTATION="libreoffice" PH_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="exynos fbdev XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delde chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_XTRA_OPTS, USE_PYTHON After checking the content of the ebuild, it has the line: dist="http://dev.gentoo.org/~caster/distfiles/" When I try to browse the link, it mentions about permission problem. Reproducible: Always
odroidx ~ # emerge --info Portage 2.2.1 (default/linux/arm/13.0/armv7a/desktop, gcc-4.6.3, glibc-2.15-r3, 3.0.90 armv7l) ================================================================= System uname: Linux-3.0.90-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2 KiB Mem: 929440 total, 241236 free KiB Swap: 1048572 total, 1048464 free Timestamp of tree: Mon, 16 Sep 2013 01:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo bar x11 gentoo-overlay-mali-x11 x-portage ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-hardfloat-linux-gnueabi" CFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" 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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=neon -mfloat-abi=hard" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe -march=armv7-a" 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 userpriv usersandbox usersync" FFLAGS="-O2 -pipe -march=armv7-a" GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/bar-overlay /var/lib/layman/x11 /var/lib/layman/gentoo-overlay-mali-x11 /usr/local/portage" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa arm berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr egl emboss encode exif fam firefox flac fortran gdbm gif gles gles1 gles2 gpm gtk iconv jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap ncurses neon nls nptl nsplugin ogg openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en zh zh_TW zh_HK zh_HK.big5hkscs zh_HK.utf8 zh_TW.big5 zh_TW.euctw zh_TW.utf8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="exynos fbdev" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
The ebuild contains > KEYWORDS="-* ~amd64 ~x86" which means it only works on amd64 and x86 and not on others. Your `emerge --info` contains > Portage 2.2.1 (default/linux/arm/13.0/armv7a/desktop, gcc-4.6.3, glibc-2.15-r3, 3.0.90 armv7l) which means that you are using the arm architecture. As you can see, the ebuild doesn't support it so you cannot use it on arm.
To add to the above, if you want icedtea on arm you will have to build it from source. # emerge -a icedtea A prebuilt binary (icedtea-bin) is only created by us for x86 and amd64. There are quite a few different arm ABIs and multiple meaningful choices for a JVM. We don't have the resources to create all those images.
Hi Tom, Yes, I know it is for x86 and amd64, as before i tried to install the icedtea, but without success. Hi Ralph, I tried to install the icedtea from source, however, I have circular dependencies which I don't know how to solve. odroidx default # emerge -a icedtea These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] dev-java/icedtea-6.1.12.6:6 USE="X alsa cups jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" [nomerge ] dev-java/icedtea-web-1.3.2:6 USE="nsplugin -build -doc -javascript {-test}" [nomerge ] dev-java/java-config-2.1.12-r1:2 PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" [ebuild N ~] virtual/jre-1.6.0-r1:1.6 0 kB [ebuild N ~] dev-java/icedtea-web-1.3.2:6 USE="nsplugin -build -doc -javascript {-test}" 1,015 kB [ebuild N ~] dev-java/ant-nodeps-1.9.2 0 kB [ebuild N ~] dev-java/ant-core-1.9.2 USE="-doc -source" 0 kB [ebuild N ~] virtual/jdk-1.6.0-r2:1.6 0 kB [ebuild N ~] dev-java/icedtea-6.1.12.6:6 USE="X alsa cups jbootstrap nsplugin nss source webstart -cacao -cjk -debug -doc -examples -javascript -pax_kernel -pulseaudio -systemtap {-test}" 62,572 kB Total: 6 packages (6 new), Size of downloads: 63,587 kB * Error: circular dependencies: (dev-java/icedtea-6.1.12.6::gentoo, ebuild scheduled for merge) depends on (dev-java/icedtea-6.1.12.6::gentoo, ebuild scheduled for merge) (buildtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. Rgds, Kenneth
(In reply to Kenneth from comment #4) > I tried to install the icedtea from source, however, I have circular > dependencies which I don't know how to solve. You will first need to install icedtea-bin to be able to bootstrap icedtea. If this is on ARM then I am afraid you can't do that; so, in that case you would need to download one of the binaries from their site (if they have an ARM binary) and temporarily use the upstream binary, I'm not sure how well this would work as you might need to adapt the Java environment to be able to see that. In case they don't, there is also the possibility to do a cross compile from your host system using http://icedtea.classpath.org/wiki/CrossCompileFaq such that you don't have to do this on the ARM platform (in case it is slower). If you have specific questions regarding these things then feel free to ask. (In the case that you can't get it working, I know oracle-jdk-bin supports it.)
(If you get gcj or ecj to work you can also bootstrap with that instead)
There should be no need for any binaries. Emerge gcj-jdk so virtual/jdk-1.5.0 is fulfilled. Then emerge icedtea. Drop some USE flags to simplify the dependencies, including javascript and nsplugin. You can always emerge icedtea-web once icedtea is installed.
Marking this bug as FIXED.