Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361283 - dev-java/icedtea6-bin: files/icedtea6bin.env is not prefixified
Summary: dev-java/icedtea6-bin: files/icedtea6bin.env is not prefixified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2011-03-30 12:45 UTC by Lionel Orry
Modified: 2011-09-15 04:18 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 Lionel Orry 2011-03-30 12:45:04 UTC
The file dev-java/icedtea6-bin/files/icedtea6bin.env contains absolute paths like '/opt/@P@' that are not adjusted when the file is installed on the prefix system.

The result is that 'java-config' tool is unusable to query this vm and other packages cannot be emerged (like dev-java/ant-core for example).

Reproducible: Always

Steps to Reproduce:
1. emerge dev-java/icedtea6-bin
2. java-config -c
Actual Results:  
/opt/icedtea6-bin-1.9.4
!!! ERROR: The javac executable was not found in the Java path


Expected Results:  
/home/user/gentoo_prefix/opt/icedtea6-bin-1.9.4
/home/user/gentoo_prefix/opt/icedtea6-bin-1.9.4/bin/javac
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2011-04-22 14:31:59 UTC
I looked at the env files in sun-jdk and saw no special prefix handling that I could transfer to icedtea6-bin, even though I thought sun-jdk already had some prefix support? Or is it only in some overlay?
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-04-22 14:47:03 UTC
Probably something like: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/dev-java/sun-jdk/files/sun-jdk-1.6.env

The prefix team hasn't been able to prepare a patch for java ebuilds yet for the java team to review. This is why we didn't ask anything of you yet :) If you want to take on the effort of obsoleting the "prefix overlay" version(s) we will be eternally grateful!
Comment 3 Fabian Groffen gentoo-dev 2011-04-22 17:11:41 UTC
... as long as Java 5 remains in there!!!
Comment 4 Serkan Kaba (RETIRED) gentoo-dev 2011-09-14 06:46:54 UTC
Prefix support is added to java-vm-2 eclass and oracle Java7 ebuilds. I'll be working on this as well.
Comment 5 Fabian Groffen gentoo-dev 2011-09-14 08:01:09 UTC
cool, thanks
Comment 6 Lionel Orry 2011-09-14 08:04:27 UTC
(In reply to comment #4)
> Prefix support is added to java-vm-2 eclass and oracle Java7 ebuilds. I'll be
> working on this as well.

Thanks a lot in advance !
Comment 7 Serkan Kaba (RETIRED) gentoo-dev 2011-09-15 04:18:08 UTC
Fixed in CVS. You can do prefix modifications in ebuild. Thanks.