Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271051 - jni support in virtual/jdk should be an USE flag
Summary: jni support in virtual/jdk should be an USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-24 12:30 UTC by Mounir Lamouri (volkmar) (RETIRED)
Modified: 2009-06-20 15:21 UTC (History)
0 users

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 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-05-24 12:30:11 UTC
virtual/jdk:1.6 adds icedtea which doesn't provide jni (at least jni.h). So, when a package needs jni.h, and depends on virtual/jdk, jni is not recognized. (it's even worst because icedtea is the defaurt virtual/jdk:1.6 choice)

A possible fix is to add a jni USE flag which will remove icedtea choice when on.

In my research I've also seen bug 172478 which have an issue with jni.h and gcc[gcj].

This is blocking java (jni) support in net-libs/opal-3.6.2.
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-24 16:59:41 UTC
Both icedtea6-bin and (at least my build) icedtea6 have jni.h, what exact version are you talking about, -bin or not, what flags etc. are you talking about?
Comment 2 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-05-24 17:21:36 UTC
(In reply to comment #1)
> Both icedtea6-bin and (at least my build) icedtea6 have jni.h, what exact
> version are you talking about, -bin or not, what flags etc. are you talking
> about?
> 

There is only icedtea6-bin in the tree. There is no icedtea6 package.
The installed version is icedtea6-bin-1.4.1 (newest) with USE="X alsa".
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-24 19:56:22 UTC
(In reply to comment #2)
> There is only icedtea6-bin in the tree. There is no icedtea6 package.
> The installed version is icedtea6-bin-1.4.1 (newest) with USE="X alsa".

Well, my installation contains this and I see no way how it could be missing:
/opt/icedtea6-bin-1.4.1/include/jni.h

Comment 4 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-06-20 15:21:19 UTC
Sorry, my bad