[MacPorts] #57043: metis @5.1.0 Configure error - build failure snowleopard

MacPorts noreply at macports.org
Mon Aug 27 19:29:41 UTC 2018


#57043: metis @5.1.0 Configure error - build failure snowleopard
-----------------------------+-------------------------
  Reporter:  chrisjohgorman  |      Owner:  seanfarley
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.3
Resolution:                  |   Keywords:  snowleopard
      Port:  metis           |
-----------------------------+-------------------------

Comment (by kencu):

 SnowLeopard indeed has neither `getline` nor does it (easily) have
 `thread_local`. There are some workarounds available.

 `getline` can be replaced by the `PortGroup snowleopard_fixes 1.0`.

 `thread_local` can be supplied by gcc versions > about 4.7, certainly by
 `gcc7` which is probably the one to go-to at present, if that matches up
 with your `stdlib` needs. This works great for `the_silver_searcher`, for
 example.

 I have modified a version of `clang-5.0` to provide `thread_local` (most
 implementations) on SnowLeopard. It's a bit - shall we say - experimental,
 but I've been using it for about six months with moderate, if not
 complete, success
 <https://github.com/kencu/SnowLeopardPorts/tree/master/lang/llvm-5.0>.

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


More information about the macports-tickets mailing list