Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214510 - dev-java/ant-core-1.7.0 doesn't find classes
Summary: dev-java/ant-core-1.7.0 doesn't find classes
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-24 12:05 UTC by Marcin Kryczek
Modified: 2008-07-14 17:17 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 Marcin Kryczek 2008-03-24 12:05:50 UTC
hi,
i've got broken ant-core instalation. here's an output of running ant:
<root@CogES>/home/mkay: ant
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

my emerge --info:
Portage 2.2_pre5 (default-linux/x86/2006.1/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.20.1-atopcnt-imq i686)
=================================================================
System uname: 2.6.20.1-atopcnt-imq i686 AMD Athlon(tm) XP 1500+
Timestamp of tree: Sat, 22 Mar 2008 19:17:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r9, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs cvs digest distcc distlocks fixpackages metadata-transfer parallel-fetch preserve-libs sandbox sfperms spinner strict unmerge-orphans userfetch"
GENTOO_MIRRORS="#http://gentoo.zie.pg.gda.pl/ http://gentoo.prz.rzeszow.pl http://src.gentoo.pl/distfiles"
LANG="en_US"
LINGUAS="pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage"
USE="3dnow 3dnowext X aac aiglx alsa amarok apache2 atm bash-completion bzip2 cairo canvas cdr cli cracklib crypt cups dbus divx divx4linux dlloader dri dvd dvdr dvdread eds emboss encode exscalibar extraicons extramodules fam fbcon ffmpeg firefox fla flac fortran gd gif gimp glitz glut gmedia gpgme gpm gstreamer gtk gtk2 hal iconv imlib2 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas lcms ldap live loop-aes mad mailwrapper memlimit midi mikmod mmx mmxext moznocompose moznoirc moznomail mp3 mpeg mudflap musepack musicbrainz ncurses nls nocardbus nptl nptlonly nvidia ogg opengl openmp oss pam pcre pda perl png ppds pppd python qt3 qt4 quicktime rdesktop readline real realmedia reflection samba sasl scanner sdl serial session spl sql sqlite sse ssl tcpd tiff truetype unicode usb userlocales v4l v4l2 vcd videos vim-with-x vorbis win32codecs wmf wmp x86 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

i've tried to reemerge all (i think) packages related to java, but i haven't fix that problem. i know it might be my system-specific, couse i do not have such problems on second (very similar) system, but i just can't get it work. any suggestion are welcome...
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-03-24 12:18:44 UTC
(In reply to comment #0)
> 
> my emerge --info:
> Portage 2.2_pre5 (default-linux/x86/2006.1/desktop, gcc-4.2.3, glibc-2.7-r1,
> 2.6.20.1-atopcnt-imq i686)

Have you tried downgrading Portage? I remember them saying that it's not meant for general use yet.
Comment 2 Marcin Kryczek 2008-03-24 12:27:20 UTC
not yet,
i may try that, but what should i try to reemerge than (and in what order)? will reemerging of ant-core be enought or should i also try other packages?
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2008-03-24 17:19:13 UTC
(In reply to comment #2)
> not yet,
> i may try that, but what should i try to reemerge than (and in what order)?
> will reemerging of ant-core be enought or should i also try other packages?
> 

Just ant-core probably, might also want to check where `which ant` points to
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-07-14 17:17:04 UTC
Please reopen if that still happens and with the requested info.