g-ir-scanner fails with python-3.8
Marco Atzeri
marco.atzeri@gmail.com
Wed May 19 21:21:42 GMT 2021
On 19.05.2021 21:32, Ken Brown via Cygwin-apps wrote:
> Trying to build harfbuzz, I get the following python failure with
> python-3.8
>
> Traceback (most recent call last):
> File "/usr/bin/g-ir-scanner", line 65, in <module>
...
> from giscanner._giscanner import collect_attributes
> ImportError: dynamic module does not define module export function
> (PyInit__giscanner)
>
> The log of my last successful build of harfbuzz shows that python-3.6
> was installed. Do any of the python experts out there (Marco? Jon?)
> know what the problem could be?
replace PyMODINIT_FUNC with PyObject* inside the PyInit code
I never really understood why , maybe is due to a wrong
__declspec(dllexport) somewhere
Any tentative to change from python side instead of the packages side
has been ineffective.
> Thanks.
>
> Ken
More information about the Cygwin-apps
mailing list