[MacPorts] #72060: py-fiona needs C++11: cc1plus: error: unrecognized command line option "-std=c++11"

MacPorts noreply at macports.org
Thu Feb 13 23:46:31 UTC 2025


#72060: py-fiona needs C++11: cc1plus: error: unrecognized command line option
"-std=c++11"
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  py-fiona
--------------------------+----------------------
 {{{
 INFO:root:building 'fiona._transform' extension
 INFO:root:/usr/bin/g++-4.2 -arch ppc -isysroot/ -I/opt/local/include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12
 -c fiona/_transform.cpp -o build/temp.macosx-10.6-ppc-
 cpython-312/fiona/_transform.o -std=c++11
 cc1plus: error: unrecognized command line option "-std=c++11"
 error: command '/usr/bin/g++-4.2' failed with exit code 1

 ERROR Backend subprocess exited when trying to invoke build_wheel
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 fiona/py312-fiona/work/fiona-1.10.1" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
 -m build --no-isolation --wheel --outdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-fiona/py312-fiona/work
 Exit code: 1
 Error: Failed to build py312-fiona: command execution failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72060>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list