delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/03/17/09:05:42

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62HD5fnF878681
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62HD5fnF878681
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=KlTW9y/6
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83FA04CCCA07
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1773752740;
bh=GTAg7Die/soU5n/9cPOyl4d2j7eFARafzxHn6KdFmj0=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=KlTW9y/6VMbqexlqX7CXuPuwEB7kiuQQdCx+9yei8Lt9oIc/xlUgknVJMgvf36ngb
G464v2onVihEke3NpbkUcFeeemtU4zqg9ZgtEOP5rDQYU4BsGTtNE2GGCURd2VoZ4d
DO/xeAdtlIjfK22Ltqb+94Y+pdOf+PM8AvsPF24w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B32894BA23D5
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B32894BA23D5
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1773752691; cv=none;
b=DmDsN9D7oSLfKVIpAJVNd5Y+Hg8GL5/p8fXoqTMxTO1qCm4GpYNDSuq+j071nKt4KqQxfXNgopEP1yno48C3+zHZ/o1rxCXq1sjN3FHff7lg2H3ibNBAv3EafrFS1yeMBPwYGIYxaaFEJ6crnB1ikD8sA7EyGPqgwz3BySXNkiU=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1773752691; c=relaxed/simple;
bh=mioPukkIxkDFx22rxVGALSwNXv3/5vMHXirtENxO/M0=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=I7bRgRAadBuj5JZwDmvF7Ou37uLEq7RL7BApS/xvm4FKWYtq4UOvlO24iKiAxJTIzsrduzsrxk5FexAT+5ao1JtdaVZEe1k6Svavc1qegif474xX4hKopofeEFbzhsblf2K2b/l2XTF/BZHvdSrl1zh9At7N1YZq6tLmbY2HbJY=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B32894BA23D5
Date: Tue, 17 Mar 2026 22:04:47 +0900
To: cygwin AT cygwin DOT com
Subject: Re: gobject-introspection 1.86.0-1
Message-Id: <20260317220447.0adcb7bd33d9b2863c212ba8@nifty.ne.jp>
In-Reply-To: <ee25b3e0-e459-4f05-84d4-79c54224d639@dronecode.org.uk>
References: <20250913215145 DOT 14665-1-takashi DOT yano AT nifty DOT ne DOT jp>
<ee25b3e0-e459-4f05-84d4-79c54224d639 AT dronecode DOT org DOT uk>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi Jon,

Sorry for the late reply.

On Tue, 10 Mar 2026 22:28:17 +0000
Jon Turney wrote:
> On 13/09/2025 13:51, Takashi Yano via Cygwin-announce wrote:
> > The following packages have been uploaded to the Cygwin distribution:
> > 
> > * gobject-introspection-1.86.0-1
> > * libgirepository1.0_1-1.86.0-1
> > * libgirepository1.0-devel-1.86.0-1
> > * libgirepository1.0-doc-1.86.0-1
> > * girepository-cairo1.0-1.86.0-1
> > * girepository-GIRepository2.0-1.86.0-1
> > * girepository-GLib2.0-1.86.0-1
> > * girepository-x11-1.86.0-1
> > 
> > The goal of the project is to describe GObject APIs and collect
> > them in a uniform, machine readable format.
> 
> Hi Takashi,
> 
> I just tripped over a small problem with gobject-introspection:
> 
> > $ /usr/sbin/alternatives --set python3 /usr/bin/python3.12
> > 
> > $ g-ir-scanner
> > Traceback (most recent call last):
> >   File "/usr/bin/g-ir-scanner", line 133, in <module>
> >     from giscanner.scannermain import scanner_main
> >   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 35, in <module>
> >     from giscanner.ast import Include, Namespace
> >   File "/usr/lib/gobject-introspection/giscanner/ast.py", line 27, in <module>
> >     from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF
> >   File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", line 31, in <module>
> >     from giscanner._giscanner import SourceScanner as CSourceScanner
> > ModuleNotFoundError: No module named 'giscanner._giscanner'
> 
> This fails because the _giscanner module is built for (and linked 
> against) python3.9.

Thanks for pointing this out.
Currently, _giscanner is compiled as
/usr/lib/gobject-introspection/giscanner/_giscanner.cpython-39-x86_64-cygwin.dll
which perhaps requires libpython3.9.dll.

> I don't quite understand why this is happening since we configure with 
> "-Dpython=${PYTHON3}", so I'd expect end up with the full path to 
> specific python version in the shebang line in g-ir-scanner.
> 
> (I think that's what was happening before upstream switched from 
> autotools to meson)
> 
> In any case, this can be fixed in the cygport by using 
> python3_fix_shebang on this script.

Could you please let me know bit more detail how to use
'python3_fix_shebang'?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019