Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-29 Thread Denis Barbier
On 2010/5/28 Modestas Vainius wrote:
[...]
 Anyway, I will fix FindJNI bug in the next cmake revision. Ask for Dep-Wait on
 cmake (= 2.8.1-5).

Thanks a lot, Modestas.

Denis

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Brad King
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

To what does CMAKE_SYSTEM_PROCESSOR get set?

-Brad

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Denis Barbier
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=gdcmarch=ia64ver=2.0.14-9stamp=1273082198file=logas=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

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Regression in FindJNI.cmake on ia64?

2010-05-28 Thread Mathieu Malaterre
On Fri, May 28, 2010 at 3:55 PM, Denis Barbier bou...@gmail.com wrote:
 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=gdcmarch=ia64ver=2.0.14-9stamp=1273082198file=logas=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.

Hi Denis,

  Thanks for taking care of this.

  Since this is working nicely in GDCM (kudos to Modestas), I would
say something *else* is being doing in VTK. Did you check debian/rules
or debian/CMakeCache.txt does not store some precomputed value for
CMAKE:JAVA_* variables ?

Thanks,
-- 
Mathieu

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake