[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

weird failure to find gcjs jni.h on mips(el)



Hi,

does anyone have an idea about
https://buildd.debian.org/fetch.cgi?&pkg=openoffice.org&ver=1%3A3.2.0-8&arch=mipsel&stamp=1272790512&file=log
and
https://buildd.debian.org/fetch.cgi?pkg=openoffice.org;ver=1%3A3.2.0-9;arch=mips;stamp=1272914835

which both fail with the following?:

Entering /build/buildd-openoffice.org_3.2.0-9-mips-AbTwJH/openoffice.org-3.2.0/ooo-build-3-2-0-10/build/OOO320_m12/odk/source/unowinreg/win
i586-mingw32msvc-g++ -Wall -D_JNI_IMPLEMENTATION_ -I/usr/lib/jvm/java-gcj/include -I/usr/lib/jvm/java-gcj/include/linux \
		-I../../../inc/pch -shared -o ../../../unxlngmips.pro/bin/unowinreg.dll unowinreg.cxx \
	        -Wl,--kill-at -lkernel32 -ladvapi32
unowinreg.cxx:42:17: error: jni.h: No such file or directory
unowinreg.cxx:49: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:62: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:75: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:88: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:101: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:113: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:129: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:139: error: 'JNIEXPORT' does not name a type
unowinreg.cxx:159: error: 'JNIEXPORT' does not name a type
dmake:  Error code 1, while making '../../../unxlngmips.pro/bin/unowinreg.dll'

When I look at gabrielli I see this:

(sid)rene@gabrielli:/usr/lib/jvm/java-gcj/include$ ls -l jni.h
lrwxrwxrwx 1 root root 47  4. Mai 11:22 jni.h -> ../../../gcc/mips-linux-gnu/4.4.4/include/jni.h

That file is also there (4.4.4 is a symlink to 4.4):

(sid)rene@gabrielli:/usr/lib/jvm/java-gcj/include$ ls -l /usr/lib/gcc/mips-linux-gnu/4.4/include/jni.h
-rw-r--r-- 1 root root 66655  1. Mai 00:22 /usr/lib/gcc/mips-linux-gnu/4.4/include/jni.h

AFAICS all packages needed for making this location available
are getting installed:

$ dpkg -S /usr/lib/jvm/java-gcj
gcj-jre-headless: /usr/lib/jvm/java-gcj

for the java-gcj -> java-gcj-4.4 symlink

(sid)rene@gabrielli:/usr/lib/jvm$ dpkg -S /usr/lib/jvm/java-gcj-4.4
gcj-4.4-jre-headless: /usr/lib/jvm/java-gcj-4.4

for the java-gcj-4.4 -> java-1.5.0-gcj-4.4 symlink

(sid)rene@gabrielli:/usr/lib/jvm$ dpkg -S /usr/lib/jvm/java-1.5.0-gcj-4.4/include/jni.h 
gcj-4.4-jdk: /usr/lib/jvm/java-1.5.0-gcj-4.4/include/jni.h

and

$ dpkg -S /usr/lib/gcc/mips-linux-gnu/4.4/include/jni.h
gcj-4.4-jdk: /usr/lib/gcc/mips-linux-gnu/4.4/include/jni.h

Lost ideas..

But what wonders he is that binutils, g++-4.4 and gcc-4.4 (+ depending
packages) get installed during the build - shouldn't they be installed
because being build-essential?

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: D03E3E70
   `-   Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70


Reply to: