From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by sourceware.org (Postfix) with ESMTPS id E5D413857817 for ; Sun, 23 May 2021 03:51:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E5D413857817 Received: by mail-ej1-x62b.google.com with SMTP id f18so6280322ejq.10 for ; Sat, 22 May 2021 20:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yMz7jBjm9p6H4RAoiZmoMcVZrX4KMKwppkUcbCRptfw=; b=rWVhbDYZ0u0C7DkJKJ2kl67hiYi9G8EkcadoNaZL6fa540sx/oGN7nt04hERZFThzD 4WeF1S6pgQvE5wfFVWgnIbdvNhtgf0+j7z8EZTtlkMVo0YIAfBUb8Tt6E5QiWUkwdED4 ZSHd3uf0/SZmgs9l/GscY9t1XV3gWhm5kT/og/IfhG92ua4WRmcU64cGisJcHKXc1WAn cl63oYWExpr+uWWifaieJ/Z7pSfeDC28W4pkPhpXB0/qVAKW8u7MWVYk27pO4kzCMTab bN6UENbMBhyyz0+r59SAgnft5Gj2bhDi3cv3CxcgfMcPSufUGK0Y/m+j2agY/PqQH48Y 8eIQ== X-Gm-Message-State: AOAM530OYVIm5UacU7vOkmQjS0c9hhjhqES0HtWXxvNMCQyu49WQGzmD dVeuMY3mavfANReu9cMvJ7oXCm0obH4= X-Google-Smtp-Source: ABdhPJzvh0opPM5v7Ar3CBEV5YjHZWgggsry3Aj297fHtW3ACKg3voe0GW+QZgkzuwNhrBoxsMo+vA== X-Received: by 2002:a17:907:a048:: with SMTP id gz8mr16778998ejc.380.1621741881020; Sat, 22 May 2021 20:51:21 -0700 (PDT) Received: from ?IPv6:2003:cc:9f04:e373:2535:b164:6f4b:4f45? (p200300cc9f04e3732535b1646f4b4f45.dip0.t-ipconnect.de. [2003:cc:9f04:e373:2535:b164:6f4b:4f45]) by smtp.gmail.com with ESMTPSA id cn21sm7144750edb.36.2021.05.22.20.51.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 May 2021 20:51:20 -0700 (PDT) Subject: Re: g-ir-scanner fails with python-3.8 To: cygwin-apps@cygwin.com References: <32e99f35-dff1-5374-6410-2c5b34879bfc@dronecode.org.uk> <20210523084421.9873.50F79699@gmail.com> From: Marco Atzeri Message-ID: <85b2f5f9-dbc4-1656-98ad-afd34aea1564@gmail.com> Date: Sun, 23 May 2021 05:51:19 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210523084421.9873.50F79699@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2021 03:51:25 -0000 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 >>>     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 ?