Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113030 - Emerge bcel-5.1-r2 fails
Summary: Emerge bcel-5.1-r2 fails
Status: RESOLVED DUPLICATE of bug 112512
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 13:06 UTC by Kevin O'Gorman
Modified: 2005-11-19 13:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Gorman 2005-11-19 13:06:11 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-19 13:09:43 UTC

*** This bug has been marked as a duplicate of 112512 ***