Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88282 - Jakarta-oro ebuild failed with a java compile error
Summary: Jakarta-oro ebuild failed with a java compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL: http://thepeacock.net/misc/jakarta.txt
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-07 11:36 UTC by Adam M Peacock
Modified: 2005-04-07 11:38 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 Adam M Peacock 2005-04-07 11:36:09 UTC
When I try to emerge dev-java/jakarta-oro-2.0.8-r1, I get a java build error.

My java-config -L output is as follows:
[sun-jdk-1.5.0.02] "Sun JDK 1.5.0.02" (/etc/env.d/java/20sun-jdk-1.5.0.02)
[sun-jdk-1.4.2.08] "Sun JDK 1.4.2.08" (/etc/env.d/java/20sun-jdk-1.4.2.08) *
[blackdown-jdk-1.4.2.01] "Blackdown JDK 1.4.2.01" (/etc/env.d/java/20blackdown-jdk-1.4.2.01)

The full debug output from emerge -vd jakarta-oro follows.
Calculating dependencies  
Parent:    None
Depstring: dev-java/jakarta-oro
Candidates: ['dev-java/jakarta-oro']
ebuild: dev-java/jakarta-oro-2.0.8-r1
binpkg: None
+ dyn_clean
+ '[' GNU == BSD ']'
+ '[' GNU == Darwin ']'
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/image
+ hasq keeptemp autoaddcvs autoconfig ccache distlocks sandbox sfperms
+ local x
+ local me=keeptemp
+ shift
+ '[' autoaddcvs == keeptemp ']'
+ '[' autoconfig == keeptemp ']'
+ '[' ccache == keeptemp ']'
+ '[' distlocks == keeptemp ']'
+ '[' sandbox == keeptemp ']'
+ '[' sfperms == keeptemp ']'
+ return 1
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/temp
+ hasq keepwork autoaddcvs autoconfig ccache distlocks sandbox sfperms
+ local x
+ local me=keepwork
+ shift
+ '[' autoaddcvs == keepwork ']'
+ '[' autoconfig == keepwork ']'
+ '[' ccache == keepwork ']'
+ '[' distlocks == keepwork ']'
+ '[' sandbox == keepwork ']'
+ '[' sfperms == keepwork ']'
+ return 1
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/.unpacked
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/.compiled
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/.tested
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/.installed
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/.packaged
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/build-info
+ rm -rf /var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ '[' -f /var/tmp/portage/jakarta-oro-2.0.8-r1/.unpacked ']'
++ find /var/tmp/portage/jakarta-oro-2.0.8-r1 -mindepth 1 -maxdepth 1
+ '[' -z '' ']'
+ rmdir /var/tmp/portage/jakarta-oro-2.0.8-r1
+ true
+ set +x
+ dyn_setup
+ '[' GNU == Linux ']'
+ pkg_setup
+ return
+ set +x
+ dyn_unpack
+ trap abort_unpack SIGINT SIGQUIT
+ local newstuff=no
+ '[' -e /var/tmp/portage/jakarta-oro-2.0.8-r1/work ']'
+ '[' -e /var/tmp/portage/jakarta-oro-2.0.8-r1/work ']'
+ install -m0700 -d /var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ '[' -d /var/tmp/portage/jakarta-oro-2.0.8-r1/work ']'
+ cd /var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ echo '>>> Unpacking source...'
>>> Unpacking source...
+ src_unpack
+ '[' jakarta-oro-2.0.8.tar.gz '!=' '' ']'
+ unpack jakarta-oro-2.0.8.tar.gz
+ local x
+ local y
+ local myfail
+ local tarvars
+ '[' GNU == BSD ']'
+ tarvars=--no-same-owner
+ '[' -z jakarta-oro-2.0.8.tar.gz ']'
+ myfail=failure unpacking jakarta-oro-2.0.8.tar.gz
++ pwd
+ echo '>>> Unpacking jakarta-oro-2.0.8.tar.gz to /var/tmp/portage/jakarta-oro-2.0.8-r1/work'
>>> Unpacking jakarta-oro-2.0.8.tar.gz to /var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ y=jakarta-oro-2.0.8.tar
+ y=tar
+ '[' tar == tar ']'
+ tar xzf /usr/portage/distfiles/jakarta-oro-2.0.8.tar.gz --no-same-owner
tar: A lone zero block at 4643
+ touch /var/tmp/portage/jakarta-oro-2.0.8-r1/.unpacked
+ echo '>>> Source unpacked.'
>>> Source unpacked.
+ cd /var/tmp/portage/jakarta-oro-2.0.8-r1
+ trap SIGINT SIGQUIT
+ set +x
+ dyn_compile
+ trap abort_compile SIGINT SIGQUIT
+ '[' '-O2 -mcpu=i686 -fomit-frame-pointer' '!=' unset ']'
+ export CFLAGS
+ '[' '-O2 -mcpu=i686 -fomit-frame-pointer' '!=' unset ']'
+ export CXXFLAGS
+ '[' unset '!=' unset ']'
+ '[' unset '!=' unset ']'
+ '[' unset '!=' unset ']'
+ '[' unset '!=' unset ']'
+ '[' /root/.ccache '!=' unset ']'
+ export CCACHE_DIR
+ '[' 500M '!=' unset ']'
+ export CCACHE_SIZE
+ '[' unset == unset ']'
+ export DISTCC_DIR=/var/tmp/.distcc
+ DISTCC_DIR=/var/tmp/.distcc
+ '[' '!' -z /var/tmp/.distcc ']'
+ addwrite /var/tmp/.distcc
+ export SANDBOX_WRITE=/dev/zero:/dev/fd/:/dev/null:/dev/pts/:/dev/vc/:/dev/tty:/tmp/:/dev/shm/ngpt:/var/log/scrollkeeper.log:/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/var/tmp/portage/homedir/.gconfd/lock:/var/tmp/portage/homedir/.bash_history:/var/tmp:/tmp:/var/tmp:/tmp/:/var/tmp/:/dev/shm:/var/tmp:/root/.ccache:/var/tmp/.distcc
+ SANDBOX_WRITE=/dev/zero:/dev/fd/:/dev/null:/dev/pts/:/dev/vc/:/dev/tty:/tmp/:/dev/shm/ngpt:/var/log/scrollkeeper.log:/usr/tmp/conftest:/usr/lib/conftest:/usr/lib32/conftest:/usr/lib64/conftest:/usr/tmp/cf:/usr/lib/cf:/usr/lib32/cf:/usr/lib64/cf:/var/tmp/portage/homedir/.gconfd/lock:/var/tmp/portage/homedir/.bash_history:/var/tmp:/tmp:/var/tmp:/tmp/:/var/tmp/:/dev/shm:/var/tmp:/root/.ccache:/var/tmp/.distcc
+ hasq noauto autoaddcvs autoconfig ccache distlocks sandbox sfperms
+ cd /var/tmp/portage/jakarta-oro-2.0.8-r1
+ '[' '!' -e build-info ']'
+ mkdir build-info
+ cp /usr/portage/dev-java/jakarta-oro/jakarta-oro-2.0.8-r1.ebuild build-info/jakarta-oro-2.0.8-r1.ebuild
+ '[' /var/tmp/portage/jakarta-oro-2.0.8-r1/.compiled -nt /var/tmp/portage/jakarta-oro-2.0.8-r1/work ']'
+ '[' -d /var/tmp/portage/jakarta-oro-2.0.8-r1/work/jakarta-oro-2.0.8 ']'
+ cd /var/tmp/portage/jakarta-oro-2.0.8-r1/work/jakarta-oro-2.0.8
+ export S D
+ export PWORKDIR=/var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ PWORKDIR=/var/tmp/portage/jakarta-oro-2.0.8-r1/work
+ src_compile
+ local antflags=jar
+ use doc
+ useq doc
+ local u=doc
+ local neg=0
+ '[' d == '!' ']'
+ local x
+ hasq doc doc examples jikes source
+ local x
+ local me=doc
+ shift
+ '[' doc == doc ']'
+ return 0
+ '[' x86 == doc ']'
+ '[' X == doc ']'
+ '[' alsa == doc ']'
+ '[' apm == doc ']'
+ '[' avi == doc ']'
+ '[' berkdb == doc ']'
+ '[' bitmap-fonts == doc ']'
+ '[' cdr == doc ']'
+ '[' crypt == doc ']'
+ '[' cups == doc ']'
+ '[' curl == doc ']'
+ '[' dvdr == doc ']'
+ '[' emboss == doc ']'
+ '[' encode == doc ']'
+ '[' exif == doc ']'
+ '[' fam == doc ']'
+ '[' flac == doc ']'
+ '[' foomaticdb == doc ']'
+ '[' fortran == doc ']'
+ '[' gdbm == doc ']'
+ '[' gif == doc ']'
+ '[' gpm == doc ']'
+ '[' gstreamer == doc ']'
+ '[' gtk2 == doc ']'
+ '[' imagemagick == doc ']'
+ '[' imlib == doc ']'
+ '[' ipv6 == doc ']'
+ '[' java == doc ']'
+ '[' jpeg == doc ']'
+ '[' kde == doc ']'
+ '[' libg++ == doc ']'
+ '[' libwww == doc ']'
+ '[' mad == doc ']'
+ '[' mikmod == doc ']'
+ '[' motif == doc ']'
+ '[' mp3 == doc ']'
+ '[' mpeg == doc ']'
+ '[' ncurses == doc ']'
+ '[' nls == doc ']'
+ '[' oggvorbis == doc ']'
+ '[' opengl == doc ']'
+ '[' pam == doc ']'
+ '[' pda == doc ']'
+ '[' pdflib == doc ']'
+ '[' perl == doc ']'
+ '[' png == doc ']'
+ '[' python == doc ']'
+ '[' qt == doc ']'
+ '[' quicktime == doc ']'
+ '[' readline == doc ']'
+ '[' samba == doc ']'
+ '[' sdl == doc ']'
+ '[' spell == doc ']'
+ '[' ssl == doc ']'
+ '[' svga == doc ']'
+ '[' tcpd == doc ']'
+ '[' tiff == doc ']'
+ '[' truetype == doc ']'
+ '[' truetype-fonts == doc ']'
+ '[' type1-fonts == doc ']'
+ '[' xml2 == doc ']'
+ '[' xmms == doc ']'
+ '[' xv == doc ']'
+ '[' xvid == doc ']'
+ '[' zlib == doc ']'
+ '[' 0 -eq 1 ']'
+ return 1
+ return 1
+ use jikes
+ useq jikes
+ local u=jikes
+ local neg=0
+ '[' j == '!' ']'
+ local x
+ hasq jikes doc examples jikes source
+ local x
+ local me=jikes
+ shift
+ '[' doc == jikes ']'
+ '[' examples == jikes ']'
+ '[' jikes == jikes ']'
+ return 0
+ '[' x86 == jikes ']'
+ '[' X == jikes ']'
+ '[' alsa == jikes ']'
+ '[' apm == jikes ']'
+ '[' avi == jikes ']'
+ '[' berkdb == jikes ']'
+ '[' bitmap-fonts == jikes ']'
+ '[' cdr == jikes ']'
+ '[' crypt == jikes ']'
+ '[' cups == jikes ']'
+ '[' curl == jikes ']'
+ '[' dvdr == jikes ']'
+ '[' emboss == jikes ']'
+ '[' encode == jikes ']'
+ '[' exif == jikes ']'
+ '[' fam == jikes ']'
+ '[' flac == jikes ']'
+ '[' foomaticdb == jikes ']'
+ '[' fortran == jikes ']'
+ '[' gdbm == jikes ']'
+ '[' gif == jikes ']'
+ '[' gpm == jikes ']'
+ '[' gstreamer == jikes ']'
+ '[' gtk2 == jikes ']'
+ '[' imagemagick == jikes ']'
+ '[' imlib == jikes ']'
+ '[' ipv6 == jikes ']'
+ '[' java == jikes ']'
+ '[' jpeg == jikes ']'
+ '[' kde == jikes ']'
+ '[' libg++ == jikes ']'
+ '[' libwww == jikes ']'
+ '[' mad == jikes ']'
+ '[' mikmod == jikes ']'
+ '[' motif == jikes ']'
+ '[' mp3 == jikes ']'
+ '[' mpeg == jikes ']'
+ '[' ncurses == jikes ']'
+ '[' nls == jikes ']'
+ '[' oggvorbis == jikes ']'
+ '[' opengl == jikes ']'
+ '[' pam == jikes ']'
+ '[' pda == jikes ']'
+ '[' pdflib == jikes ']'
+ '[' perl == jikes ']'
+ '[' png == jikes ']'
+ '[' python == jikes ']'
+ '[' qt == jikes ']'
+ '[' quicktime == jikes ']'
+ '[' readline == jikes ']'
+ '[' samba == jikes ']'
+ '[' sdl == jikes ']'
+ '[' spell == jikes ']'
+ '[' ssl == jikes ']'
+ '[' svga == jikes ']'
+ '[' tcpd == jikes ']'
+ '[' tiff == jikes ']'
+ '[' truetype == jikes ']'
+ '[' truetype-fonts == jikes ']'
+ '[' type1-fonts == jikes ']'
+ '[' xml2 == jikes ']'
+ '[' xmms == jikes ']'
+ '[' xv == jikes ']'
+ '[' xvid == jikes ']'
+ '[' zlib == jikes ']'
+ '[' 0 -eq 1 ']'
+ return 1
+ return 1
+ ant jar
Buildfile: build.xml

BUILD FAILED
java.lang.UnsupportedClassVersionError: org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
	at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87)
	at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)
	at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)
	at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
	at org.apache.tools.ant.Main.runBuild(Main.java:658)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

Total time: 0 seconds
java.lang.UnsupportedClassVersionError: org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
	at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:93)
	at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:174)
	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:87)
	at org.apache.tools.ant.util.JAXPUtils.newParserFactory(JAXPUtils.java:114)
	at org.apache.tools.ant.util.JAXPUtils.getNSParserFactory(JAXPUtils.java:100)
	at org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader(JAXPUtils.java:163)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:131)
	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:91)
	at org.apache.tools.ant.Main.runBuild(Main.java:658)
	at org.apache.tools.ant.Main.startAnt(Main.java:188)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
org/apache/xerces/jaxp/SAXParserFactoryImpl (Unsupported major.minor version 49.0)
+ diefunc src_compile 26 1 'Failed Creating Docs'
+ local funcname=src_compile lineno=26 exitcode=1
+ shift 3
+ echo

+ echo '!!! ERROR: dev-java/jakarta-oro-2.0.8-r1 failed.'
!!! ERROR: dev-java/jakarta-oro-2.0.8-r1 failed.
+ echo '!!! Function src_compile, Line 26, Exitcode 1'
!!! Function src_compile, Line 26, Exitcode 1
+ echo '!!! Failed Creating Docs'
!!! Failed Creating Docs
+ echo '!!! If you need support, post the topmost build error, NOT this status message.'
!!! If you need support, post the topmost build error, NOT this status message.
+ echo

+ exit 1

Parent:    ebuild / dev-java/jakarta-oro-2.0.8-r1 merge
Depstring: >=virtual/jdk-1.3 >=dev-java/ant-core-1.4 jikes? ( >=dev-java/jikes-1.17 ) source? ( app-arch/zip ) >=virtual/jdk-1.3
Exiting... None
 ...done!
>>> emerge (1 of 1) dev-java/jakarta-oro-2.0.8-r1 to /
>>> md5 src_uri ;-) jakarta-oro-2.0.8.tar.gz


Reproducible: Always
Steps to Reproduce:
1. emerge jakarta-oro
Actual Results:  
A java error

Expected Results:  
Installed Jakarta-oro

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  2 2005, 17:23:40)]
distcc 2.16 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/
http://gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.tds.net/gentoo http://adelie.polymtl.ca/
http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/
http://prometheus.cs.wmich.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dvdr emboss
encode exif fam flac foomaticdb fortran gdbm gif gpm gstreamer gtk2 imagemagick
imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls
oggvorbis opengl pam pda pdflib perl png python qt quicktime readline samba sdl
spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-04-07 11:38:36 UTC
unmerge everything you merged with 1.5