[MacPorts] #57629: CMake won't build on MacOS (i386 architecture is deprecated).

MacPorts noreply at macports.org
Mon Nov 19 02:59:12 UTC 2018


#57629: CMake won't build on MacOS (i386 architecture is deprecated).
-----------------------+------------------------
  Reporter:  hipcrime  |      Owner:  (none)
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  invalid   |   Keywords:  highsierra
      Port:  cmake     |
-----------------------+------------------------
Changes (by ryandesign):

 * status:  reopened => closed
 * resolution:   => invalid


Old description:

> Since the most recent update, CMake refuses to build on MacOS.
> The failure generates tons of output, but the important bit is this:
>
> :info:configure     ld: warning: The i386 architecture is deprecated for
> macOS (remove from the Xcode build setting: ARCHS)
> :info:configure     ld: warning: ignoring file
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd,
> missing required architecture i386 in file
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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)

New description:

 Since the most recent update, CMake refuses to build on MacOS.
 The failure generates tons of output, but the important bit is this:

 {{{
 :info:configure     ld: warning: The i386 architecture is deprecated for
 macOS (remove from the Xcode build setting: ARCHS)
 :info:configure     ld: warning: ignoring file
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd,
 missing required architecture i386 in file
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/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)
 }}}

--

Comment:

 Right. Install the command line tools or downgrade to Xcode 9.4.1. Either
 one will provide the 10.13 SDK with which you can build universal. Using
 only Xcode 10 on High Sierra without the command line tools will only get
 you the 10.14 SDK, with which you cannot build universal at this time.

-- 
Ticket URL: <https://trac.macports.org/ticket/57629#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list