Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40012 - jedit-4.1 will not compile, and `emerge` exits with "Exception in thread 'main' java.lang"
Summary: jedit-4.1 will not compile, and `emerge` exits with "Exception in thread 'mai...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 13:07 UTC by matt
Modified: 2004-02-04 20:52 UTC (History)
1 user (show)

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


Attachments
jedit-4.2_pre8-r1.diff (jedit-4.2_pre8-r1.diff,301 bytes, text/plain)
2004-02-01 13:03 UTC, Chris Aniszczyk (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2004-01-31 13:07:18 UTC
When I try to emerge jedit (jedit-4.1), immediately after "source unpacked", it complains about "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main", and exits with compile error. This happens whether I set "jikes" as a USE flag or not...

Reproducible: Always
Steps to Reproduce:
1. Have installed Gentoo system.
2. Run (as root) `emerge jedit` [OR] `USE="jikes" emerge jedit`
Actual Results:  
The ebuild quit immediately after source unpack with the following error:

>>> emerge (1 of 1) app-editors/jedit-4.1 to /
>>> md5 src_uri ;-) jedit41source.tar.gz
>>> Unpacking source...
>>> Unpacking jedit41source.tar.gz to /var/tmp/portage/jedit-4.1/work
>>> Source unpacked.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
 
!!! ERROR: app-editors/jedit-4.1 failed.
!!! Function src_compile, Line 40, Exitcode 1
!!! compile problem


Expected Results:  
It should have actually compiled (and installed)

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.0-gentoo)
=================================================================
System uname: 2.6.0-gentoo i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb bonobo cdr crypt cups encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd
truetype x86 xml2 xmms xv zlib"
Comment 1 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-01 10:57:16 UTC
What's the output of ant -version?
Comment 2 matt 2004-02-01 12:18:33 UTC
Okay, after re-merging ant, `ant -version` shows version 1.5.4 -- this wasn't caught in the ebuild I don't think, as Jedit seems to require 1.5.4 (or else the other version went bad on me...). Compile now seems to be working...
Comment 3 Chris Aniszczyk (RETIRED) gentoo-dev 2004-02-01 13:03:45 UTC
Created attachment 24775 [details]
jedit-4.2_pre8-r1.diff

diff to fix the issue. It seems as of late, jEdit requires at least ant 1.5 :)
Comment 4 Adrian Almenar 2004-02-04 20:52:33 UTC
Commited.