Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114736 - emerge javacc: fails with ImportError: No module named java_config
Summary: emerge javacc: fails with ImportError: No module named java_config
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 04:43 UTC by Vassilii Khachaturov
Modified: 2005-12-07 07:32 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 Vassilii Khachaturov 2005-12-07 04:43:57 UTC
# emerge -v javacc
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-java/javacc-3.2-r3 to /
>>> md5 files   ;-) javacc-3.2-r3.ebuild
>>> md5 files   ;-) files/javacc-3.2-javadoc.patch
>>> md5 files   ;-) files/javacc-3.2
>>> md5 files   ;-) files/jjtree-3.2
>>> md5 files   ;-) files/digest-javacc-3.2-r3
>>> md5 files   ;-) files/jjdoc-3.2
>>> md5 files   ;-) files/javacc.sh-3.2
>>> md5 src_uri ;-) javacc-3.2.tar.gz
>>> Unpacking source...
>>> Unpacking javacc-3.2.tar.gz to /var/tmp/portage/javacc-3.2-r3/work
 * Applying javacc-3.2-javadoc.patch ...                                       
              [ ok ]
>>> 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/javacc-3.2-r3 failed.
!!! Function src_compile, Line 32, Exitcode 1
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

This is an x86 machine using the latest stable release (emerge sync
and world done yesterday, all configs merged):

# cat /etc/gentoo-release 
Gentoo Base System version 1.6.13
# uname -a
Linux asus3 2.6.11-gentoo-r11 #1 Tue Jul 5 03:40:24 IDT 2005 i686 Pentium III
(Coppermine) GenuineIntel GNU/Linux
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-12-07 07:32:00 UTC
Most likely, you have recently updated from python-2.3 to python-2.4, but did
not run 'python-updater'. You must run this to make sure all python packages put
their modules into the proper location to run with python-2.4.

If you had posted 'emerge info', as you are prompted to when filing out a bug, I
would be able to know if this is the case for sure.