From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EFS/MAi04F7bEQAA0tVLHw (envelope-from ) for ; Wed, 10 Jun 2020 10:20:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +tU6LAi04F4AYwAAbx9fmQ (envelope-from ) for ; Wed, 10 Jun 2020 10:20:56 +0000 Received: from arlo.cworth.org (arlo.cworth.org [50.126.95.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ACFE5940668 for ; Wed, 10 Jun 2020 10:20:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 2EC7D6DE0F44; Wed, 10 Jun 2020 03:20:50 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C9qF3tvbhxlH; Wed, 10 Jun 2020 03:20:49 -0700 (PDT) Received: from arlo.cworth.org (localhost [IPv6:::1]) by arlo.cworth.org (Postfix) with ESMTP id 2F0776DE0F58; Wed, 10 Jun 2020 03:20:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5277E6DE0F58 for ; Wed, 10 Jun 2020 03:20:48 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cf1atVoE40XO for ; Wed, 10 Jun 2020 03:20:47 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 5DEB06DE0F44 for ; Wed, 10 Jun 2020 03:20:47 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.92) (envelope-from ) id 1jixqc-0008Lh-Ha; Wed, 10 Jun 2020 06:20:42 -0400 Received: (nullmailer pid 615646 invoked by uid 1000); Wed, 10 Jun 2020 10:20:41 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH v2] configure: use cffi.FFI().verify() to test buildability of CFFI bindings In-Reply-To: <20200609123227.17330-1-tomi.ollila@iki.fi> References: <87pna8fqfj.fsf@tethera.net> <20200609123227.17330-1-tomi.ollila@iki.fi> Date: Wed, 10 Jun 2020 07:20:41 -0300 Message-ID: <875zbzdxxi.fsf@tethera.net> MIME-Version: 1.0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tomi.ollila@iki.fi Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: notmuch-bounces@notmuchmail.org Sender: "notmuch" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 50.126.95.6 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -1.01 X-TUID: fmoaKdoQT/1f Tomi Ollila writes: > Checking existence of pyconfig.h to determine whether CFFI-based > notmuch bindings are buildable is not enough; for example Fedora 32 > ships pyconfig.h in python3-libs package, but python3-devel is required > to be installed for the bindings to build. > > Executing cffi.FFI().verify() is pretty close to what is done in > bindings/python-cffi/notmuch2/_build.py to get the c code part of the > bindings built. v2 pushed to master and release d