Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740554 - java-vm-2.eclass: installs incorrect symlinks in Prefix which breaks eselect java-vm
Summary: java-vm-2.eclass: installs incorrect symlinks in Prefix which breaks eselect ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-05 16:52 UTC by Steven Trogdon
Modified: 2021-04-02 16:05 UTC (History)
1 user (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 Steven Trogdon 2020-09-05 16:52:03 UTC
Both openjdk-bin-8.265_p01 and icedtea-bin-3.16.0 utilize the java-vm-2.eclass. In both installs the following symlinks are incorrect. From the image folders

ls -al usr/lib/jvm/openjdk-bin-8 
lrwxrwxrwx 1 strogdon math 26 Sep  5 11:42 usr/lib/jvm/openjdk-bin-8 -> /opt/openjdk-bin-8.265_p01

ls -al usr/lib/jvm/icedtea-bin-8 
lrwxrwxrwx 1 strogdon math 23 Sep  5 11:43 usr/lib/jvm/icedtea-bin-8 -> /opt/icedtea-bin-3.16.0

There is a missing EPREFIX before the /opt in both cases. These incorrect symlinks break using eselect java-vm to select user and system java-vm.
Comment 1 Steven Trogdon 2021-04-02 16:05:02 UTC
I suspect this is the same issue as https://bugs.gentoo.org/751805 which has been resolved.

For openjdk-bin-8.2772_p10 from the image folder I now have

ls -al usr/lib/jvm/openjdk-bin-8
lrwxrwxrwx 1 terry terry 54 Apr  2 08:59 usr/lib/jvm/openjdk-bin-8 -> /storage/strogdon/gentoo-rap/opt/openjdk-bin-8.272_p10

which is correct.