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
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.
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.
fixed in cvs, wait for the cvs to propagate the changes and afterwards emerge ant-core again. thanks for your report.
*** Bug 86901 has been marked as a duplicate of this bug. ***
Hmm... Should we look for -r2 as the update with the fix?
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.
Done. Thank you.
*** Bug 86980 has been marked as a duplicate of this bug. ***
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?
*** Bug 86996 has been marked as a duplicate of this bug. ***
*** Bug 87309 has been marked as a duplicate of this bug. ***