Calculating world dependencies ...done! >>> emerge (1 of 22) dev-java/commons-logging-1.0.3 to / >>> md5 src_uri ;-) commons-logging-1.0.3-src.tar.gz >>> Unpacking source... >>> Unpacking commons-logging-1.0.3-src.tar.gz to /var/tmp/portage/commons-logging-1.0.3/work >>> Source unpacked. jikes /usr/sbin/ebuild.sh: line 77: ant: command not found !!! ERROR: dev-java/commons-logging-1.0.3 failed. !!! Function jakarta-commons_src_compile, Line 77, Exitcode 127 !!! Compilation Failed Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.24) ================================================================= System uname: 2.4.24 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 Gentoo Base System version 1.4.3.13 distcc 2.11.2 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium-mmx -funroll-loops -pipe" CHOST="i586-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime readline ruby ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms xosd xv zeo zlib"
I can replicate this. I have ant-1.6.0-r3. Here's some helpful stuff. theferret root # qpkg -l dev-java/ant | grep bin/ /usr/bin/complete-ant-cmd.pl /usr/bin/antRun /usr/bin/runant.pl /usr/bin/runant.py
*** Bug 41131 has been marked as a duplicate of this bug. ***
ln -s /usr/bin/runant.pl /usr/bin/ant seems to fix this (and bug 41131) for me. Not sure if this is The Right Thing To Do (TM) though.
ant-1.6.0-r3 installs a bash script into /usr/bin/ant. You should find it here: /usr/portage/dev-java/ant/files/1.6.0-r3/ant Try synching and re-emerge ant # emerge sync # emerge ant
Yeah, linking resolves it.
This works fine with ant-1.5.4. Ant-1.6.0 is being package.masked for now, there are many problems with it. I suggest downgrading to ant-1.5.4 until we have an opportunity to run ant-1.6.0 through testcases.
Try out the new ant 1.6.1 in portage, everything should be resolved :)