Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41123 - dev-java/commons-logging-1.0.3 /usr/sbin/ebuild.sh: line 77: ant: command not found
Summary: dev-java/commons-logging-1.0.3 /usr/sbin/ebuild.sh: line 77: ant: command not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 41131 (view as bug list)
Depends on:
Blocks: 42850
  Show dependency tree
 
Reported: 2004-02-10 08:58 UTC by Hans-Christian Armingeon
Modified: 2004-03-11 17:09 UTC (History)
3 users (show)

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 Hans-Christian Armingeon 2004-02-10 08:58:43 UTC
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"
Comment 1 ferret 2004-02-10 09:28:49 UTC
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
Comment 2 ferret 2004-02-10 11:46:31 UTC
*** Bug 41131 has been marked as a duplicate of this bug. ***
Comment 3 ferret 2004-02-10 11:48:06 UTC
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.
Comment 4 Chetan Sarva 2004-02-13 15:15:14 UTC
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
Comment 5 Nick Demchenko 2004-02-15 06:41:52 UTC
Yeah, linking resolves it.
Comment 6 Dylan Carlson (RETIRED) gentoo-dev 2004-02-25 11:00:18 UTC
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.
Comment 7 Chris Aniszczyk (RETIRED) gentoo-dev 2004-03-11 17:09:27 UTC
Try out the new ant 1.6.1 in portage, everything should be resolved :)