Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141047 - libidn-0.6.5 fails without java even with USE=-java
Summary: libidn-0.6.5 fails without java even with USE=-java
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 141159 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-19 07:50 UTC by Mikael Magnusson
Modified: 2006-07-23 17:28 UTC (History)
4 users (show)

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 Mikael Magnusson 2006-07-19 07:50:59 UTC
When trying to emerge libidn-0.6.5 i got this error message

 * Enabling generation-2 compatibility ...
 * There was a problem determining which VM to use for generation-1
 * You may need to set your generation-1 VM again, and run env-update && source/etc/profile
 * Also, make sure you have followed the Java Upgrade Guide:
 * http://www.gentoo.org/proj/en/java/java-upgrade.xml                                      [ !! ]

!!! ERROR: net-dns/libidn-0.6.5 failed.
Call stack:
  ebuild.sh, line 1561:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  ebuild.sh, line 1254:   Called java-pkg_pkg_setup
  java-pkg.eclass, line 41:   Called die

!!! Couldn't determine VM for generation-1
!!! If you need support, post the topmost build error, and the call stack if relevant.

But i have -java in USE. I had to remove java-pkg from the inherit line in the ebuild to be able to complete the merge.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-07-19 08:31:03 UTC
I think the fix for this would be to have a check around the compatibility which checks for the presence of java in IUSE... if it isn't present, run the check. if it is present, and the java use flag is enabled, then run the check.

Aside from that, you will likely want to use the upgrade guide regardless, just to let you koow.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-20 06:10:44 UTC
*** Bug 141159 has been marked as a duplicate of this bug. ***
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-07-23 17:28:08 UTC
I commmitted a fix last week to the java-pkg eclass which should make it have the error if the package has IUSE=java, and the user has indicated -java. This should be fixed now.