https://bugzilla.novell.com/show_bug.cgi?id=392494
User bk@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=392494#c2
--- Comment #2 from Bernhard Kaindl 2008-05-20 07:36:07 MST ---
Created an attachment (id=216867)
--> (https://bugzilla.novell.com/attachment.cgi?id=216867)
Patch to change update-alternatives in %post of -n devel from
%{_jvmjardir}/%{sdklnk} to %{jvmjardir}
Hi, I am testing the attached patch now to see if that fixes the broken
symlink.
The error is:
..
installing java-1_6_0-openjdk-1.2_b09-13.4
installing ecj-3.3-1.76
installing ant-1.7.0-124.9
installing java-1_6_0-openjdk-devel-1.2_b09-13.4
installing texlive-bin-2007-166.6
installing tomcat6-lib-6.0.16-5.9
/usr/bin/build-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does
not exist or is not a directory
error: %post(tomcat6-lib-6.0.16-5.9.noarch) scriptlet failed, exit status 5
When I installed java-1_6_0-openjdk on my system, I saw that the
symlink /usr/lib/jvm-exports/java exists but points to a broken
link:
l /usr/lib64/jvm-exports/java
lrwxrwxrwx 1 root root 34 2008-04-25 23:31 /usr/lib64/jvm-exports/java ->
/etc/alternatives/java_sdk_exports
l /etc/alternatives/java_sdk_exports
lrwxrwxrwx 1 root root 41 2008-05-20 14:33 /etc/alternatives/java_sdk_exports
-> /usr/lib64/jvm-exports/java-1.6.0-openjdk
l /usr/lib64/jvm-exports/java-1.6.0-openjdk
ls: cannot access /usr/lib64/jvm-exports/java-1.6.0-openjdk: No such file or
directory
Changelogs:
-------------------------------------------------------------------
Sat May 17 17:08:43 CEST 2008 - aj@suse.de
- Do not package %{_jvmjardir}/%{sdklnk}.
-------------------------------------------------------------------
Wed May 14 16:59:02 CEST 2008 - mvyskocil@suse.cz
- fix of [bnc#388578] - tomcat6 cannot get installed
changed the definition of a %jvmjardir macro to %{_jvmjardir}/%{sdkdir}
...
-------------------------------------------------------------------
I have no idea why aj removed the %{_jvmjardir}/%{sdklnk} which looks like
the missing link. Do we need the link itself or can we change the
java_sdk_exports and java_sdk_1.6.0_exports symlinks
to point to %jvmjardir which Michal changed to %{_jvmjardir}/%{sdkdir}
(which is now: /usr/lib64/jvm-exports/java-1.6.0-openjdk-1.2_b09/ )
instead? If that's sufficient (I guess so) then if the attached patch indeed
fixes the links, I could submit it as fix for this bug.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.