Changes between Initial Version and Version 1 of Ticket #59341


Ignore:
Timestamp:
Oct 16, 2019, 1:07:57 AM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59341

    • Property Status changed from new to assigned
    • Property Summary changed from compiling cmake failed on High Sierra to compiling cmake fails on High Sierra: tries to build universal against the 10.14 SDK
    • Property Keywords compile cmake removed
    • Property Owner set to michaelld
    • Property Port cmake added
  • Ticket #59341 – Description

    initial v1  
    11Darwin ITEC-MBR-E16198 17.7.0 Darwin Kernel Version 17.7.0: Sun Jun  2 20:31:42 PDT 2019; root:xnu-4570.71.46~1/RELEASE_X86_64 x86_64
    2 
     2{{{
    33flo@ITEC-MBR-E16198 ~> sudo port upgrade outdated
    44--->  Computing dependencies for cmake
     
    1212Error: Problem while installing cmake
    1313Error: Follow https://guide.macports.org/#project.tickets to report a bug.
    14 flo@ITEC-MBR-E16198 ~> cp -p /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log /var/tmp/
     14}}}
     15
     16{{{
     17:info:configure loading initial cache file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.15.4-i386/Bootstrap.cmk/InitialCacheFlags.cmake
     18:info:configure -- The C compiler identification is AppleClang 10.0.0.10001044
     19:info:configure -- The CXX compiler identification is AppleClang 10.0.0.10001044
     20:info:configure -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/clang
     21:info:configure -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/clang -- broken
     22:info:configure CMake Error at Modules/CMakeTestCCompiler.cmake:60 (message):
     23:info:configure   The C compiler
     24:info:configure     "/Library/Developer/CommandLineTools/usr/bin/clang"
     25:info:configure   is not able to compile a simple test program.
     26:info:configure   It fails with the following output:
     27:info:configure     Change Dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.15.4-i386/CMakeFiles/CMakeTmp
     28:info:configure     
     29:info:configure     Run Build Command(s):/usr/bin/make cmTC_3b0ec/fast && make -f CMakeFiles/cmTC_3b0ec.dir/build.make CMakeFiles/cmTC_3b0ec.dir/build
     30:info:configure     Building C object CMakeFiles/cmTC_3b0ec.dir/testCCompiler.c.o
     31:info:configure     /Library/Developer/CommandLineTools/usr/bin/clang   -pipe -Os -arch i386  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.13   -o CMakeFiles/cmTC_3b0ec.dir/testCCompiler.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.15.4-i386/CMakeFiles/CMakeTmp/testCCompiler.c
     32:info:configure     Linking C executable cmTC_3b0ec
     33:info:configure     /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.15.4-i386/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_3b0ec.dir/link.txt --verbose=1
     34:info:configure     /Library/Developer/CommandLineTools/usr/bin/clang -pipe -Os -arch i386  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -arch i386  CMakeFiles/cmTC_3b0ec.dir/testCCompiler.c.o  -o cmTC_3b0ec
     35:info:configure     ld: warning: The i386 architecture is deprecated for macOS (remove from the Xcode build setting: ARCHS)
     36:info:configure     ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd
     37:info:configure     ld: dynamic main executables must link with libSystem.dylib for architecture i386
     38:info:configure     clang: error: linker command failed with exit code 1 (use -v to see invocation)
     39:info:configure     make[1]: *** [cmTC_3b0ec] Error 1
     40:info:configure     make: *** [cmTC_3b0ec/fast] Error 2
     41}}}