From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin-apps@cygwin.com
Subject: Re: g-ir-scanner fails with python-3.8
Date: Sun, 23 May 2021 05:51:19 +0200 [thread overview]
Message-ID: <85b2f5f9-dbc4-1656-98ad-afd34aea1564@gmail.com> (raw)
In-Reply-To: <20210523084421.9873.50F79699@gmail.com>
On 23.05.2021 01:44, Lemures Lemniscati via Cygwin-apps wrote:
> On Wed, 19 May 2021 22:09:59 +0100, Jon Turney
>> On 19/05/2021 20: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/lib/gobject-introspection/giscanner/xmlwriter.py", line
>>> 46, in <module>
>>> from giscanner._giscanner import collect_attributes
>>> ImportError: dynamic module does not define module export function
>>> (PyInit__giscanner)
>>
>> This a problem with the gobject-introspection package.
>>
>> _giscanner.dll is linked with python2, but the shbang names 'python', which is now python3.
>>
>> I have been working on rebuilding this package, but not quite there yet.
>>
>> You can work around this by fixing the shebang in /usr/bin/g-ir-scanner to explicitly name python3.
>
>
> Here are patches...
>
> * 0002-gobject-introspection-1.54.1-4.patch:
> python3.8 is used explicitly.
> Shebangs of g-ir-doc-tool and g-ir-scanner are '/usr/bin/env python3.8'
> _giscanner.dll is linked with libpython3.8.dll
>
> * 0001-Fix-a-patch-for-giscanner-shlibs.py-to-pass-a-pep8-c.patch:
> This has no effect while building.
> But needed in order to avoid an error in a test
> cygport gobject-introspection.cygport test
>
> And with them, following build and test by cygport has succeeded
> both in x86_64 and i686, on my local machine.
>
> cygport gobject-introspection.cygport download finish all test
>
>
> But on scallywag, only x86_64 build is successful:
> https://cygwin.com/cgi-bin2/jobs.cgi?id=2841
>
>
> Regards,
>
> Lem
are you sure of those patches ?
*** ERROR: patch
0001-Fix-a-patch-for-giscanner-shlibs.py-to-pass-a-pep8-c.patch will not
apply
it does not work alone or together with the old patch
can you send the gobject-introspection.cygport ?
next prev parent reply other threads:[~2021-05-23 3:51 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 [this message]
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
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=85b2f5f9-dbc4-1656-98ad-afd34aea1564@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).