Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 208538
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William Hubbs <williamh@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Gianelloni (RETIRED) <wolf31o2@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
brltty.patch patch for 3.9 patch Vlastimil Babka (Caster) 2008-02-02 20:22 0000 2.24 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 208538 depends on: Show dependency tree
Bug 208538 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-02 06:20 0000
Disabling Java works just fine.  The problem is in the JDK and how it does its
includes.  As such, I suggest masking the USE flag for this package.

------- Comment #1 From Chris Gianelloni (RETIRED) 2008-02-02 06:24:15 0000 -------
Here's the error:

In file included from ./bindings.c:21:
/etc/java-config-2/current-system-vm/include/jni.h:27:20: error: jni_md.h: No
such file or directory
In file included from ./bindings.c:21:
/etc/java-config-2/current-system-vm/include/jni.h:45: error: expected '=',
',', ';', 'asm' or '__attribute__' before 'jsize'

...and, if you need this:
wolf31o2@inertia ~ $ locate jni_md.h
/usr/lib/mozilla-firefox/include/java/jni_md.h
/opt/blackdown-jdk-1.4.2.03/include/linux/jni_md.h
/opt/sun-jdk-1.6.0.03/include/linux/jni_md.h

Do you need my emerge --info?  It really shouldn't matter for this, but I'm
compiling with USE=java and it fails, with USE=-java, it succeeds.

------- Comment #2 From Chris Gianelloni (RETIRED) 2008-02-02 06:26:38 0000 -------
OK, I've spoken with William and we're going to mask the java USE flag for this
package for the time being.  This isn't a permanent solution, though.

Java, do you guys have any clue on what could be done to resolve this?  It
really looks like the JVM/JDK itself is looking for the header in the wrong
place.  Is this something we can/should fix?

(Leaving the bug open until I hear back from the Java team...)

------- Comment #3 From Vlastimil Babka (Caster) 2008-02-02 20:22:47 0000 -------
Created an attachment (id=142535) [details]
patch for 3.9

This helps :) And actually installs the jar of the bindings, too!

------- Comment #4 From William Hubbs 2008-02-02 21:53:20 0000 -------
This has been fixed thanks to assistance from Caster.  Also, I cleaned up the
ocaml support, thanks to Betelgeuse.

Chris, we do not need to mask the java use flag after all.  This is resolved.

Let me know if we need to re-open.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug