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 4PD7MsJI1l9HLgAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 17:00:50 +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 GBXHLsJI1l+KCwAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 17:00:50 +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 ED0BB940437 for ; Sun, 13 Dec 2020 17:00:49 +0000 (UTC) Received: from localhost ([::1]:57864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koUjo-0000fu-GB for larch@yhetil.org; Sun, 13 Dec 2020 12:00:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koUj5-0000fj-AL for guix-patches@gnu.org; Sun, 13 Dec 2020 12:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koUj5-0004MN-0c for guix-patches@gnu.org; Sun, 13 Dec 2020 12:00:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koUj4-0000sA-UI for guix-patches@gnu.org; Sun, 13 Dec 2020 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44590] [WIP PATCH CORE-UPDATES] build/python: Check for cythonized files. References: <20201112101630.1302-1-efraim@flashner.co.il> Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 13 Dec 2020 17:00:02 +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: Efraim Flashner Received: via spool by 44590-submit@debbugs.gnu.org id=B44590.16078787543273 (code B ref 44590); Sun, 13 Dec 2020 17:00:02 +0000 Received: (at 44590) by debbugs.gnu.org; 13 Dec 2020 16:59:14 +0000 Received: from localhost ([127.0.0.1]:49974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koUiI-0000qj-89 for submit@debbugs.gnu.org; Sun, 13 Dec 2020 11:59:14 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:46684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koUiG-0000qW-SN for 44590@debbugs.gnu.org; Sun, 13 Dec 2020 11:59:13 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 07A43A00E3; Sun, 13 Dec 2020 16:59:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo05-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uvLmOAyk4Opt; Sun, 13 Dec 2020 16:59:06 +0000 (UTC) Received: from laptop (unknown [108.162.141.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id B37F3A0064; Sun, 13 Dec 2020 16:59:03 +0000 (UTC) From: Simon South In-Reply-To: <20201112101630.1302-1-efraim@flashner.co.il> Date: Sun, 13 Dec 2020 11:53:31 -0500 Message-ID: <87eejtmyus.fsf@laptop.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain 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@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: -1.80 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: ED0BB940437 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: o13UCJWomz/l Efraim, 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: 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? _) ice-9/boot-9.scm:1669:16: In procedure raise-exception: Unbound variable: warning builder for `/gnu/store/cgmgrddwjvryxmj4nn3naiwy42yi3wzn-meson-for-build-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/mgrddwjvryxmj4nn3naiwy42yi3wzn-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/a00wr5wj4cd0b98ixxynyxgbw2nyv8kg-glib-2.62.6.drv' failed And in fact building python-build-system.scm shows [100%] GUILEC guix/build/python-build-system.go WARNING: (guix build python-build-system): imported module (guix build 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_' 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. Are you aware of this issue? -- Simon South simon@simonsouth.net