[CMake] Regression in FindJNI.cmake on ia64?

Denis Barbier bouzim at gmail.com
Fri May 28 09:55:22 EDT 2010


On 2010/5/28 Brad King wrote:
> Denis Barbier wrote:
>> Hello cmake maintainers,
>>
>> vtk 5.4.2-7 FTBFS on ia64
>>    https://buildd.debian.org/fetch.cgi?pkg=vtk;ver=5.4.2-7;arch=ia64;stamp=1275000467
>>
>> In this version, local FindJNI.cmake had been dropped and replaced by
>> a dependency on cmake >= 2.8.1-3
>>
>> Configuration did not find Java libraries:
>>   -- Java version 1.6.0.18 configured successfully!
>>   -- Found Java: /usr/lib/jvm/default-java/bin/java
>>   -- Could NOT find JNI  (missing:  JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY)
>>
>> I see nothing wrong in cmake, which is why I do not file a bug report
>> yet, but are you aware of problems on ia64 with cmake 2.8.1-4?
>
> This change appears to be related:
>
>  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b5bc1d9f
>  http://www.cmake.org/Bug/view.php?id=9611

AFAICT these patches have been applied in Debian since they have been
committed into your CVS repository, and no bug has been reported, so
you do not have to worry too much ;)
Something goes wrong, but I am not even sure it is related to cmake
(it may be a Java problem too, or a broken autobuilder), I was asking
just in case Modestas or others had been experiencing similar
problems.

> To what does CMAKE_SYSTEM_PROCESSOR get set?

I will try to have access to an ia64 box tonight, but
   https://buildd.debian.org/fetch.cgi?pkg=gdcm&arch=ia64&ver=2.0.14-9&stamp=1273082198&file=log&as=raw
contains a successful check:
  -- Java version 1.6.0.18 configured successfully!
  -- Found Java: /usr/lib/jvm/default-java/bin/java
  -- Found JNI: /usr/lib/jvm/default-java/jre/lib/ia64/libjawt.so
so it looks like CMAKE_SYSTEM_PROCESSOR should be set to ia64.

Denis



More information about the CMake mailing list