Summary: | new install of dev-java/sun-jdk-1.6.0.02 fails with portage-2.0.54 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tobias Sager <moixa> |
Component: | [OLD] Java | Assignee: | Java team <java> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev-portage |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Tobias Sager
2007-09-04 09:09:30 UTC
The link target does not have to exist upon link creation. I think it's telling you that '/var/tmp/portage/sun-jdk-1.6.0.02/image//usr/lib/jvm/' does not exist. But I don't see why. Hm there's a 'dosym' command which AFAIK should create the directories needed to contain the link, so should not really fail. Just noticed your "Portage 2.0.54" - that's too old for java stuff. There's even explicit DEPEND on >=portage-2.1 so it's pretty weird it lets you emerge sun-jdk with this version. Hmm right, just as I though, the DEPEND restriction to >=2.1 for VM's was added just because of this problem - https://forums.gentoo.org/viewtopic.php?p=3415514 Maybe dosym is broken in this portage version, dunno. Well it's not in the tree anymore so guess nobody will fix it. Except if it happens with 2.0.51.22-r3 which is the only 2.0* in tree. 2.1 is fine The funny thing is that I am doing an `emerge -u portage` which wants to update my Java because of dependencies (sys-libs/db).. Let me try updating portage without the Java dep and then try to install Java. (In reply to comment #2) > Hm there's a 'dosym' command which AFAIK should create the directories needed > to contain the link, so should not really fail. Only with newer Portage versions. > Just noticed your "Portage 2.0.54" - that's too old for java stuff. There's > even explicit DEPEND on >=portage-2.1 so it's pretty weird it lets you emerge > sun-jdk with this version. > Maybe 2.0.54 does not handle deps from eclasses properly? aria dev-java # qdepends -d dev-java/sun-jdk-1.6.0.02 dev-java/sun-jdk-1.6.0.02: =dev-java/java-config-2.0* >=sys-apps/portage-2.1 To me it seems that emerge -u does not check that required deps are satisfied. The merge worked with the newest portage. (In reply to comment #6) > To me it seems that emerge -u does not check that required deps are satisfied. Could be an attempt to break out of circular deps. Maybe we could add a dodir before the dosym just in case, although not systematic solution. Would probably move the problem to sys-libs/db which depends on 2.1.x (or what we have now for proper env handling :) via eclass. (In reply to comment #8) > (In reply to comment #6) > > To me it seems that emerge -u does not check that required deps are satisfied. > > Could be an attempt to break out of circular deps. Could be. You need at least portage-2.1.2 to guarantee that all deps are satisfied. seems to be fixed, up to that not in tree anymore |