Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380853 - dev-java/icedtea: wrong path to gcj-jdk in the ebuild (${vmhome})
Summary: dev-java/icedtea: wrong path to gcj-jdk in the ebuild (${vmhome})
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2011-08-27 16:01 UTC by Michał Górny
Modified: 2011-09-09 09:41 UTC (History)
2 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-08-27 16:01:08 UTC
The vmhome variable in the ebuild is set like the following:

	local vmhome="/usr/$(get_libdir)/jvm/${vm}"

while in fact JDKs are installed in /usr/lib/jvm (there's no /usr/$(get_libdir)/jvm).

So, either JDK install location should change, or the ebuild be corrected to use:

	local vmhome="/usr/lib/jvm/${vm}"
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-09-07 12:08:10 UTC
You're right, but usually this is no problem as usr/lib is symlink to /usr/$(get_libdir) :

lrwxrwxrwx 1 root root 5 Aug  6  2009 /usr/lib -> lib64

Under what conditions did you encounter this to be a problem?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-07 15:55:31 UTC
(In reply to comment #1)
> You're right, but usually this is no problem as usr/lib is symlink to
> /usr/$(get_libdir) :
> 
> lrwxrwxrwx 1 root root 5 Aug  6  2009 /usr/lib -> lib64
> 
> Under what conditions did you encounter this to be a problem?

Simply: under the opposite conditions, where lib and lib64 are separate dirs. This matches the other multilib profile as well, I think.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-09-09 09:41:37 UTC
Fixed, thanks.