[MacPorts] #54504: xorg-server 1.18.4_2: fails to compile on siera

MacPorts noreply at macports.org
Thu Jul 20 15:19:03 UTC 2017


#54504: xorg-server 1.18.4_2: fails to compile on siera
--------------------------+----------------------
  Reporter:  EdHarry      |      Owner:  jeremyhu
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:               |   Keywords:  sierra
      Port:  xorg-server  |
--------------------------+----------------------

Comment (by michaellass):

 At least on my system, clang-4.0 is not automatically used by macports. I
 had to adjust the Portfile as follows to automatically choose clang-4.0.
 Indeed, building the port works fine, and the required patch to fix the
 runtime issue should be included in clang-4.0 as well.


 {{{
 --- a/x11/xorg-server/Portfile  2017-07-20 17:14:14.000000000 +0200
 +++ b/x11/xorg-server/Portfile  2017-07-20 17:14:03.000000000 +0200
 @@ -69,7 +69,8 @@
  # https://trac.macports.org/ticket/36055
  # https://llvm.org/bugs/show_bug.cgi?id=30346
  # https://trac.macports.org/ticket/53910
 -compiler.blacklist gcc-4.0 macports-clang-3.8 macports-clang-3.9
 macports-clang-devel {clang >= 802 < 900}
 +compiler.blacklist gcc-4.0 macports-clang-3.7 macports-clang-3.8
 macports-clang-3.9 macports-clang-devel {clang >= 802 < 900}
 +compiler.fallback macports-clang-4.0

  configure.args --with-apple-applications-dir=${applications_dir} \
         --with-bundle-id-prefix=org.macports \
 }}}

 Leaving out the compiler.fallback line, I just get the message "Warning:
 All compilers are either blacklisted or unavailable; defaulting to first
 fallback option" and XCode's clang is used.

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


More information about the macports-tickets mailing list