The emerge fails. The only part I understand says ImportError: No module named java_config Error: JAVA_HOME is not defined correctly. We cannot execute But my JAVA_HOME appears to be correct: treat bin # echo $JAVA_HOME /opt/sun-jdk-1.5.0.05 treat bin # And I don't know about a java-config package, but if it's needed, shouldn't it be installed or a dependency? >>> emerge (5 of 5) dev-java/bcel-5.1-r2 to / >>> md5 files ;-) bcel-5.1-r1.ebuild >>> md5 files ;-) bcel-5.1-r2.ebuild >>> md5 files ;-) files/bcel-5.1-gentoo.diff >>> md5 files ;-) files/bcel-5.1-gentoo-buildxml.diff >>> md5 files ;-) files/bcel-5.1-gentoo-src.diff >>> md5 files ;-) files/digest-bcel-5.1-r1 >>> md5 files ;-) files/bcel-5.1-gentoo-buildxml-r2.diff >>> md5 files ;-) files/digest-bcel-5.1-r2 >>> md5 src_uri ;-) bcel-5.1-src.tar.gz >>> Unpacking source... >>> Unpacking bcel-5.1-src.tar.gz to /var/tmp/portage/bcel-5.1-r2/work * Applying bcel-5.1-gentoo-buildxml-r2.diff ... [ ok ] * Applying bcel-5.1-gentoo-src.diff ... [ ok ] Traceback (most recent call last): File "/usr/bin/java-config", line 14, in ? from java_config import jc_options ImportError: No module named java_config >>> Source unpacked. Traceback (most recent call last): File "/usr/bin/java-config", line 14, in ? from java_config import jc_options ImportError: No module named java_config Error: JAVA_HOME is not defined correctly. We cannot execute !!! ERROR: dev-java/bcel-5.1-r2 failed. !!! Function src_compile, Line 38, Exitcode 1 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. treat bin # eix bcel * dev-java/bcel Available versions: 5.1-r1 5.1-r2 Installed: 5.1-r1 Homepage: http://jakarta.apache.org/bcel/ Description: The Byte Code Engineering Library: analyze, create, manipulate Java class files Found 1 matches treat bin # Reproducible: Always Steps to Reproduce: 1.emerge bcel 2. 3. Actual Results: see the output above
*** This bug has been marked as a duplicate of 112512 ***