Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88160 - dev-java/ant-tasks-1.6.2-r7 compilation failed
Summary: dev-java/ant-tasks-1.6.2-r7 compilation failed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-06 06:48 UTC by Guillaume
Modified: 2005-04-06 07:59 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 Guillaume 2005-04-06 06:48:51 UTC
Updating world, I've got a couple of problems with building ant-tasks. I've fixed most of them with an "emerge -1" on the problematic dependency. But I still have a problem with the dev-java/rhino package, ant-tasks doesn't support the latest version of the rhino package:

# emerge -1uD ant-tasks
[...]
BUILD SUCCESSFUL
Total time: 1 minute 36 seconds
... Cleaning Up Build Directories
... Done Bootstrapping Ant Distribution
Buildfile: build.xml

prepare:

check_for_optional_packages:

BUILD FAILED
java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable (Unsupported major.minor version 49.0)


# emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 13:53:08)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/kde/3.4/share/config /usr/lib/X11/xkb /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://gentoo.ynet.sk/pub     http://gentoo.oregonstate.edu     http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa avi bitmap-fonts cjk crypt dvd encode flac fortran gif gnutls gstreamer gtk gtk2 java jpeg mad mmx mng mp3 mpeg ncurses nls offensive oggvorbis opengl pam pic png python quicktime readline sdl sse ssl svg theora threads tiff truetype truetype-fonts unicode wmf xml2 xprint xvid"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS


# java-config -f
sun-jdk-1.4.2.07
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-04-06 07:06:34 UTC
you seem to have merged rhino with 1.5

unmerge everythign you compiled with 1.5 if you want to use 1.4
Comment 2 Guillaume 2005-04-06 07:42:43 UTC
rhino was merged using the sun-jdk-1.4.2.07, would it be a rhino dependency ?

With a quick glance, it doesn't look like the file org/mozilla/javascript/Scriptable.java contains any specific 1.5 code.
Comment 3 Guillaume 2005-04-06 07:59:15 UTC
OK, 2 versions of rhino were merged, unmerging rhino and restarting the process works ...