Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213555 - dev-java/icu4j-3.8.1-3.8.1 fails with sun-jdk-1.7
Summary: dev-java/icu4j-3.8.1-3.8.1 fails with sun-jdk-1.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-16 09:13 UTC by Juergen Rose
Modified: 2008-03-17 21:40 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 Juergen Rose 2008-03-16 09:13:04 UTC
Emerging icu4j-3.8.1 results in:
...
Buildfile: build.xml

checkAntVersion:

warnAntVersion:

initBase:
    [mkdir] Created dir: /var/tmp/portage/dev-java/icu4j-3.8.1/work/classes
     [echo] java home: /opt/sun-jdk-1.7.0.0_alpha24/jre
     [echo] java version: 1.7.0-ea
     [echo] ant java version: 1.6
     [echo] Apache Ant version 1.7.0 compiled on November 28 2007
     [echo] ${env.HOSTNAME} with Linux 2.6.24-gentoo-r2 on i386
     [echo] clover initstring = '${clover.initstring}'

BUILD FAILED
/var/tmp/portage/dev-java/icu4j-3.8.1/work/build.xml:150: Failed to detect Java runtime library version used for building ICU4J

Total time: 3 seconds
 * 
 * ERROR: dev-java/icu4j-3.8.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4037:  Called eant 'src_compile'
 *             environment, line  991:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 *  The die message:
 *   eant 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/icu4j-3.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icu4j-3.8.1/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.7  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.7.0.0_alpha24"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
and of course, the output of emerge --info

sun-jdk-1.7 is from the arcon overlay
root@thinkpad:/usr/src(16)# emerge -pvD sun-jdk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   Rf  ] dev-java/sun-jdk-1.7.0.0_alpha24  USE="X alsa examples nsplugin -doc" 0 kB [1]
[ebuild   R   ] dev-java/sun-jdk-1.6.0.04  USE="X alsa examples nsplugin odbc -doc -jce" 0 kB 
...
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/portage/local/layman/arcon

Sun-jdk-1.7 is not the default java-vm:

root@thinkpad:/usr/src(20)# java-config -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Sun JDK 1.5.0.14 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.04 [sun-jdk-1.6]
4)      Sun JDK 1.7.0.0_alpha24 [sun-jdk-1.7]

Only erasing of sun-jdk-1.7 (emerge -C sun-jdk-1.7.0.0_alpha24) helps to install icu4j-3.8.1

    Juergen


Reproducible: Always




root@thinkpad:/usr/src(14)# emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1700MHz
Timestamp of tree: Sun, 16 Mar 2008 08:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r9, 2.5.1-r5
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-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-
php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rs
ync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux
/gentoo/ http://www.gigaload.org/gentoo.org/"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/All"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=1
80 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/arcon /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount b
ash-completion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi c
hm cli corba cracklib cran crypt cups curl daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi 
dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits f
lac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls
 gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http iconv icq icu id3 imagemag
ick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack laptop
 latex lcms ldap libgda libsamplerate lirc lua lzo lzw mad madwifi maildir math matroska midi mmx mmxext mng mod mono motif mozde
velop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf 
netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole openg
l openmp pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python q
hull quicktime readline real reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp sndfil
e snmp soup sox speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thu
nderbird tidy tiff tk truetype unicode userlocales utempter v4l2 vorbis wifi win32codecs wmf wxwindows x86 xattr xemacs xext xine
 xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0 ac97_codec emu10k1 emu10k1x" ALSA_PCM_PLUGINS="adpcm 
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate ro
ute share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_f
ile 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_mag
ic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usert
rack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayra
d cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PO
RTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-03-17 21:40:41 UTC
system jdk setting is not used when selecting build vm see /etc/java-config-2/build/jdk.conf
Changed DEPEND so that 1.7 is not used for building.