[MacPorts] #59341: compiling cmake fails on High Sierra: tries to build universal against the 10.14 SDK (was: compiling cmake failed on High Sierra)
MacPorts
noreply at macports.org
Wed Oct 16 01:08:01 UTC 2019
#59341: compiling cmake fails on High Sierra: tries to build universal against the
10.14 SDK
--------------------------+-----------------------
Reporter: freemanbach | Owner: michaelld
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.1
Resolution: | Keywords:
Port: cmake |
--------------------------+-----------------------
Changes (by kencu):
* status: new => assigned
* owner: (none) => michaelld
* keywords: compile cmake =>
* port: => cmake
Old description:
> Darwin 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
>
> flo at ITEC-MBR-E16198 ~> sudo port upgrade outdated
> ---> Computing dependencies for cmake
> ---> Fetching archive for cmake
> ---> Attempting to fetch
> cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
> https://packages.macports.org/cmake
> ---> Attempting to fetch
> cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
> http://aus.us.packages.macports.org/macports/packages/cmake
> ---> Attempting to fetch
> cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
> http://ywg.ca.packages.macports.org/mirror/macports/packages/cmake
> ---> Configuring cmake
> Error: Failed to configure cmake: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log
> for details.
> Error: Problem while installing cmake
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> flo at 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/
New description:
Darwin 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
{{{
flo at ITEC-MBR-E16198 ~> sudo port upgrade outdated
---> Computing dependencies for cmake
---> Fetching archive for cmake
---> Attempting to fetch
cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
https://packages.macports.org/cmake
---> Attempting to fetch
cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
http://aus.us.packages.macports.org/macports/packages/cmake
---> Attempting to fetch
cmake-3.15.4_0+universal.darwin_17.i386-x86_64.tbz2 from
http://ywg.ca.packages.macports.org/mirror/macports/packages/cmake
---> Configuring cmake
Error: Failed to configure cmake: configure failure: command execution
failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake/cmake/main.log
for details.
Error: Problem while installing cmake
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
}}}
{{{
: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
:info:configure -- The C compiler identification is AppleClang
10.0.0.10001044
:info:configure -- The CXX compiler identification is AppleClang
10.0.0.10001044
:info:configure -- Check for working C compiler:
/Library/Developer/CommandLineTools/usr/bin/clang
:info:configure -- Check for working C compiler:
/Library/Developer/CommandLineTools/usr/bin/clang -- broken
:info:configure CMake Error at Modules/CMakeTestCCompiler.cmake:60
(message):
:info:configure The C compiler
:info:configure "/Library/Developer/CommandLineTools/usr/bin/clang"
:info:configure is not able to compile a simple test program.
:info:configure It fails with the following output:
: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
:info:configure
: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
:info:configure Building C object
CMakeFiles/cmTC_3b0ec.dir/testCCompiler.c.o
: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
:info:configure Linking C executable cmTC_3b0ec
: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
: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
:info:configure ld: warning: The i386 architecture is deprecated for
macOS (remove from the Xcode build setting: ARCHS)
: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
:info:configure ld: dynamic main executables must link with
libSystem.dylib for architecture i386
:info:configure clang: error: linker command failed with exit code 1
(use -v to see invocation)
:info:configure make[1]: *** [cmTC_3b0ec] Error 1
:info:configure make: *** [cmTC_3b0ec/fast] Error 2
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/59341#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list