Hi. I ran an update today, got this error: #================================================================ # Ready to install. #================================================================ /var/tmp/portage/dev-db/qdbm-1.8.78/work/qdbm-1.8.78 make -j4 /opt/sun-jre-bin-1.6.0.22/bin/javac -d . -source 1.4 -target 1.4 ./*.java /opt/sun-jre-bin-1.6.0.22/bin/javac -d . -source 1.4 -target 1.4 ./*.java /opt/sun-jre-bin-1.6.0.22/bin/javac -d . -source 1.4 -target 1.4 ./*.java /bin/sh: /opt/sun-jre-bin-1.6.0.22/bin/javac: No such file or directory /bin/sh: /opt/sun-jre-bin-1.6.0.22/bin/javac: No such file or directory make: *** [ADBM.class] Error 127 make: *** Waiting for unfinished jobs.... make: *** [DBMException.class] Error 127 /bin/sh: /opt/sun-jre-bin-1.6.0.22/bin/javac: No such file or directory make: *** [Util.class] Error 127 emake failed * ERROR: dev-db/qdbm-1.8.78 failed: * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4110: Called qdbm_api_for * environment, line 4008: Called die * The specific snippet of code: * emake || die I think its pretty obvious what is going wrong here: its using javac for something, and I'm using dev-java/sun-jdk which on amd64 doesn't come with javac. I think the same goes for dev-java/sun-jre-bin and possibly other java implementations as well. I think I saw some ebuild a while ago that checks what VMs are installed and temporarily switches to one that works for the build, maybe that could be done here, or the ebuild could just check what vm you're running and do a warning.
It seems that your system vm is sun-jre-bin. Please read Preferred Build VM section of Gentoo Java Guide[1] and configure your java environment.
Oops! I forgot to mention the url. [1] http://www.gentoo.org/doc/en/java.xml#preferred-vm