MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013418 | CMake | CMake | public | 2012-07-18 00:45 | 2016-06-10 14:31 |
Reporter | ClausKlein | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | Mac OS X | OS | Darwin | OS Version | 10.5 |
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013418: make Experimental fails with macports gcc 4.7 | ||||
Description | The cmake selftest fails because it used -arch options which are not supported by this compiler see http://open.cdash.org/viewTest.php?onlyfailed&buildid=2448423 [^] The following tests FAILED: 63 - Architecture (Failed) 88 - BuildDepends (Failed) 137 - ObjC++ (Failed) claus-kleins-macbook-pro:Downloads clausklein$ cc --version i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. claus-kleins-macbook-pro:Downloads clausklein$ gcc --version gcc (MacPorts gcc47 4.7.1_1) 4.7.1 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. claus-kleins-macbook-pro:Downloads clausklein$ sw_vers ProductName: Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L30 claus-kleins-macbook-pro:Downloads clausklein$ | ||||
Steps To Reproduce | Internal cmake changing into directory: /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends Error: cmake execution failed The C compiler identification is GNU 4.7.1 The CXX compiler identification is GNU 4.7.1 Checking whether C compiler has -isysroot Checking whether C compiler has -isysroot - yes Checking whether C compiler supports OSX deployment target flag Checking whether C compiler supports OSX deployment target flag - yes Check for working C compiler: /opt/local/libexec/ccache/gcc Configuring Check for working C compiler: /opt/local/libexec/ccache/gcc -- works Detecting C compiler ABI info Configuring Detecting C compiler ABI info - done Checking whether CXX compiler has -isysroot Checking whether CXX compiler has -isysroot - yes Checking whether CXX compiler supports OSX deployment target flag Checking whether CXX compiler supports OSX deployment target flag - yes Check for working CXX compiler: /opt/local/libexec/ccache/g++ Configuring Check for working CXX compiler: /opt/local/libexec/ccache/g++ -- works Detecting CXX compiler ABI info Configuring Detecting CXX compiler ABI info - done Creating Project/foo.cxx Building project first time CMake Warning (dev) in /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt: A logical block opening on the line /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt:21 (if) closes on the line /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt:29 (endif) with mis-matching arguments. This warning is for project developers. Use -Wno-dev to suppress it. Configuring Output from first build: Change Dir: /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project Run Build Command:/opt/local/bin/gmake Scanning dependencies of target foo [ 9%] Building CXX object CMakeFiles/foo.dir/foo.cxx.o g++: error: unrecognized option '-arch' gmake[2]: *** [CMakeFiles/foo.dir/foo.cxx.o] Error 1 gmake[1]: *** [CMakeFiles/foo.dir/all] Error 2 gmake: *** [all] Error 2 CMake Error at CMakeLists.txt:87 (message): Could not build test project (1)! Running /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project/bar Run result: No such file or directory Output: "" CMake Error at CMakeLists.txt:115 (message): Project did not initially build properly: Running /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project/zot Run result: No such file or directory Output: "" CMake Error at CMakeLists.txt:127 (message): Project did not initially build properly: Waiting 3 seconds... Modifying Project/foo.cxx Building project second time CMake Warning (dev) in /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt: A logical block opening on the line /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt:21 (if) closes on the line /Users/clausklein/Downloads/cmake/Tests/BuildDepends/Project/CMakeLists.txt:29 (endif) with mis-matching arguments. This warning is for project developers. Use -Wno-dev to suppress it. Configuring Output from second build: Change Dir: /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project Run Build Command:/opt/local/bin/gmake [ 9%] Building CXX object CMakeFiles/foo.dir/foo.cxx.o g++: error: unrecognized option '-arch' gmake[2]: *** [CMakeFiles/foo.dir/foo.cxx.o] Error 1 gmake[1]: *** [CMakeFiles/foo.dir/all] Error 2 gmake: *** [all] Error 2 CMake Error at CMakeLists.txt:176 (message): Could not build test project (2)! Running /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project/bar Run result: No such file or directory Output: "" CMake Error at CMakeLists.txt:197 (message): Project did not rebuild properly! Running /Users/clausklein/Downloads/CmakeMakeBuildDir/Tests/BuildDepends/Project/zot Run result: No such file or directory Output: "" CMake Error at CMakeLists.txt:211 (message): Project did not rebuild properly! LINK_DEPENDS worked Configuring Configuring incomplete, errors occurred! | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | DashScriptGmake.cmake (2,844) 2012-07-18 00:56 https://public.kitware.com/Bug/file/4394/DashScriptGmake.cmake | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-18 00:45 | ClausKlein | New Issue | |||
2012-07-18 00:56 | ClausKlein | File Added: DashScriptGmake.cmake | |||
2012-07-18 03:39 | Rolf Eike Beer | Note Added: 0030069 | |||
2012-07-18 03:50 | Peter Kuemmel | Note Added: 0030070 | |||
2012-07-18 10:11 | Brad King | Note Added: 0030071 | |||
2012-07-18 10:13 | Brad King | Note Added: 0030072 | |||
2012-07-18 10:13 | Brad King | Status | new => backlog | ||
2012-07-18 13:52 | Rolf Eike Beer | Note Added: 0030080 | |||
2012-07-18 14:56 | ClausKlein | Note Added: 0030082 | |||
2016-06-10 14:28 | Kitware Robot | Note Added: 0042091 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|