g-ir-scanner fails with python-3.8

Jon Turney jon.turney@dronecode.org.uk
Thu Jan 12 19:50:21 GMT 2023


On 23/05/2021 06:04, Lemures Lemniscati via Cygwin-apps wrote:
> On Sun, 23 May 2021 06:01:43 +0200, Marco Atzeri via Cygwin-apps
>> On 23.05.2021 05:51, Marco Atzeri wrote:
>>> 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:
>>
>>>>
>>>> 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
>>>>
[...]
> 
> 
> These patches are the last two commit from here for the time being:
> 
> https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/playground.git;a=commitdiff;h=1f435122b29fdc5a7c3f71f6da0cb28bbb843847
> 
> which forked from the gobject-introspection 1.54.1-3
> https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/gobject-introspection.git;a=commit;h=cd7b82d762911316ae43708b30941fea4d7f718d
> 
> Atattched files are modified files based on 1.54.1-3.
> 
> gobject-introdpection.cygport: modified.
> 1.54.1-2-cygwin.patch: removed a trailing space.
Thanks, Lem.

I've rebuilt gobject-introspection for python39, using these patches. 
Sorry that took so long to get around to.

(It would be nice to update this to a later version, but that seems to 
require glib to be updated also...)



More information about the Cygwin-apps mailing list