| Summary: | sci-mathematics/yacas-1.2.2 - Home for VM 'sun-jdk-1.6' does not exist: ../../usr/lib/jvm/sun-jdk-1.6 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | rainer <rbachl> |
| Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | java |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
patch for the ebuild
Patch to fix makefile issues |
||
|
Description
rainer
2008-11-08 20:46:45 UTC
It looks like your java sdk is not properly selected; please show output from command 'java-config -L' # java-config -L The following VMs are available for generation-2: 1) Sun JDK 1.5.0.16 [sun-jdk-1.5] *) Sun JDK 1.6.0.07 [sun-jdk-1.6] Does /usr/lib/jvm/sun-jdk-1.6 actually exist? It should be a symlink to your 1.6 JDK directory under /opt Java and the links seem to be fine. Yacas is currently the only program that does not install. # ls -l /usr/lib/jvm total 0 lrwxrwxrwx 1 root root 21 Oct 24 00:50 sun-jdk-1.5 -> /opt/sun-jdk-1.5.0.16 lrwxrwxrwx 1 root root 21 Nov 8 21:29 sun-jdk-1.6 -> /opt/sun-jdk-1.6.0.07 Everything compiles fine here with Sun JDK 1.6.0.10. There's probably something wrong with your java setup since the error you get stems from javac aka run-java-tool. I've cc'd the java folks who hopefully can give us some helpful hints as to what the problem might be. Thanks, Markus The ebuild uses a wrong eclass. The 'java' eclass is long deprecated relict of the past (before I joined at least :) and was used only for jdk and jre packages, not normal packages (yeah its misleading name sucks but we can't do anything about it now). We didn't really expected anyone to use it by mistake so there seem to be no deprecation warnings and we don't check its usage in our gen2 migration status scripts... should update them now :) It should use java-pkg-opt-2 eclass instead, install the jar using java-pkg_dojar and use java-pkg_dolauncher for the jyacas launcher. I could look into it but not right now. (In reply to comment #6) > The ebuild uses a wrong eclass. The 'java' eclass is long deprecated relict of > the past (before I joined at least :) and was used only for jdk and jre > packages, not normal packages (yeah its misleading name sucks but we can't do > anything about it now). We didn't really expected anyone to use it by mistake > so there seem to be no deprecation warnings and we don't check its usage in our > gen2 migration status scripts... should update them now :) > > It should use java-pkg-opt-2 eclass instead, install the jar using > java-pkg_dojar and use java-pkg_dolauncher for the jyacas launcher. I could > look into it but not right now. > Thanks much for looking into this! Any help would be appreciated but I'll try to look into it later myself if I find some time. Thanks, Markus Created attachment 171369 [details, diff]
patch for the ebuild
The ebuild also has incorrect dependencies for jdk and jre. Also makefile.yacas doesn't respect CXX not JAVACFLAGS. The patch for makefile issues will follow.
Created attachment 171371 [details, diff]
Patch to fix makefile issues
Thanks a lot for your fixes Serkan. I applied them in cvs. PS: we don't need to redefine CXX in makefiles I posted makefile patch to upstream issue tracker. Here's the link to it: https://sourceforge.net/tracker2/?func=detail&aid=2260269&group_id=2528&atid=102528 |