MantisBT - CMake
View Issue Details
0015317CMakeCMakepublic2014-12-18 09:342015-07-08 08:57
Fritz H 
Brad King 
normalmajoralways
closedfixed 
Solaris10
 
CMake 3.1.1CMake 3.1.1 
0015317: cmake-3.1.0: failing bootstrap on solaris 10
command ./bootstrap immediately fails on solaris 10; error message:
  ./bootstrap: syntax error at line 148: `!' unexpected

solution:
--- cmake-3.1.0_orig/bootstrap Mon Dec 15 21:07:45 2014
+++ cmake-3.1.0/bootstrap Thu Dec 18 15:21:44 2014
@@ -145,7 +145,9 @@
     cmake_machine_parisc=true
   fi
 elif ${cmake_system_hpux}; then
- if !(uname -m | grep ia64 >/dev/null 2>&1); then
+ if (uname -m | grep ia64 >/dev/null 2>&1); then
+ :
+ else
     cmake_machine_parisc=true
   fi
 fi
No tags attached.
related to 0015219closed  cmake does not compile any more since 3.0.0 
related to 0015318closed Brad King cmComputeLinkDepends.cxx fils to compile 
patch 0001-bootstrap-Fix-syntax-for-Solaris-10-shell.patch (983) 2014-12-18 09:57
https://public.kitware.com/Bug/file/5327/0001-bootstrap-Fix-syntax-for-Solaris-10-shell.patch
Issue History
2014-12-18 09:34Fritz HNew Issue
2014-12-18 09:37Fritz HNote Added: 0037482
2014-12-18 09:47Brad KingSummarycmake-3.0.1: failing bootstrap on solaris 10 => cmake-3.1.0: failing bootstrap on solaris 10
2014-12-18 09:57Brad KingFile Added: 0001-bootstrap-Fix-syntax-for-Solaris-10-shell.patch
2014-12-18 09:59Brad KingAssigned To => Brad King
2014-12-18 09:59Brad KingStatusnew => acknowledged
2014-12-18 09:59Brad KingTarget Version => CMake 3.1.1
2014-12-18 09:59Brad KingNote Added: 0037483
2014-12-18 10:00Brad KingRelationship addedrelated to 0015219
2014-12-18 10:01Brad KingNote Added: 0037484
2014-12-18 11:06Fritz HNote Added: 0037485
2014-12-18 11:13Brad KingNote Added: 0037486
2014-12-18 11:13Brad KingStatusacknowledged => resolved
2014-12-18 11:13Brad KingResolutionopen => fixed
2014-12-18 11:13Brad KingFixed in Version => CMake 3.1.1
2014-12-18 11:39Brad KingRelationship addedrelated to 0015318
2014-12-18 11:40Brad KingNote Added: 0037489
2015-07-08 08:57Robert MaynardNote Added: 0039035
2015-07-08 08:57Robert MaynardStatusresolved => closed

Notes
(0037482)
Fritz H   
2014-12-18 09:37   
sorry - error in summary - i am talking about release 3.1.0, not 3.0.1
(0037483)
Brad King   
2014-12-18 09:59   
Please test "0001-bootstrap-Fix-syntax-for-Solaris-10-shell.patch".
(0037484)
Brad King   
2014-12-18 10:01   
As mentioned in 0015219:0037073 the real problem is that we do not have anyone with access to a Solaris box submitting a nightly testing build for us anymore. Instructions are here:

 http://www.cmake.org/Wiki/CMake/Git/Dashboard [^]

Would you be able to run one?
(0037485)
Fritz H   
2014-12-18 11:06   
re 0037483: ok, this works

re 0037484: ouch. i'm sorry, that's for various reasons difficult at the moment. i could offer that you may get in touch with me when a release is pending and i then would try to build the then-current source...
(0037486)
Brad King   
2014-12-18 11:13   
Re 0015317:0037485: Okay. Also thanks for testing the patch. I've applied it here:

 bootstrap: Fix syntax for Solaris 10 shell
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=44c6db6e [^]

and queued it for merge to 'release' for 3.1.1.
(0037489)
Brad King   
2014-12-18 11:40   
> i could offer that you may get in touch with me when a release is pending and i then would try to build the then-current source

FYI, we do announce release candidates on the mailing lists.
(0039035)
Robert Maynard   
2015-07-08 08:57   
Closing resolved issues that have not been updated in more than 4 months.