Summary: | openoffice-2.0.4_Rc1-r1 fails to install, citing java not found, when really installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeffrey Forman (RETIRED) <jforman> |
Component: | New packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | java |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeffrey Forman (RETIRED)
2006-09-11 17:34:30 UTC
I'm pretty sure that the problem is that java-pkg-opt-2 is being inherited, but its pkg_setup isn't being invoked during the ebuilds pkg_setup. (In reply to comment #1) > I'm pretty sure that the problem is that java-pkg-opt-2 is being inherited, but > its pkg_setup isn't being invoked during the ebuilds pkg_setup. > I thought that this is automatically added through the use of the java-pkg-opt-2-eclass, am I wrong here? Also it works without problems here. @Jeffrey: I think the problem here is, that you are trying this on stable, while the new ebuild really needs the new java-system (which is not yet available on stable) (In reply to comment #2) > I thought that this is automatically added through the use of the > java-pkg-opt-2-eclass, am I wrong here? Also it works without problems here. Yes, java-pkg-opt-2 exports own pkg_setup, but if you create you own pkg_setup, you need to call it manually from there. You know it works by seeing einfo line like this somewhere between digest checking and unpacking: * Using: sun-jdk-1.6 Uhm sorry, not right. There's a pre-phase hook for pkg_setup() (features of portage-2.1+) so it works without it. We were just considering to remove that hooks when 2.1.1 is stable because it saves env properly between phases (the reason why the hooks were there in the first place). So right now you don't need to call java-pkg-opt_pkg_setup but it might change in the future. Anyway you can verify it's called as the previous comment says. (In reply to comment #4) > Uhm sorry, not right. There's a pre-phase hook for pkg_setup() (features of > portage-2.1+) so it works without it. We were just considering to remove that > hooks when 2.1.1 is stable because it saves env properly between phases (the > reason why the hooks were there in the first place). So right now you don't > need to call java-pkg-opt_pkg_setup but it might change in the future. Anyway > you can verify it's called as the previous comment says. > And indeed this shows that it is called correctly, so no problem here. @Jeffrey: Unfortunately this is a CANTFIX-case for me, as this results from the change in the java-system and you trying to emerge it on stable. Sorry. Closing, please reopen if you have an idea how to solve this in a better way. |