[MacPorts] #59485: py27-gyoto: error: use of undeclared identifier 'Py_DecodeLocale'
MacPorts
noreply at macports.org
Sat Oct 26 04:58:12 UTC 2019
#59485: py27-gyoto: error: use of undeclared identifier 'Py_DecodeLocale'
------------------------+----------------------
Reporter: ryandesign | Owner: paumard
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: Gyoto
------------------------+----------------------
[https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/104356/steps
/install-port/logs/stdio py27-gyoto fails to build]:
{{{
mk_video.C:39:16: error: use of undeclared identifier 'Py_DecodeLocale'
wargv[k] = Py_DecodeLocale(argv[k], &sz);
^
mk_video.C:42:3: error: no matching function for call to 'PySys_SetArgv'
PySys_SetArgv(argc, wargv);
^~~~~~~~~~~~~
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/sysmodule.h:13:18:
note: candidate function not viable: no known conversion from 'wchar_t
*[argc]' to 'char **' for 2nd argument
PyAPI_FUNC(void) PySys_SetArgv(int, char **);
^
mk_video.C:51:5: error: use of undeclared identifier 'PyMem_RawFree'; did
you mean 'PyMem_Free'?
PyMem_RawFree(wargv[k]);
^~~~~~~~~~~~~
PyMem_Free
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pymem.h:54:18:
note: 'PyMem_Free' declared here
PyAPI_FUNC(void) PyMem_Free(void *);
^
3 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/59485>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list