From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: g-ir-scanner fails with python-3.8
Date: Wed, 19 May 2021 23:21:42 +0200 [thread overview]
Message-ID: <972b3256-df87-182b-2419-c33a6c7b0ed4@gmail.com> (raw)
In-Reply-To: <cbb7aaae-4e41-278e-49f9-2bafb77791c5@cornell.edu>
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
prev parent reply other threads:[~2021-05-19 21:21 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-19 19:32 Ken Brown
2021-05-19 21:09 ` Jon Turney
2021-05-22 23:44 ` Lemures Lemniscati
2021-05-23 3:51 ` Marco Atzeri
2021-05-23 4:01 ` Marco Atzeri
2021-05-23 4:45 ` Marco Atzeri
2021-05-23 5:04 ` Lemures Lemniscati
2023-01-12 19:50 ` Jon Turney
2021-05-23 6:00 ` Brian Inglis
2021-05-23 11:50 ` Lemures Lemniscati
2021-05-23 18:17 ` Jon Turney
2021-05-23 18:13 ` Jon Turney
2021-05-19 21:21 ` Marco Atzeri [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=972b3256-df87-182b-2419-c33a6c7b0ed4@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).