when I emerge -u libidn then I get the following error: >>> Unpacking source... >>> Unpacking libidn-0.5.13.tar.gz to /var/tmp/portage/libidn-0.5.13/work >>> Source unpacked. * You need to use java-config to set your JVM to a JDK! !!! ERROR: net-dns/libidn-0.5.13 failed. !!! Function check_java_config, Line 24, Exitcode 0 !!! You need to use java-config to set your JVM to a JDK! !!! If you need support, post the topmost build error, NOT this status message. but java-config -L gives me: [sun-jre-bin-1.4.2.08] "Sun JRE 1.4.2.08" (/etc/env.d/java/20sun-jre-bin-1.4.2.08) * [ibm-jre-bin-1.4.2] "IBM JRE 1.4.2" (/etc/env.d/java/20ibm-jre-bin-1.4.2) Reproducible: Always Steps to Reproduce: 1.emerge -u libidn 2. 3. Expected Results: should compile Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.200 50125-r1, 2.6.11-gentoo-r5 i686) ================================================================= System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 20 2005, 10:03:59) ] dev-lang/python: 2.3.4-r1 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.4 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" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fforce-addr -momit-leaf-frame-poi nter -fomit-frame-pointer -ftracer -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/share/config /usr/lib/X11/xkb /usr/shar e/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -fforce-addr -momit-leaf-frame-p ointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ ftp://mirror.switch.ch/mi rror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups divx4linux embos s encode fam flac foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv 6 ithreads java jpeg lcms libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurse s nls nocd nptl ogg oggvorbis opengl pam pdflib perl png pthreads python quickti me readline samba sdl spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xv xvid zlib video_cards_r250" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
is that all the output java-config -L gives you? it depends on a jdk, portage should have tried to merge one Do you realy have no jdk installed? You really need a jdk as a system-vm to merge java apps java-config will complain loudly if you set a jre
Why do I need a java-jdk. Is a java jre not sufficient. I had the blackberry jdk in package provided. I changed that. It worked. The Bug can be closed.