From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yLDeFsl71l/1YwAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 20:38:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 1dyaEsl71l86KwAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 20:38:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 030539403EB for ; Sun, 13 Dec 2020 20:38:33 +0000 (UTC) Received: from localhost ([::1]:54400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koY8W-0004C2-0K for larch@yhetil.org; Sun, 13 Dec 2020 15:38:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40718) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koXuU-0007a0-Ce for guix-patches@gnu.org; Sun, 13 Dec 2020 15:24:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koXuU-0006Mf-4E for guix-patches@gnu.org; Sun, 13 Dec 2020 15:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koXuU-0003Oo-0G for guix-patches@gnu.org; Sun, 13 Dec 2020 15:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44590] [WIP PATCH CORE-UPDATES] build/python: Check for cythonized files. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Dec 2020 20:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44590 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Simon South Received: via spool by 44590-done@debbugs.gnu.org id=D44590.160789102012958 (code D ref 44590); Sun, 13 Dec 2020 20:24:01 +0000 Received: (at 44590-done) by debbugs.gnu.org; 13 Dec 2020 20:23:40 +0000 Received: from localhost ([127.0.0.1]:50441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koXu7-0003Mw-O9 for submit@debbugs.gnu.org; Sun, 13 Dec 2020 15:23:40 -0500 Received: from flashner.co.il ([178.62.234.194]:44892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koXu5-0003MQ-Iz for 44590-done@debbugs.gnu.org; Sun, 13 Dec 2020 15:23:37 -0500 Received: from localhost (unknown [31.210.180.46]) by flashner.co.il (Postfix) with ESMTPSA id 8CAB64014A; Sun, 13 Dec 2020 20:23:31 +0000 (UTC) Date: Sun, 13 Dec 2020 22:23:23 +0200 From: Efraim Flashner Message-ID: References: <20201112101630.1302-1-efraim@flashner.co.il> <87eejtmyus.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="74grLicQ87e0A8ew" Content-Disposition: inline In-Reply-To: <87eejtmyus.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 44590-done@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.40 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 030539403EB X-Spam-Score: -2.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: RVzZDFw2seNv --74grLicQ87e0A8ew Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 13, 2020 at 11:53:31AM -0500, Simon South wrote: > Efraim, >=20 > I'm seeing an issue I think is related to this change. Trying to build > glib in core-updates today fails for me with "Unbound variable: warning" > in python-build-system.scm: >=20 > starting phase `ensure-no-cythonized-files' > Backtrace: > 9 (primitive-load "/gnu/store/ycv4j8dqk44g6d72m2ykvlwb9wc?= ") > In ice-9/eval.scm: > 191:35 8 (_ _) > In guix/build/gnu-build-system.scm: > 886:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . = #) > In ice-9/boot-9.scm: > 1736:10 6 (with-exception-handler _ _ #:unwind? _ # _) > In srfi/srfi-1.scm: > 634:9 5 (for-each #= ?) > In guix/build/gnu-build-system.scm: > 895:33 4 (_ _) > In guix/build/python-build-system.scm: > 272:2 3 (ensure-no-cythonized-files . _) > In srfi/srfi-1.scm: > 634:9 2 (for-each #= ?) > In guix/build/python-build-system.scm: > 277:10 1 (_ _) > In ice-9/boot-9.scm: > 1669:16 0 (raise-exception _ #:continuable? _) >=20 > ice-9/boot-9.scm:1669:16: In procedure raise-exception: > Unbound variable: warning > builder for `/gnu/store/cgmgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-bu= ild-0.55.1.drv' failed with exit code 1 > build of /gnu/store/cgmgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-build-= 0.55.1.drv failed > View build log at '/var/log/guix/drvs/cg/mgrddwjvryxmj4nn3naiwy42yi3w= zn-meson-for-build-0.55.1.drv.bz2'. > cannot build derivation `/gnu/store/a00wr5wj4cd0b98ixxynyxgbw2nyv8kg-= glib-2.62.6.drv': 1 dependencies couldn't be built > guix build: error: build of `/gnu/store/a00wr5wj4cd0b98ixxynyxgbw2nyv= 8kg-glib-2.62.6.drv' failed >=20 > And in fact building python-build-system.scm shows >=20 > [100%] GUILEC guix/build/python-build-system.go > WARNING: (guix build python-build-system): imported module (guix buil= d utils) overrides core binding `delete' > guix/build/python-build-system.scm:277:10: warning: possibly unbound = variable `warning' > guix/build/python-build-system.scm:277:19: warning: possibly unbound = variable `G_' >=20 > Adding use-module directives for (guix diagnostics) and (guix i18n) to > the module doesn't seem to fix the problem, presumably (if I understand > correctly) because these modules are not then also imported on the build > side of things. >=20 > Are you aware of this issue? >=20 I fixed it. I changed the code to output using format and (ice-9 format) and I tested it building meson-for-build and python-setuptools. I suppose I should point out now that meson-for-build has some possibly cythonized files :) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --74grLicQ87e0A8ew Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl/WeDsACgkQQarn3Mo9 g1Ht3Q/8CwewPhK9rCtU797T2pijbt0BwXmq4DXdb5wSs55b58ju7zoS367I6eIm k5simQMYsZsmATlHuTbMjjO4nP0k7z2UjsljYgDLNOQnERgoj03k4X01SRDwRbtd pYuXdSN/ECHZFLkwzoBdI2B/86/MkJWK6ayBOzlK2sbk0h4E0yhz5kOMtY7hZXdv WFxummZoFzgMEidAIxK5dTuNdh4VlArS7B8iMhyQke5P6gdHqZ7onp/VXhhoZDaU beM6epIYaN2NQO4RAOi6/r6jtc22lvPtLNqfUIS85AfkeLHvmORbNPJk60V8WsgZ wiD+aLpEFIy72NQyBoUJvAIAdwAYasf2tT2Em1OTi5qcAUXB+dAZeB4zTg71kVwb 85sywba10WZN48LrUF4B/JBuHBbsN0NCQAYzecs0lpK72Qe2F8vRK2KaLfNFh9ro +KsS7zy2WXJ1GyZAJ2q3fHQv4f25JFXVT6ObwRC43w50pLD4H4JXEqvr8GC+kJlq /HANFCaWPcGjatoTEKyi+YxFnhwNy/Rn+57GTu6etFufCqTC6qOjwWoOKpc3qy80 TL6on/7vgFePLrOlxlPrh7Q2yz9rS3nZGbs/FwRFNaMisiB3C5K7aXxlygNH9P2Y T4T2ch2pRznqMYc0R/6Y/NNfbrdtt4eLjwVHgCjYTDWGXpAAWgE= =AVp3 -----END PGP SIGNATURE----- --74grLicQ87e0A8ew--