When trying to emerge ant-core-1.6.5-r2, after (successful) bootstraping, the given error occurs. The problem seems to be located in the bootstrap/bin/ant-Script, where in one of the last lines (295/ant_exec_command), a -cp is on the command line which seems not to be supported by ant. Reproducible: Always Steps to Reproduce: 1. emerge ant-core-1.6.5-r2 2. 3. Actual Results: emerge fails with Unknown argument: -cp immediately after (successful) bootstrapping of ant. Expected Results: Clean emerge, ant should've been installed successfully. The last lines of output from emerge are: BUILD SUCCESSFUL Total time: 28 seconds ... Cleaning Up Build Directories ... Done Bootstrapping Ant Distribution Unknown argument: -cp ant [options] [target [target2 [target3] ...]] Options: -help, -h print this message -projecthelp, -p print project help information -version print the version information and exit -diagnostics print information that might be helpful to diagnose or report problems. -quiet, -q be extra quiet -verbose, -v be extra verbose -debug, -d print debugging information -emacs, -e produce logging information without adornments -lib <path> specifies a path to search for jars and classes -logfile <file> use given file for log -l <file> '' -logger <classname> the class which is to perform logging -listener <classname> add an instance of class as a project listener -noinput do not allow interactive input -buildfile <file> use given buildfile -file <file> '' -f <file> '' -D<property>=<value> use value for given property -keep-going, -k execute all targets that do not depend on failed target(s) -propertyfile <name> load all properties from file with -D properties taking precedence -inputhandler <class> the class which will handle input requests -find <file> (s)earch for buildfile towards the root of -s <file> the filesystem and use it -nice number A niceness value for the main thread: 1 (lowest) to 10 (highest); 5 is the default !!! ERROR: dev-java/ant-core-1.6.5-r2 failed. !!! Function src_compile, Line 51, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. emerge --info: Portage 2.0.51.22-r3 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.11-gentoo-r11Maximegalon x86_64) ================================================================= System uname: 2.6.11-gentoo-r11Maximegalon x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /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=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib calendar cdparanoia cdr crypt cups curl dga directfb doc dvd dvdread eds emboss encode esd evo exif expat fam fbcon flac foomaticdb fortran ftp gcj gd gdbm gif gimp gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imlib ipv6 jabber jack java jpeg junit kde ldap libwww lzw lzw-tiff mad mime mmap mng motif mozilla mp3 mpeg msn musicbrainz mysql nas ncurses nis nls nptl objc ogg oggvorbis openal opengl oscar pam pcre pdflib perl png postgres ppds python qt quicktime readline real ruby samba scanner sdl slang smartcard sndfile snmp speex spell sqlite ssl svg symlink sysfs tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wmf wxwindows xine xinerama xml xml2 xmms xosd xpm xprint xv xvid yahoo zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Could you please post the full log if possible? It's hard to get a context for where the problem is occuring. Also, which VM and version are you using?
Need more information to fix this problem. If you are still able to reproduce this bug, please re-open and include a full log.