[MacPorts] #61752: py38-kiwisolver @1.3.1 does not build on PPC Leopard, Mac OS X 10.5.8, because of unrecognized command line option '-stdlib=libc++'

MacPorts noreply at macports.org
Sun Dec 6 01:14:03 UTC 2020


#61752: py38-kiwisolver @1.3.1 does not build on PPC Leopard, Mac OS X 10.5.8,
because of unrecognized command line option '-stdlib=libc++'
------------------------------+------------------------
  Reporter:  ballapete        |      Owner:  reneeotten
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.6.4
Resolution:                   |   Keywords:  leopard
      Port:  py38-kiwisolver  |
------------------------------+------------------------

Comment (by reneeotten):

 Replying to [comment:4 ballapete]:
 > > The port requests {{{compiler.cxx_standard   2011}}} so presumably an
 appropriate compiler should be selected. I don't know why {{{gcc-mp-7}}}
 does not understand the {{{-stdlib=libc++}}} flag.
 >
 > Isn't this a `g++` switch? But `gcc` is compiling…
 >
 > > Did the previous version (v.1.2.0) work correctly?
 >
 > I don't know. I did not try before to get rid of `Python 2.7`. So this
 dependency hit me for the first time – and all need is py38-nltk (which
 can be installed with `pip3` without any dependency).

 okay, so {{{py38-kiwisolver}}} is being pulled in by {{{py38-matplotlib}}}
 which is listed under {{{extra_requires}}} in {{{setup.py}}}. So if you
 don't need the plotting, then the quickest solution is for now to just
 remove the {matplotlib} dependency from {py-nltk} and it will likely
 install without issues.

 To do so (of course that change will be gone after a {{{selfupdate}}}),
 type: {{{sudo vi `port file py-nltk`}}}, remove the dependency, and try to
 install again.

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


More information about the macports-tickets mailing list