[MacPorts] #50341: Unable to Install CMake in El Capitan

MacPorts noreply at macports.org
Sun Jan 17 09:47:46 PST 2016


#50341: Unable to Install CMake in El Capitan
----------------------------+--------------------------------
  Reporter:  jonlederman@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:                 |   Keywords:
      Port:  cmake          |
----------------------------+--------------------------------

Comment (by art@…):

 Cmake build also fails for me.  Tail of
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeError.log
 gives me:


 {{{
 ake -f CMakeFiles/cmTC_435bf.dir/build.make
 CMakeFiles/cmTC_435bf.dir/build
 Building CXX object CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -I/opt/local/include  -pipe -Os -arch x86_64 -stdlib=libc++   -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
 -mmacosx-version-min=10.11   -o
 CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19:
 error: use of undeclared identifier 'Q_WS_QWS'
   return ((int*)(&Q_WS_QWS))[argc];
                   ^
 1 error generated.
 make[1]: *** [CMakeFiles/cmTC_435bf.dir/CheckSymbolExists.cxx.o] Error 1
 make: *** [cmTC_435bf/fast] Error 2

 File
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.4.1/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
 /* */
 #include <QtCore/qglobal.h>

 int main(int argc, char** argv)
 {
   (void)argv;
 #ifndef Q_WS_QWS
   return ((int*)(&Q_WS_QWS))[argc];
 #else
   (void)argc;
   return 0;
 #endif
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/50341#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list