<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>40012</bug_id>
          
          <creation_ts>2004-01-31 13:07 0000</creation_ts>
          <short_desc>jedit-4.1 will not compile, and `emerge` exits with &quot;Exception in thread &apos;main&apos; java.lang&quot;</short_desc>
          <delta_ts>2004-02-04 20:52:33 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>iamtheinformant@yahoo.com</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          <cc>zx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>iamtheinformant@yahoo.com</who>
            <bug_when>2004-01-31 13:07:18 0000</bug_when>
            <thetext>When I try to emerge jedit (jedit-4.1), immediately after &quot;source unpacked&quot;, it complains about &quot;Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/apache/tools/ant/Main&quot;, and exits with compile error. This happens whether I set &quot;jikes&quot; as a USE flag or not...

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

&gt;&gt;&gt; emerge (1 of 1) app-editors/jedit-4.1 to /
&gt;&gt;&gt; md5 src_uri ;-) jedit41source.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking jedit41source.tar.gz to /var/tmp/portage/jedit-4.1/work
&gt;&gt;&gt; Source unpacked.
Exception in thread &quot;main&quot; 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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon-xp -O3 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zx@gentoo.org</who>
            <bug_when>2004-02-01 10:57:16 0000</bug_when>
            <thetext>What&apos;s the output of ant -version?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>iamtheinformant@yahoo.com</who>
            <bug_when>2004-02-01 12:18:33 0000</bug_when>
            <thetext>Okay, after re-merging ant, `ant -version` shows version 1.5.4 -- this wasn&apos;t caught in the ebuild I don&apos;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...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zx@gentoo.org</who>
            <bug_when>2004-02-01 13:03:45 0000</bug_when>
            <thetext>Created an attachment (id=24775)
jedit-4.2_pre8-r1.diff

diff to fix the issue. It seems as of late, jEdit requires at least ant 1.5 :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aalmenar@gmail.com</who>
            <bug_when>2004-02-04 20:52:33 0000</bug_when>
            <thetext>Commited.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24775</attachid>
            <date>2004-02-01 13:03 0000</date>
            <desc>jedit-4.2_pre8-r1.diff</desc>
            <filename>jedit-4.2_pre8-r1.diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGplZGl0LTQuMl9wcmU4LmVidWlsZAkyMDA0LTAyLTAxIDE1OjU4OjU5LjQ4NzUwMTg4MCAt
MDUwMAorKysgamVkaXQtNC4yX3ByZTgtcjEuZWJ1aWxkCTIwMDQtMDItMDEgMTY6MDE6MDIuNTc1
Nzg5NjE2IC0wNTAwCkBAIC0xNCw3ICsxNCw3IEBACiAKIFJERVBFTkQ9Ij49dmlydHVhbC9qZGst
MS4zIgogREVQRU5EPSIke1JERVBFTkR9Ci0JPj1kZXYtamF2YS9hbnQtMS40LjEKKwk+PWRldi1q
YXZhL2FudC0xLjUqCiAJamlrZXM/ICggPj1kZXYtamF2YS9qaWtlcy0xLjE3ICkiCiAKIFM9IiR7
V09SS0RJUn0vakVkaXQiCg==
</data>        

          </attachment>
    </bug>

</bugzilla>