#72060 closed defect (fixed)

py-fiona needs C++11: cc1plus: error: unrecognized command line option "-std=c++11"

Reported by: barracuda156 Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc: stromnov (Andrey Stromnov)
Port: py-fiona

Description

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

Change History (1)

comment:1 Changed 15 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 9070394466c4bc6f21f37f9722841f5886779e95/macports-ports (master):

py-fiona: set cxx_standard

Closes: #72060

Note: See TracTickets for help on using tickets.