[MacPorts] #67518: py27-protobuf3 @4.21.12: error: use of undeclared identifier 'PyUnicode_AsUTF8AndSize'

MacPorts noreply at macports.org
Sat May 27 22:57:03 UTC 2023


#67518: py27-protobuf3 @4.21.12: error: use of undeclared identifier
'PyUnicode_AsUTF8AndSize'
------------------------+----------------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  py27-protobuf3
------------------------+----------------------------
 https://build.macports.org/builders/ports-
 11_x86_64-builder/builds/115758/steps/install-port/logs/stdio

 {{{
 google/protobuf/pyext/extension_dict.cc:235:7: error: use of undeclared
 identifier 'PyUnicode_AsUTF8AndSize'
   if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
       ^
 google/protobuf/pyext/extension_dict.cc:55:16: note: expanded from macro
 'PyString_AsStringAndSize'
                PyUnicode_AsUTF8AndSize(ob, (sizep)))) == nullptr \
                ^
 1 error generated.
 }}}

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


More information about the macports-tickets mailing list