BUILD FAILED /var/tmp/portage/xml-xmlbeans-20041217/work/xml-xmlbeans-20041217/v1/build.xml:69: Could not create task or type of type: junit. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'junit'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using <taskdef>. - You are attempting to use a task defined using <presetdef> or <macrodef> but have spelt wrong or not defined it at the point of use root@eNTi # emerge info Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64) ================================================================= System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 7 2005, 04:43:05)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.9.3, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://mir.zyrianes.net/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.ntua.gr/pub/linux/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 S3TC X aalib acpi acpi4linux alsa async bash-completion berkdb bidi bitmap-fonts bzlib cdb cddb cdinstall cdparanoia cdr cdrom chroot codecs crypt dga distcache divx4linux dts dvb dvd dvdr dvdread escreen ethereal ext-png ext-zlib faac faad fam fame fastcgi fftw flac fltk fmod font-server freetype ftp gd gif gimp gimpprint gkrellm glut gpm gs gtk gtkhtml icq imagemagick imlib imlib2 ipv6 java javadoc jikes jp2 jpeg junit lcms libcaca libwww lzo lzw lzw-tiff maildir matroska mcal mjpeg mmap mng moznocompose moznoirc moznomail mozsvg mp3 multilib mythtv native ncurses nethack network nls no-old-linux nocd nowin nvidia offensive oggvorbis openal opengl operanom2 oscar oss pam pcre perl php physfs png posix ppds python qt readline rtc shared sharedmem slp sndfile sockets ssl stencil-buffer stroke svg tcltk tcpd tetex theora threads tiff timidity transcode truetype truetype-fonts type1 type1-fonts usb userlocales vim vim-with-x vnc winbind wmf wxwindows xchatdccserver xine xmlrpc xmms xosd xpm xrandr xv xvid xvmc zlib"
thanks, fixed by fine tuning the ant dependency. ant-core is not sufficient while doing junit tests.
sorry to reopen, but nothing has changed, since you declared it resolved. still the same thing and i can't emerge eclipse-sdk because of this. would be great, if you could give me some hints as how far it's being fixed and i'm too stupid to install it properly. thx
hmm, your problem is defenitly related to ant-tasks i would say. please run 'equery list ant-tasks' (emerge gentoolkit if you don't have equery) and post the output here. it seems that the ant dependency doesn't pull ant-tasks in then.
ok, finally fixed that. my fault, junit tests are now only enabled if ant-tasks is already present. please wait for the mirrors to sync up with the main cvs server and do 'emerge sync' again.
i know, it's not THIS ebuild, but it seems other like "commons-net-1.3.0" is complaining about the same. could you please just check the eclipse-sdk dependency tree for that kind of error? i don't want to file a bug report for each package, that gives the same error.
there is already a bug for commons-net open (#76534). i'll fix it in a few minutes. if you find a new package which is broken please search bugzilla first and if there is nothing which looks like your problem file a new bug.