[MacPorts] #57169: clang-3.9 @ 3.91 -universal: fails to compile on MacOS X 10.14 (Mojave)

MacPorts noreply at macports.org
Wed Oct 3 16:01:59 UTC 2018


#57169: clang-3.9 @ 3.91 -universal: fails to compile on MacOS X 10.14 (Mojave)
---------------------------+----------------------
  Reporter:  andreavicere  |      Owner:  jeremyhu
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.5.3
Resolution:                |   Keywords:  mojave
      Port:  clang-3.9     |
---------------------------+----------------------

Old description:

> The compilation of clang-3.9 on Mojave fails with error:
>
> {{{
> sudo port install clang-3.9 -universal
> --->  Computing dependencies for clang-3.9
> --->  Fetching distfiles for clang-3.9
> Error: clang-3.9 is not supported on macOS Mojave or newer.
> Error: Failed to fetch clang-3.9: unsupported platform
> }}}
>
> Mojave is explicitly excluded in the port [https://github.com/macports
> /macports-ports/blob/master/lang/llvm-3.9/Portfile source], even choosing
> the {{{-universal}}} variant to restrict compilation to the x64
> architecture.
> The dependency {{{llvm-3.9}}} instead compiles fine with the
> {{{-universal}}} switch.
>
> If the error implies that clang-3.9 is slated not to be ported to Mojave,
> it might be worth recommending in the error message to switch to a
> different version?

New description:

 The compilation of clang-3.9 on Mojave fails with error:

 {{{
 sudo port install clang-3.9 -universal
 --->  Computing dependencies for clang-3.9
 --->  Fetching distfiles for clang-3.9
 Error: clang-3.9 is not supported on macOS Mojave or newer.
 Error: Failed to fetch clang-3.9: unsupported platform
 }}}

 Mojave is explicitly excluded in the port [browser:macports-
 ports/lang/llvm-3.9/Portfile source], even choosing the {{{-universal}}}
 variant to restrict compilation to the x64 architecture.
 The dependency {{{llvm-3.9}}} instead compiles fine with the
 {{{-universal}}} switch.

 If the error implies that clang-3.9 is slated not to be ported to Mojave,
 it might be worth recommending in the error message to switch to a
 different version?

--

Comment (by ryandesign):

 The error message seems pretty clear. clang-3.9 is not supported on macOS
 Mojave or newer. Use a newer version of clang instead.

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


More information about the macports-tickets mailing list