[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:09:48 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 ballapete):

 I think line #59

 {{{
                 ext.extra_link_args += ['-stdlib=libc++']
 }}}

 must be removed as well (so that line #57 can be deleted too), because now
 this happens:

 {{{
 /opt/local/bin/gcc-mp-7 -fno-strict-aliasing -Wsign-compare -fno-common
 -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8
 /site-packages/cppy/include -I.
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8
 -c py/variable.cpp -o build/temp.macosx-10.5-ppc-3.8/py/variable.o
 -std=c++11
 creating build/lib.macosx-10.5-ppc-3.8
 /opt/local/bin/g++-mp-7 -bundle -undefined dynamic_lookup -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc -arch ppc -isysroot/
 build/temp.macosx-10.5-ppc-3.8/py/kiwisolver.o
 build/temp.macosx-10.5-ppc-3.8/py/constraint.o
 build/temp.macosx-10.5-ppc-3.8/py/expression.o
 build/temp.macosx-10.5-ppc-3.8/py/solver.o
 build/temp.macosx-10.5-ppc-3.8/py/strength.o
 build/temp.macosx-10.5-ppc-3.8/py/term.o
 build/temp.macosx-10.5-ppc-3.8/py/variable.o -o
 build/lib.macosx-10.5-ppc-3.8/kiwisolver.cpython-38-darwin.so
 -stdlib=libc++
 g++-mp-7: error: unrecognized command line option '-stdlib=libc++'
 error: command '/opt/local/bin/g++-mp-7' failed with exit status 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 kiwisolver/py38-kiwisolver/work/kiwi-1.3.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
 setup.py --no-user-cfg build -j1
 }}}

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


More information about the macports-tickets mailing list