Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481478 - dev-java/icedtea-7.2.4.1: configure: error: Invalid HotSpot source zip specified: /var/tmp/portage/dev-java/icedtea-7.2.4.1/distdir/
Summary: dev-java/icedtea-7.2.4.1: configure: error: Invalid HotSpot source zip specif...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: IA64 Linux
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-17 19:43 UTC by Émeric Maschino
Modified: 2014-06-23 21:36 UTC (History)
4 users (show)

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


Attachments
My icedtea-7.2.4.1 build environment (environment,183.84 KB, text/plain)
2013-08-17 19:44 UTC, Émeric Maschino
Details
My icedtea-7.2.4.1 build log (build.log,13.75 KB, text/x-log)
2013-08-17 19:45 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2013-08-17 19:43:07 UTC
Trying to emerge icedtea-7.2.4.1 on an ia64 workstation, thus selecting HotSpot Zero as VM, fails during configure phase with:

checking for a HotSpot source zip... configure: error: Invalid HotSpot source zip specified: /var/tmp/portage/dev-java/icedtea-7.2.4.1/distdir/

Indeed, looking at the generated command line, HotSpot source archive isn't correcly set:

'--with-hotspot-src-zip=/var/tmp/portage/dev-java/icedtea-7.2.4.1/distdir/'

Reproducible: Always

Steps to Reproduce:
1. emerge --ask icedtea
2.
3.
Actual Results:  
icedtea fails to emerge at configure phase.

Expected Results:  
icedtea should install flawlessly.

Here's my emerge --info '=dev-java/icedtea-7.2.4.1'

Portage 2.1.12.2 (default/linux/ia64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.15-r3, 3.8.13-gentoo ia64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-ia64-Madison-with-gentoo-2.2
KiB Mem:    24989648 total,  18959536 free
KiB Swap:    1999856 total,   1999856 free
Timestamp of tree: Fri, 16 Aug 2013 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5-r1, 3.3.2-r1
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.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.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.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-my_ebuilds
ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-mtune=itanium2 -O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=itanium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
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="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/my_ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvdr eds encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ia64 iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


And here's my emerge -pqv '=dev-java/icedtea-7.2.4.1'

[ebuild  NS   ] dev-java/icedtea-7.2.4.1 [6.1.12.6] USE="X alsa cups jbootstrap nsplugin nss pulseaudio source webstart -cjk -debug -doc -examples -javascript -pax_kernel (-systemtap) {-test}" 
[ebuild  NS   ] dev-java/icedtea-web-1.3.2-r7 [1.3.2] USE="nsplugin -build -doc -javascript {-test}"
Comment 1 Émeric Maschino 2013-08-17 19:44:38 UTC
Created attachment 356312 [details]
My icedtea-7.2.4.1 build environment
Comment 2 Émeric Maschino 2013-08-17 19:45:35 UTC
Created attachment 356314 [details]
My icedtea-7.2.4.1 build log
Comment 3 Émeric Maschino 2013-08-17 19:52:08 UTC
This is a regression by comparison with icedtea-7.2.3.9.

Looking at icedtea-7.2.4.1.ebuild, it's obvious why HotSpot source zip is incorrect:

        # HotSpot > CACAO > JamVM > Zero, though CACAO is somewhat memory hung$
        # CACAO is not yet available for icedtea-7
        case "${ARCH}" in
                amd64|sparc|x86)
                        ;;
                arm)
                        config+=" --enable-jamvm" #IT1266
                        replace-flags -Os -O2 #BGO453612 #IT1267
                        ;;
                ppc|ppc64)
                        config+=" --enable-jamvm"
                        ;;
                *)
                        config+=" --enable-zero"
                        HOTSPOT_GENTOO_TARBALL=${ZERO_GENTOO_TARBALL}
                        ;;
        esac

However, ZERO_GENTOO_TARBALL is unset, thus leading to incorrect definition of HOTSPOT_GENTOO_TARBALL.

In icedtea-7.2.3.9, ZERO_GENTOO_TARBALL was set to:
ZERO_GENTOO_TARBALL="icedtea-2.1-hotspot-${ZERO_HOTSPOT_TARBALL}"

with ZERO_HOTSPOT_TARBALL set to:
ZERO_HOTSPOT_TARBALL="2c4981784101.tar.gz"

Both these definitions are lacking from icedtea-7.2.4.1.
Comment 4 Émeric Maschino 2014-06-23 21:36:27 UTC
Closing as icedtea-7.2.4.5 ebuild fixed this issue. Thanks.