View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015554CMakeCPackpublic2015-05-05 13:592015-11-02 09:15
ReporterBogdan Chisamera 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSXOSOSX YosemiteOS Version10.10.3
Product VersionCMake 3.1 
Target VersionFixed in VersionCMake 3.2 
Summary0015554: Wrong OSX version comparison
DescriptionWhen trying to build CMake from sources, at the Configure step I'm receiving the following message:
...
Forcing CTEST_TEST_CPACK=OFF on OSX < 10.4
OSX_VERSION='10.10.3'
Unable to find any JVMs matching version "(null)".

No Java runtime present, try --request to install.

It seems that the osx verion is compared as a string resultig osx 10.10.3 to be considered les than osx 10.4.
Steps To Reproduce- download latest cmake sources
- download and install latest cmake for osx
- open cmake gui, then select the sources dir and the destination folder
- Configure
- select Xcode as genarator and "Use default native compilers"
Result: after configuring is done you'll have the message posted above and some of the tests are missing from the solution.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0038721)
Brad King (manager)
2015-05-06 10:22

This commit:

 Tests: Fix OS X version check to use component-wise test
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f53a3340 [^]

should have addressed this, and is in 3.2.0 and above. Where did you get the sources to build?
(0038722)
Bogdan Chisamera (reporter)
2015-05-06 10:48

Thank you for your quick answer. We are getting the sources from http://cmake.org/cmake.git, [^] but for now we are synced at v3.1.0(76acc12). Recently we started to port our custom generators to v3.2.2.
(0039802)
Robert Maynard (manager)
2015-11-02 09:15

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-05-05 13:59 Bogdan Chisamera New Issue
2015-05-06 10:22 Brad King Note Added: 0038721
2015-05-06 10:48 Bogdan Chisamera Note Added: 0038722
2015-05-06 11:08 Brad King Status new => resolved
2015-05-06 11:08 Brad King Resolution open => fixed
2015-05-06 11:08 Brad King Product Version CMake 3.2.2 => CMake 3.1
2015-05-06 11:08 Brad King Fixed in Version => CMake 3.2
2015-11-02 09:15 Robert Maynard Note Added: 0039802
2015-11-02 09:15 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team