[MacPorts] #40237: cmake 2.8.11.2 fails on install
#40237: cmake 2.8.11.2 fails on install ------------------------+-------------------------------- Reporter: rsdancey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ------------------------+-------------------------------- Summary: cmake @2.8.11.2 build error Description: OSX Mountain Lion v10.8.4 xcode 4.6.2 :info:configure make: `cmake' is up to date. :info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64/Bootstrap.cmk/InitialCacheFlags.cmake :info:configure -- The C compiler identification is Clang 4.2.0 :info:configure -- The CXX compiler identification is Clang 4.2.0 :info:configure CMake Warning at Modules/Platform/Darwin.cmake:158 (message): :info:configure Ignoring CMAKE_OSX_SYSROOT value: :info:configure :info:configure /Developer/SDKs/MacOSX10.8.sdk :info:configure :info:configure because the directory does not exist. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure CMake Error at Modules/Platform/Darwin.cmake:190 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT: :info:configure :info:configure "" :info:configure :info:configure is not set to a MacOSX SDK with a recognized version. Either set :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to :info:configure empty. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2/macports.cmake :info:configure Exit code: 11 }}} Unique Factors: After installing xcode, I moved it to another volume and placed an alias in the default Applications folder I manually edited the Darwin.cmake file to force CMAKE_OSX_SYSROOT to the proper location (/Volumes/Terabyte/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk) and was able to manually "./config", "make config" and "make" the application. cmake is in /usr/local/bin and does run correctly but MacPorts doesn't know that it has been installed. The proper CMAKE_OSC_SYSROOT shows up when I run the "env" command from the command line. It does not appear when I use the "export" command from the command line. -- Ticket URL: <https://trac.macports.org/ticket/40237> MacPorts <http://www.macports.org/> Ports system for OS X
#40237: cmake 2.8.11.2 fails on install -------------------------+-------------------------------- Reporter: rsdancey@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by rsdancey@…): Darnit - screwed up the formatting. :( my bad -- Ticket URL: <https://trac.macports.org/ticket/40237#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40237: cmake 2.8.11.2 fails on install -------------------------+------------------- Reporter: rsdancey@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => css@… * port: => cmake Old description:
Summary: cmake @2.8.11.2 build error
Description: OSX Mountain Lion v10.8.4 xcode 4.6.2
:info:configure make: `cmake' is up to date. :info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64/Bootstrap.cmk/InitialCacheFlags.cmake :info:configure -- The C compiler identification is Clang 4.2.0 :info:configure -- The CXX compiler identification is Clang 4.2.0 :info:configure CMake Warning at Modules/Platform/Darwin.cmake:158 (message): :info:configure Ignoring CMAKE_OSX_SYSROOT value: :info:configure :info:configure /Developer/SDKs/MacOSX10.8.sdk :info:configure :info:configure because the directory does not exist. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure CMake Error at Modules/Platform/Darwin.cmake:190 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT: :info:configure :info:configure "" :info:configure :info:configure is not set to a MacOSX SDK with a recognized version. Either set :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to :info:configure empty. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2/macports.cmake :info:configure Exit code: 11 }}}
Unique Factors: After installing xcode, I moved it to another volume and placed an alias in the default Applications folder
I manually edited the Darwin.cmake file to force CMAKE_OSX_SYSROOT to the proper location (/Volumes/Terabyte/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk) and was able to manually "./config", "make config" and "make" the application. cmake is in /usr/local/bin and does run correctly but MacPorts doesn't know that it has been installed.
The proper CMAKE_OSC_SYSROOT shows up when I run the "env" command from the command line. It does not appear when I use the "export" command from the command line.
New description: Summary: cmake @2.8.11.2 build error Description: OSX Mountain Lion v10.8.4 xcode 4.6.2 {{{ :info:configure make: `cmake' is up to date. :info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64/Bootstrap.cmk/InitialCacheFlags.cmake :info:configure -- The C compiler identification is Clang 4.2.0 :info:configure -- The CXX compiler identification is Clang 4.2.0 :info:configure CMake Warning at Modules/Platform/Darwin.cmake:158 (message): :info:configure Ignoring CMAKE_OSX_SYSROOT value: :info:configure :info:configure /Developer/SDKs/MacOSX10.8.sdk :info:configure :info:configure because the directory does not exist. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure CMake Error at Modules/Platform/Darwin.cmake:190 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT: :info:configure :info:configure "" :info:configure :info:configure is not set to a MacOSX SDK with a recognized version. Either set :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to :info:configure empty. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2/macports.cmake :info:configure Exit code: 11 }}} Unique Factors: After installing xcode, I moved it to another volume and placed an alias in the default Applications folder I manually edited the Darwin.cmake file to force CMAKE_OSX_SYSROOT to the proper location (/Volumes/Terabyte/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk) and was able to manually "./config", "make config" and "make" the application. cmake is in /usr/local/bin and does run correctly but MacPorts doesn't know that it has been installed. The proper CMAKE_OSC_SYSROOT shows up when I run the "env" command from the command line. It does not appear when I use the "export" command from the command line. -- -- Ticket URL: <https://trac.macports.org/ticket/40237#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40237: cmake 2.8.11.2 fails on install -------------------------+------------------- Reporter: rsdancey@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Comment (by rsdancey@…): I removed, then re-installed XCode and the XCode command line tools. CMake install still fails. Here's the relevant part of the log: {{{ :info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64/Bootstrap.cmk/InitialCacheFlags.cmake :info:configure -- The C compiler identification is Clang 4.2.0 :info:configure -- The CXX compiler identification is Clang 4.2.0 :info:configure CMake Error at Modules/Platform/Darwin.cmake:190 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.8' but CMAKE_OSX_SYSROOT: :info:configure :info:configure "" :info:configure :info:configure is not set to a MacOSX SDK with a recognized version. Either set :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to :info:configure empty. :info:configure Call Stack (most recent call first): :info:configure Modules/CMakeSystemSpecificInformation.cmake:36 (include) :info:configure CMakeLists.txt:14 (project) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure --------------------------------------------- :info:configure Error when bootstrapping CMake: :info:configure Problem while running initial CMake :info:configure --------------------------------------------- :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2-x86_64" && ./configure --prefix=/opt/local --mandir=/share/man --docdir=/share/doc/cmake --parallel=4 --init=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_cmake/cmake/work/cmake-2.8.10.2/macports.cmake }}} -- Ticket URL: <https://trac.macports.org/ticket/40237#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40237: cmake 2.8.11.2 fails on install -------------------------+------------------- Reporter: rsdancey@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: cmake | -------------------------+------------------- Comment (by rsdancey@…): I completely scrubbed my system of xcode and the command line tools, then reinstalled everything. I was able to get MacPorts to succeed at doing a port upgrade outdated. cmake updated. Problem seems resolved. -- Ticket URL: <https://trac.macports.org/ticket/40237#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40237: cmake 2.8.11.2 fails on install -------------------------+-------------------- Reporter: rsdancey@… | Owner: css@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: invalid | Keywords: Port: cmake | -------------------------+-------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/40237#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts