multi ~ # emerge -va ant-core These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-java/ant-core-1.6.5-r13 USE="doc -source" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Emerging (1 of 1) dev-java/ant-core-1.6.5-r13 to / [...] Exception: Couldn't find suitable VM. Possible invalid dependency string. !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found !!! ERROR: The active vm could not be found [...] >>> Compiling source in /var/tmp/portage/ant-core-1.6.5-r13/work/apache-ant-1.6.5 ... Warning: JAVA_HOME environment variable not set. If build fails because sun.* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of java. Error: JAVA_HOME is not defined correctly. We cannot execute java Bootstrap FAILED !!! ERROR: dev-java/ant-core-1.6.5-r13 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ant-core-1.6.5-r13.ebuild, line 41: Called die !!! failed to build !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="-target 1.4" COMPILER="" and of course, the output of emerge --info multi ~ # emerge --info Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.15 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de http://gd.tuwien.ac.at/opsys/linux/gentoo/" LANG="de_DE.utf8 " LC_ALL="de_DE.utf8" LINGUAS="de en fr it cs cz tr ru ja ko zh_CN zh_TW" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="amd64 64bit X Xaw3d a52 aac acpi aim aimextras alsa amarok amd ao aotuv apache2 applet arts artworkextra asf async atk auctex automount avi bash-completion berkdb bidi bitmap-fonts bl calendar catalogs cdparanoia chipcard cjk cli cpudetection cracklib crypt css cups curlwrappers cvs dhcp dlloader doc dri dv dvd dvdr dvdread dvi eds emacs emacs-w3 emboss encode faxonly fbcon firefox flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 i8x0 ieee1394 imlib ipv6 isdnlog jpeg kde kdeenablefinal ldap lzw lzw-tiff mp3 mpeg ncurses nfs nls nsplugin nvidia ogg opengl openssl oss pam pcre pda pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd theora tiff truetype-fonts type1-fonts unicode usb utf8 vorbis xinerama xorg xpm xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de linguas_en linguas_fr linguas_it linguas_cs linguas_cz linguas_tr linguas_ru linguas_ja linguas_ko linguas_zh_CN linguas_zh_TW userland_GNU video_cards_nvidia video_cards_vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY multi ~ # echo $JAVA_HOME /opt/blackdown-jdk-1.4.2.03 I don't know why JAVA_HOME is not recognized by the ebuild, but it IS set. Are any further infos necessary?
The way Java is handled has been drastically changed. Please make sure you have followed all the steps at: http://www.gentoo.org/proj/en/java/java-upgrade.xml
Need to know if you've followed the upgrade guide.
You put me to the update page which i did not find myself. After following the instructions, ant-core compiled. For me, the problem remains how i could have avoided that unnecessary bug report. The ebuilds i re-emerged before reading the update instructions did not have a pointer to the update, so it would be helpful to include such an "error" message. On the other side, i think that it is not possible to add to every single ebuild that has java in its dependencies a pointer to the update page ...