Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266902 - Emerging jsr181-1.0 fails with no virtual/jdk installed
Summary: Emerging jsr181-1.0 fails with no virtual/jdk installed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-20 21:48 UTC by Alexandr Novachok
Modified: 2010-12-14 06:46 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 Alexandr Novachok 2009-04-20 21:48:07 UTC
I try emerge netbeans and have this:

===========================================================
/var/tmp/portage/dev-java/jsr181-1.0/temp/build.log
>>> Unpacking source...
basename: missing operand
Try `basename --help' for more information.
* Home for VM '' does not exist:
* Invalid System VM:
 *
 * ERROR: dev-java/jsr181-1.0 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_unpack
 *             environment, line 3865:  Called die
 * The specific snippet of code:
 *       echo "A" | java -jar "${DISTDIR}/${A}" -console > /dev/null || die "unpack failed";
 *  The die message:
 *   unpack failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/jsr181-1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jsr181-1.0/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""



============================================
emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 i686)
=================================================================                                    
System uname: Linux-2.6.29-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.0.0   
Timestamp of tree: Mon, 20 Apr 2009 20:45:01 +0000                                                   
app-shells/bash:     4.0_p17-r1                                                                      
dev-java/java-config: 2.1.7                                                                          
dev-lang/python:     2.6.2                                                                           
dev-util/cmake:      2.6.3-r1                                                                        
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ ftp://gentoo.kiev.ua/ "
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.europe.gentoo.org/gentoo-portage"
USE="X aac acl apache2 berkdb bzip2 cdr cli cracklib crypt ctype cups curl dbus dri dvd dvdr embedded encode exif firefox firefox3 flac ftp gd gdbm gif gimp gpm iconv icq ieee1394imagemagick imap innodb isdnlog jabber java jpeg kde kdeprefix lame midi mng mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl php png pppd python qt4 quicktime readline reflection samba session spl ssl subversion symlink sysfs tcpd tidy tiff truetype unicode usb vhosts webkit wifi win32codecs x264 x86 xine xml xorg xvid 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" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


===================================================================


Reproducible: Always

Steps to Reproduce:
1. emerge netbeans
2.
3.

Actual Results:  
stop building on
trying to build jsr181-1.0

Expected Results:  
to be building
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2009-05-23 11:39:06 UTC
did you set your system VM with java-config?
Comment 2 Alexandr Novachok 2009-05-23 12:16:15 UTC
(In reply to comment #1)
> did you set your system VM with java-config?
> 

java-config -o
/opt/sun-jdk-1.6.0.13

I have installed sub-jdk 1.5, 1.6
but the package is trying to install jdk-1.4 and I got message
Messages for package dev-java/sun-jdk-1.4.2.19:
 * Fetch failed for 'dev-java/sun-jdk-1.4.2.19'
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2010-12-14 06:46:02 UTC
Im assuming this is invalid.