g-ir-scanner fails with python-3.8

Lemures Lemniscati lemures.lemniscati@gmail.com
Sun May 23 05:04:01 GMT 2021


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
> >>
> 
> I notice now that they are patch of patch,
> but it seems we are not starting on the same base
> 
> $ patch -p1 -i 0002-gobject-introspection-1.54.1-4.patch
> patching file gobject-introspection.cygport
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 16.
> Hunk #3 succeeded at 45 (offset -2 lines).
> 2 out of 3 hunks FAILED -- saving rejects to file gobject-introspection.cygport.rej
> 
> can you send the all the raw files ?


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.

Regards,

Lem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gobject-introspection.cygport
Type: application/octet-stream
Size: 2415 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-apps/attachments/20210523/890f539d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.54.1-2-cygwin.patch
Type: application/octet-stream
Size: 5958 bytes
Desc: not available
URL: <https://cygwin.com/pipermail/cygwin-apps/attachments/20210523/890f539d/attachment-0001.obj>


More information about the Cygwin-apps mailing list