Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284858 - xulrunner-1.9.0.14 doesn't compile with ibm-jdk-bin-1.6.0.5
Summary: xulrunner-1.9.0.14 doesn't compile with ibm-jdk-bin-1.6.0.5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 284860 284861 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-14 08:07 UTC by Yang Dehua
Modified: 2009-09-15 06:05 UTC (History)
0 users

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


Attachments
clipped build.log (build.log,15.34 KB, text/plain)
2009-09-14 08:38 UTC, Yang Dehua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yang Dehua 2009-09-14 08:07:25 UTC
I tried to emerge xulrunner-1.9.0.14 that is required for firefox 3.0.14, but failed with error messages:

"/opt/ibm-jdk-bin-1.6.0.5/bin/javac" -source 1.4 -classpath ".:MozillaInterfaces.jar" \
			-sourcepath ".:." -d _java org/mozilla/xpcom/IMozilla.java
org/mozilla/xpcom/Mozilla.java:48: cannot access java.util.ArrayList
bad class file: /opt/ibm-jdk-bin-1.6.0.5/jre/lib/java.util.jar(java/util/ArrayList.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.util.ArrayList;
                 ^
1 error
gmake[5]: *** [_java/org/mozilla/xpcom/Mozilla.class] Error 1
gmake[5]: *** Waiting for unfinished jobs....
./org/mozilla/xpcom/VersionComparator.java:40: cannot access java.util.Enumeration
bad class file: /opt/ibm-jdk-bin-1.6.0.5/jre/lib/java.util.jar(java/util/Enumeration.class)
class file has wrong version 50.0, should be 49.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.util.Enumeration;
                 ^
1 error
gmake[5]: *** [_java/org/mozilla/xpcom/GREVersionRange.class] Error 1
gmake[5]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.14/work/mozilla/extensions/java/xpcom/interfaces'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.14/work/mozilla/extensions/java/xpcom'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.14/work/mozilla/extensions/java'
gmake[2]: *** [libs_tier_app] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.14/work/mozilla'
gmake[1]: *** [tier_app] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.0.14/work/mozilla'
make: *** [default] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: net-libs/xulrunner-1.9.0.14 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 5547:  Called _eapi2_src_compile
 [31;01m*[0m               ebuild.sh, line  634:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/net-libs/xulrunner-1.9.0.14/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.0.14/temp/environment'.
 [31;01m*[0m 
!!! When you file a bug report, please include the following information:
GENTOO_VM=ibm-jdk-bin-1.6  CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.5"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Reproducible: Always

Steps to Reproduce:
1. emerge xulrunner -uDv
2. 
3.

Actual Results:  
failed with above messages

Expected Results:  
emerged successfully

Portage 2.1.6.13 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 ppc64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-ppc64-PPC970,_altivec_supported-with-glibc2.3
Timestamp of tree: Tue, 01 Sep 2009 04:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://lug.mtu.edu/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en_US zh_CN"
MAKEOPTS="-j3"
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.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl aiglx alsa altivec asf aspell berkdb browserplugin bzip2 cairo cdr chardet cjk cli cpdflib cracklib crypt cups curl dba dbus dri dts dvd dvdnav dvdr eds encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm iconv imagemagick imlib ipv6 isdnlog java jpeg jpeg2k lcms ldap mad mbox mng mp3 mpg mudflap mysql nas ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png postgres ppc64 ppds pppd python qt readline reflection samba saslradeon sdl session slang spell spl sqlite ssl svg sysfs tcpd theora tiff unicode v4l v4l2 vcd vidix vorbis wma x264 xanim xcb xcomposite xine xml xml2 xmms xorg xv xvid zlib" ALSA_CARDS="aoa" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US zh_CN" USERLAND="GNU" VIDEO_CARDS="ati radeon fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-09-14 08:13:54 UTC
*** Bug 284860 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-09-14 08:15:08 UTC
*** Bug 284861 has been marked as a duplicate of this bug. ***
Comment 3 Yang Dehua 2009-09-14 08:38:25 UTC
Created attachment 203993 [details]
clipped build.log

the origional build.log was 4.7 big, so I clipped it with parts containing error messages.
Comment 4 Yang Dehua 2009-09-15 06:05:34 UTC
I tracked my jre libraries and found some my own stuff for testing that messed the vm up. I cleaned the libraries, and the things are right now.
Now the bug can be closed, and I am sorry for the inconvenience caused.