see summary. net-dns/libidn-0.5.15 does not compile when no jdk-1.4* is installed. so please change from DEPEND="java? ( >=virtual/jdk-1.4 )" RDEPEND="java? ( >=virtual/jre-1.4 )" to DEPEND="java? ( =virtual/jdk-1.4* )" RDEPEND="java? ( =virtual/jre-1.4* )" thank you. Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.12.5 Last Sync: Thu, 19 Oct 2006 07:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 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.60 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-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" LANG="en_US.UTF-8" LDFLAGS="-Wl,--as-needed" LINGUAS="de en_US" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X acl acpi alsa bash-completion beagle berkdb bitmap-fonts branding bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc encode ffmpeg firefox fortran gdbm gnome gstreamer gtk hal input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_synaptics ipod ipv6 isdnlog java jpeg kdehiddenvisibility kernel_linux libg++ linguas_de linguas_en_US mad mmx mono musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pda pdf perl png ppds pppd python readline reflection samba sasl session spl sqlite ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vidix vorbis win32codecs xine xinerama xorg xvid zeroconf zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Care to elaborate how it fails to emerge?
oh, sorry. 'ere it comes: # emerge -1 libidn -a These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-dns/libidn-0.5.15 USE="java*" Would you like to merge these packages? [Yes/No] >>> Emerging (1 of 1) net-dns/libidn-0.5.15 to / * libidn-0.5.15.tar.gz MD5 ;-) ... [ ok ] * libidn-0.5.15.tar.gz RMD160 ;-) ... [ ok ] * libidn-0.5.15.tar.gz SHA1 ;-) ... [ ok ] * libidn-0.5.15.tar.gz SHA256 ;-) ... [ ok ] * libidn-0.5.15.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking libidn-0.5.15.tar.gz ;-) ... [ ok ] * There was a problem determining which VM to use for generation-1 * This is because the way Java is handled on Gentoo has drastically changed. * There does not seem to be a 1.4 or 1.3 JDK installed. * You should probably install =virtual/jdk-1.4* or =virtual/jdk-1.3* * It is important to have either a 1.4 or 1.3 JDK installed * in order for the old and new Java systems to coexist * Details about this can be found at: * http://overlays.gentoo.org/proj/java/wiki/Why_We_Need_Java14 * You should run, and follow the advice of: * /usr/bin/java-check-environment * You will also likely want to follow the Java Upgrade Guide: * http://www.gentoo.org/proj/en/java/java-upgrade.xml * If you have problems with the guide, please see: * http://overlays.gentoo.org/proj/java/wiki/Common_Problems !!! ERROR: net-dns/libidn-0.5.15 failed. Call stack: ebuild.sh, line 1562: Called dyn_setup ebuild.sh, line 665: Called pkg_setup ebuild.sh, line 1255: Called java-pkg_pkg_setup java-pkg.eclass, line 52: Called die !!! Expected VMHANDLE to be defined in the env !!! If you need support, post the topmost build error, and the call stack if relevant. nothing ever pulled a 1.3 or 1.4 jdk/jre, but compilation with the aforementioned ebuild-change works fine.
Not going to fix, sorry. This is one out of a very many packages using the 'old' eclasses. They _need_ a 1.4 JDK installed. To fix the dependencies of the many ebuilds that are effected would be extremely time consuming and tedious. That energy is much spent migrating packages to using the new eclasses and getting them stabilized. Having that pretty explanative error message shold cover us until that happens.