From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from re-prd-fep-044.btinternet.com (mailomta6-re.btinternet.com [213.120.69.99]) by sourceware.org (Postfix) with ESMTPS id 9E7C7393D00B for ; Wed, 19 May 2021 21:10:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9E7C7393D00B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from re-prd-rgout-001.btmx-prd.synchronoss.net ([10.2.54.4]) by re-prd-fep-044.btinternet.com with ESMTP id <20210519211001.FAOJ335.re-prd-fep-044.btinternet.com@re-prd-rgout-001.btmx-prd.synchronoss.net> for ; Wed, 19 May 2021 22:10:01 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-SNCR-Rigid: 5ED9BDD033B027E9 X-Originating-IP: [86.143.185.91] X-OWM-Source-IP: 86.143.185.91 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiledgudehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeelieegheeghfevfeevhfdviedugfdvuefhjeehteejffefhfeuudetheeugfffhfenucfkphepkeeirddugeefrddukeehrdeludenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduudgnpdhinhgvthepkeeirddugeefrddukeehrdeluddpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhdqrghpphhssegthihgfihinhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (86.143.185.91) by re-prd-rgout-001.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED9BDD033B027E9 for cygwin-apps@cygwin.com; Wed, 19 May 2021 22:10:01 +0100 Subject: Re: g-ir-scanner fails with python-3.8 To: "cygwin-apps@cygwin.com" References: From: Jon Turney Message-ID: <32e99f35-dff1-5374-6410-2c5b34879bfc@dronecode.org.uk> Date: Wed, 19 May 2021 22:09:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3571.0 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, 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: Wed, 19 May 2021 21:10:05 -0000 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/bin/g-ir-scanner", line 65, in >     from giscanner.scannermain import scanner_main >   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line > 41, in >     from giscanner.dumper import compile_introspection_binary >   File "/usr/lib/gobject-introspection/giscanner/dumper.py", line 35, > in >     from .gdumpparser import IntrospectionBinary >   File "/usr/lib/gobject-introspection/giscanner/gdumpparser.py", line > 36, in >     from .transformer import TransformerException >   File "/usr/lib/gobject-introspection/giscanner/transformer.py", line > 34, in >     from .girparser import GIRParser >   File "/usr/lib/gobject-introspection/giscanner/girparser.py", line > 31, in >     from .girwriter import COMPATIBLE_GIR_VERSION >   File "/usr/lib/gobject-introspection/giscanner/girwriter.py", line > 29, in >     from .xmlwriter import XMLWriter >   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. > The log of my last successful build of harfbuzz shows that python-3.6 > was installed.  Do any of the python experts out there (Marco?  Jon?) > know what the problem could be?