[MacPorts] #72622: py-plyvel hardcodes C++ runtime, does not set correct C++ standard

MacPorts noreply at macports.org
Wed Jun 18 10:18:07 UTC 2025


#72622: py-plyvel hardcodes C++ runtime, does not set correct C++ standard
--------------------------+-----------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.7
 Keywords:                |       Port:  py-plyvel
--------------------------+-----------------------
 {{{
 --->  Configuring py27-plyvel
 --->  Building py27-plyvel
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 plyvel/py27-plyvel/work/plyvel-1.5.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 running build
 running build_py
 creating build
 creating build/lib.macosx-10.6-ppc-2.7
 creating build/lib.macosx-10.6-ppc-2.7/plyvel
 copying plyvel/__init__.py -> build/lib.macosx-10.6-ppc-2.7/plyvel
 copying plyvel/_version.py -> build/lib.macosx-10.6-ppc-2.7/plyvel
 running build_ext
 building 'plyvel._plyvel' extension
 creating build/temp.macosx-10.6-ppc-2.7
 creating build/temp.macosx-10.6-ppc-2.7/plyvel
 /usr/bin/gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -pipe
 -I/opt/local/libexec/openssl11/include -Os -DNDEBUG -g -fwrapv -O3 -Wall
 -Wstrict-prototypes -arch ppc -isysroot/
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -c plyvel/_plyvel.cpp -o build/temp.macosx-10.6-ppc-2.7/plyvel/_plyvel.o
 -Wall -g -x c++ -std=c++11 -stdlib=libc++
 powerpc-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file
 has no effect
 cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
 C/ObjC but not for C++
 cc1plus: error: unrecognized command line option "-std=c++11"
 cc1plus: error: unrecognized command line option "-stdlib=libc++"
 error: command '/usr/bin/gcc-4.2' failed with exit status 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 plyvel/py27-plyvel/work/plyvel-1.5.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 Exit code: 1
 Error: Failed to build py27-plyvel: command execution failed
 }}}

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


More information about the macports-tickets mailing list