From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 4652C3959E47 for ; Wed, 19 May 2021 21:21:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4652C3959E47 Received: by mail-wr1-x430.google.com with SMTP id q5so15459883wrs.4 for ; Wed, 19 May 2021 14:21:44 -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=e/0Oz5d9/Ia0Rc5ZiyN8yaexs3QmmIT1mmwU0ePT9g0=; b=m6hSslIf8ZUWVF6uYOyWlfa7u0t3Kvzu7xtNZe2a57wapVviPIFjRzPv3NQCSbifo7 fK3y6HqpzkM1Esph8iD266G9enAAh8n4ko/cXCkrSHU/v6Ef4tBSHa0CwkIQNWmrOQEK MrUe5gxrqc8XCSqIPcZCa0c1PcyyOu8HzIR2O68jkHKRqVQpbvZHznAVcw2t4v1t7mp0 vobm9iTNSzASQjgt99G0vWJzLICZXG6SdlY/h18AgD3jK9/Nviw5aat41hYwFqk74szC CMBCtMsjv/N791VDq7zZV4usBozjH0mC+Y0ymQR/Oz+mBKxf7uWY6WCoOrSWb4WD9C/D owWA== X-Gm-Message-State: AOAM532mrhuplRpBb1UUNBL+UisBksFzXPbqkyzK0mh/PMLPTELn7A5U FDLSz0Y07oky4WxomV7oUOewEY4kVuIfAQ== X-Google-Smtp-Source: ABdhPJyr6BpMs6k5M8xkrSeq1j1NTnT15biUOtpIq52cS9+P9G+Mvp1f6g0guBGjxgV0ZrUwTNZZoQ== X-Received: by 2002:a5d:438c:: with SMTP id i12mr909562wrq.44.1621459303355; Wed, 19 May 2021 14:21:43 -0700 (PDT) Received: from ?IPv6:2003:cc:9f04:e34a:8ddd:bef9:a0af:3839? (p200300cc9f04e34a8dddbef9a0af3839.dip0.t-ipconnect.de. [2003:cc:9f04:e34a:8ddd:bef9:a0af:3839]) by smtp.gmail.com with ESMTPSA id m11sm503443wmq.33.2021.05.19.14.21.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 May 2021 14:21:42 -0700 (PDT) Subject: Re: g-ir-scanner fails with python-3.8 To: cygwin-apps@cygwin.com References: From: Marco Atzeri Message-ID: <972b3256-df87-182b-2419-c33a6c7b0ed4@gmail.com> Date: Wed, 19 May 2021 23:21:42 +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: Content-Type: text/plain; charset=windows-1252; 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: Wed, 19 May 2021 21:21:45 -0000 On 19.05.2021 21: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._giscanner import collect_attributes > ImportError: dynamic module does not define module export function > (PyInit__giscanner) > > 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? replace PyMODINIT_FUNC with PyObject* inside the PyInit code I never really understood why , maybe is due to a wrong __declspec(dllexport) somewhere Any tentative to change from python side instead of the packages side has been ineffective. > Thanks. > > Ken