Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86887 - Can't find ant while trying to merge jakarta-regex
Summary: Can't find ant while trying to merge jakarta-regex
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 86901 86980 86996 87309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-27 12:21 UTC by Alexander Rigbo
Modified: 2005-03-30 10:45 UTC (History)
4 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 Alexander Rigbo 2005-03-27 12:21:40 UTC
When i'm trying to merge jakarta-regex with emerge -uD world i get this:

metroid ~ # emerge -uD world
Calculating world dependencies ...done!
>>> emerge (1 of 2) dev-java/jakarta-regexp-1.3 to /
>>> md5 src_uri ;-) jakarta-regexp-1.3.tar.gz
>>> Unpacking source...
>>> Unpacking jakarta-regexp-1.3.tar.gz to /var/tmp/portage/jakarta-regexp-1.3/work
tar: A lone zero block at 1722
>>> Source unpacked.
/usr/portage/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild: line 31: ant: command not found

!!! ERROR: dev-java/jakarta-regexp-1.3 failed.
!!! Function src_compile, Line 31, Exitcode 127
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

I have ant installed:
metroid ~ # emerge -p dev-java/ant
[ebuild   R   ] dev-java/ant-1.6.2-r6  
and since ant is just a metapackage:
metroid ~ # emerge -p dev-java/ant-core
[ebuild   R   ] dev-java/ant-core-1.6.2-r1  
metroid ~ # emerge -p dev-java/ant-tasks
[ebuild   R   ] dev-java/ant-tasks-1.6.2-r5  


Reproducible: Always
Steps to Reproduce:




metroid ~ # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-rc3 i686)
=================================================================
System uname: 2.6.11-rc3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 28 2005, 01:01:38)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -w -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -w -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa apm artworkextra avi bash-completion berkdb
bitmap-fonts bonobo bzip2 cdparanoia cdr crypt cscope cups curl divx4linux dvd
dvdr emboss encode esd fam flac font-server foomaticdb fortran gdbm gif gnome
gnutls gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg junit ldap libg++
libwww mad mikmod mmx motif mozilla moznomail mozsvg mozxmlterm mp3 mpeg ncurses
nethack nls nptl ntpl nvidia offensive oggvorbis opengl oss pam pdflib perl png
postgres python quicktime readline rplay ruby samba sdl slang spell ssl svg svga
tcltk tcpd tiff truetype truetype-fonts type1-fonts xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-27 12:37:11 UTC
what says 'ls -l /usr/bin/ant' ? does compilation work for other java packages? seems that something in your local setup is borked. try to re-emerge ant first, afterwards emerge jakarta-regexp again.
Comment 2 Alexander Rigbo 2005-03-27 13:31:00 UTC
metroid [~] $ ls -l /usr/bin/ant
ls: /usr/bin/ant: No such file or directory
metroid [~] $ ls -l /usr/bin/ant*
-rwxr-xr-x  1 root root    713 Mar 27 22:13 /usr/bin/antRun
-rwxr-xr-x  1 root root 185236 Dec 31 22:03 /usr/bin/antiword
-rwxr-xr-x  1 root root 317000 Dec 18 14:27 /usr/bin/antlr

antRun seems to be a shellscript wrapper for something in the apache-ant distribution but i don't know.

i tried remerging ant-core before reporting and it didn't do any good.
i tried remerging ant-tasks now and that also didn't do any good.

Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-27 13:47:07 UTC
fixed in cvs, wait for the cvs to propagate the changes and afterwards emerge ant-core again. thanks for your report.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-27 14:29:21 UTC
*** Bug 86901 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Adelman 2005-03-27 15:31:54 UTC
Hmm... Should we look for -r2 as the update with the fix?
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-27 15:35:03 UTC
no, simply re-emerge. as it's fixed now i don't expect much more bug reports about it. it was only ~20min in an unfixed state in the tree.
Comment 7 Jesse Adelman 2005-03-27 21:16:26 UTC
Done. Thank you.
Comment 8 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-28 09:09:54 UTC
*** Bug 86980 has been marked as a duplicate of this bug. ***
Comment 9 Jesse Adelman 2005-03-28 10:11:13 UTC
Hmm... seeing all the dupes here, I can imagine that there are many more affected users who aren't reporting this problem via bugzilla. Perhaps it actually might be time to do a formal revision bump to ensure that everyone is covered?
Comment 10 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-28 13:26:56 UTC
*** Bug 86996 has been marked as a duplicate of this bug. ***
Comment 11 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-30 10:45:24 UTC
*** Bug 87309 has been marked as a duplicate of this bug. ***