Bug#559996: FTBFS [hppa] - jni.h: No such file or directory

2009-12-16 Thread Nobuhiro Iwamatsu
tags 559996 + patch
thanks

Hi,

You set JAVA_HOME in /usr/lib/jvm/java-6-openjdk, but this is mistake.
All architecture does not support java-6-openjdk.
You need set  /usr/lib/jvm/default-java in JAVA_HOME.

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559996: FTBFS [hppa] - jni.h: No such file or directory

2009-12-07 Thread dann frazier
Package: libmecab-java
Version: 0.98-4
Severity: important
User: debian-h...@lists.debian.org
Usertags: hppa

libmecab-java reliably fails to build on hppa:
  
https://buildd.debian.org/build.php?pkg=libmecab-javaver=0.98-4arch=hppafile=log

This discussion is possibly related:
  http://lists.debian.org/debian-hppa/2009/11/msg00041.html

From the most recent build attempt:
[...]
dh_auto_build -- INCLUDE=/usr/lib/jvm/java-6-openjdk/include
make[2]: Entering directory `/build/buildd/libmecab-java-0.98'
c++ -O3 -c -fpic MeCab_wrap.cxx  `mecab-config --cflags` 
-I/usr/lib/jvm/java-6-openjdk/include 
-I/usr/lib/jvm/java-6-openjdk/include/linux
MeCab_wrap.cxx:159:17: error: jni.h: No such file or directory
MeCab_wrap.cxx:183: error: variable or field 'SWIG_JavaThrowException' declared 
void
MeCab_wrap.cxx:183: error: 'JNIEnv' was not declared in this scope
MeCab_wrap.cxx:183: error: 'jenv' was not declared in this scope
MeCab_wrap.cxx:183: error: expected primary-expression before 'code'
MeCab_wrap.cxx:183: error: expected primary-expression before 'const'
In file included from /usr/include/c++/4.3/stdexcept:43,
 from MeCab_wrap.cxx:265:
/usr/include/c++/4.3/exception:40: error: expected declaration before end of 
line
make[2]: *** [all] Error 1
make[2]: Leaving directory `/build/buildd/libmecab-java-0.98'
dh_auto_build: make -j1 INCLUDE=/usr/lib/jvm/java-6-openjdk/include returned 
exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/libmecab-java-0.98'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org