Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209427

Summary: Emerge media-gfx/aoi-2.5 fails with ImportError: No module named java_config
Product: Gentoo Linux Reporter: Bill Krueger <bill_krueger>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: java
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Outout of emerge
emerge info
Output of python-updater

Description Bill Krueger 2008-02-09 13:14:00 UTC
Emerging aoi-2.5 fails. The error 

ImportError: No module named java_config 

is followed by the output

 * There was a problem determining which VM to use for generation-1
 * This is because the way Java is handled on Gentoo has drastically changed.


Reproducible: Always

Steps to Reproduce:
1. Emerge aoi
2.
3.
Comment 1 Bill Krueger 2008-02-09 13:15:13 UTC
Created attachment 143038 [details]
Outout of emerge
Comment 2 Bill Krueger 2008-02-09 13:15:37 UTC
Created attachment 143039 [details]
emerge info
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2008-02-09 15:36:19 UTC
Have you recently update python and haven't run python-updater?
Comment 4 Bill Krueger 2008-02-10 03:04:53 UTC
(In reply to comment #3)
> Have you recently update python and haven't run python-updater?
> 

On your suggestion I checked this and see that I updated python from 2.4.4-r6 to 2.5.1-r3 in October of last year. The latest was this Jan 7th when I upgraded to 2.5.1-r5.

I've never run python-updater manually so I gave it a try. I stopped it because it was going to update linux-headers, binutils, gcc and glibc which I don't want to do right now. If that's what it takes then I will go ahead and do this but I won't be able to get to do these emerges until next week. 
Comment 5 Bill Krueger 2008-02-10 03:11:35 UTC
Created attachment 143075 [details]
Output of python-updater

I've included the output of running python-updater with the pretend option in case it's useful.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2008-02-10 17:23:31 UTC
(In reply to comment #5)
> Created an attachment (id=143075) [edit]
> Output of python-updater
> 
> I've included the output of running python-updater with the pretend option in
> case it's useful. 
> 

[ebuild   R   ] dev-java/java-config-1.3.7  0 kB 

So your java-config is broken and needs to be re-emerged.
emerge -a1 java-config:0
Comment 7 Bill Krueger 2008-02-16 13:33:30 UTC
Just got back in town and tried the suggestion of re-emerging java-config and then aoi and aoi now emerges successfully. Thanks for your help, I now know a little more about emerging which may help the next time something like this happens.