From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mNRbMtzVI2XjKAEA9RJhRA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 12:28:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mNRbMtzVI2XjKAEA9RJhRA (envelope-from ) for ; Mon, 09 Oct 2023 12:28:44 +0200 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 7738142A8D for ; Mon, 9 Oct 2023 12:28:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696847324; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=poQkvGZqJn6fN8pbS3m4M9jISQ5BYuCkif+MDeGul+o=; b=CpBkzpReitOH8i9NnKwhJE2o4k6i45VA9RQxwOYwkNdT99/stKk+eud5KD0yQNV4RPbyxP Mox7VjAL71PkMWD+W6FRap7xjkAS8t3/I1589c/08SrKH9JL+wp5pyr3Gc4n0liRxyuGKX 0A+NKSAL+N7Gy5mo8NHftbBkrM2naojQMjyuF+ebKmdQwTmqpbHeISlnJzFTjfur4s2bzG 2cKFg+XqhVEkM+HVC+UABvqRBcYyg9M4qRahGX+Ub6xgc46aI+z/E/HEKwYphGVp8N6jAn srRr3GC/V9elP6RQuQXDdzauf8494x1GTqLE7cei+HE2sleI5TW7fP27r0UZ5w== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=outlook.es (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1696847324; a=rsa-sha256; cv=fail; b=tBIVtTFza4pfGT9bBqWeIbg38Q0ssGjdx0Q9r3VEz3jSzCBsKdop8MjW60XaurRYkeKtB1 qDGJ69JsWVGu+q7dqbOlzQdAW22rnhXpWIY9DkdIlQerZ4oncV3WEfF6j65OIN3y2ZwcXu P7dxawDm9Ki6kumgRrwcFioYziRBR5se5wN4EZRr8dTxbGV1w5a9VF0ym8JR7IRvm44Rc+ u2msIa5KkaAJi7GMqcVyHYkV7ORCeGt3ILyyiPj5Q3UAuXCdxvVRuyF+Cir7VhBDkGIn0j 6iksvs2/G7PvKcziypSmNPnbIJ8HOe8s+aJ9owgYjENKpzsslqgPIcNTHTJ69w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpnUo-00044i-PF; Mon, 09 Oct 2023 06:28:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpnPO-0000zN-J3 for bug-guix@gnu.org; Mon, 09 Oct 2023 06:22:42 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpnPO-00045y-Av for bug-guix@gnu.org; Mon, 09 Oct 2023 06:22:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpnPi-0002n0-5s for bug-guix@gnu.org; Mon, 09 Oct 2023 06:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66419: Incorrect handling of -L flag on guix system commands Resent-From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Oct 2023 10:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66419 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66419@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169684695210680 (code B ref -1); Mon, 09 Oct 2023 10:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Oct 2023 10:22:32 +0000 Received: from localhost ([127.0.0.1]:59368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpnPD-0002mC-Pv for submit@debbugs.gnu.org; Mon, 09 Oct 2023 06:22:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:45836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpnPC-0002ly-4u for submit@debbugs.gnu.org; Mon, 09 Oct 2023 06:22:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpnOl-0000uO-4X for bug-guix@gnu.org; Mon, 09 Oct 2023 06:22:03 -0400 Received: from mail-he1eur01olkn080a.outbound.protection.outlook.com ([2a01:111:f400:fe1e::80a] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qpnOh-0003pe-N4 for bug-guix@gnu.org; Mon, 09 Oct 2023 06:22:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VovlDTjr2Fo+BrS7na9EjkBpHpyw/mXzqf0GRihzKWiFJXH46Ltg/zorvkjpDq+LHUwSXqNs1qACYQ99wGpqnwyNbJaXUH2PqkW3elLi6dx0MKyxjmBTH6CBARcmx0cAT9jcp1Pu6Cht4c+BQ3yo9+jzEvmIsFq8drodGL8FdfCpuzEfYQGMyJqayB9tSEq/BzmAqk+DxmCOemxLdn/TeJSYt4xoj+HFs/99+AOxDt6TekTaPpFdlP+jqqGpy/2f1qv36zHZlMp4Y2VFaOjniMgqtQK7N78a/zK6Ifhe03Lz72tTYRnmKJLif7mgF9N+v56KWSiZ6qrFXvSH5msIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=poQkvGZqJn6fN8pbS3m4M9jISQ5BYuCkif+MDeGul+o=; b=i+FKEuix2m937rg9ic1c/yH5e+184IShDUIjQj9+ZwuKZ4lzjzJ/vu+0DuSE03N/OQFEm6iANBmFVLo+abnjSqi+YTZxVZ91L8H+kzdmVA4C8BwvH9ooO5noQg8D/CLFWlCcihmznaPU536Xt5dJ+OWGjX/jLYnkt4IABAMWRpXxtBx95R/Qj2LGmRmJ0XlBRr5S/ljPnamGP2JzQq1sAV2RJRtA9s0dI22bKQdX8khuLAiDAcrmvUhBiCMqkyDvlfONLr+fIwnNAwNz7kxsnzTMMVctIZ41sW5GHyELxND4Vl0IRTq/KkNjTnAxmvRXR631LNhE1sT1fPTBLPCWTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2f8::9) by AS8P193MB1969.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:3b0::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.36; Mon, 9 Oct 2023 10:16:53 +0000 Received: from DU2P193MB2132.EURP193.PROD.OUTLOOK.COM ([fe80::5693:2d5:c58c:e127]) by DU2P193MB2132.EURP193.PROD.OUTLOOK.COM ([fe80::5693:2d5:c58c:e127%4]) with mapi id 15.20.6863.032; Mon, 9 Oct 2023 10:16:53 +0000 From: Sergio Pastor =?UTF-8?Q?P=C3=A9rez?= Date: Mon, 09 Oct 2023 12:16:50 +0200 Message-ID: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [jQOmug8j7fEffgdu3uwR2zBx2FdrQ1Qw] X-ClientProxiedBy: MR2P264CA0153.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:1::16) To DU2P193MB2132.EURP193.PROD.OUTLOOK.COM (2603:10a6:10:2f8::9) X-Microsoft-Original-Message-ID: <844jj03xt9.fsf@outlook.es> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2P193MB2132:EE_|AS8P193MB1969:EE_ X-MS-Office365-Filtering-Correlation-Id: e2ef61c9-5612-4910-14dd-08dbc8b0db62 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oiY24UE+qpbwD5VVSgMeXrg38xURC06xPFaZxKcyDPCN6vLiTaSEgY1Rq/Ig6GkjE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FjOLwpVbvoO4BHmckcY9tfnEvoXk2RjWTktSRBElbojghpDHphysxi90x8cA0MOFRK6cRbb+CWnguumMAQGBufV8s6H1W+QJys8Hn8rHLZuzKVbFHlnHLVQ5dRJc/Mm/FW+xxR9mNYoAbnJyxs1nQ2XOmrn/JkoaidW7HLhm3aTDpG6yD1d/d15lmFLVixyDPzaZ8whz9T/ugDxs5KPMfZ0JLAMaOV9vXj+so6djtXdE6TsFc4qRFrqhMHc1ADP0uSWoZMnaqfMLtbkTEJnmkFuXMg33zKVCm5Xy/mQhviGBg/oo3NIWUz/WOW1gjnSkWEmhn0BIbubvDOdDsN6DnVlFBONZ8KUo0UQvL2/Sh4snQFwHoNDYHeEwRuCiztZtxZvVq/0HnYuZl7tKhBXQS+u0KFpCimwsBBug7BM64yiOtdf26Tg+qtCerFbD7taVa YnfCdWMiNQ/U6GSbqzNuHuHMmjj2jRKvUWpXP4+81qIGF51fmshwic9f24XBhQjn0AJSebv+sUAiQA5CjwTB+0fWGfvHGeAo9KaPSPdxpCIppJgpZlkbHsaeDftatO2gz7LK2O+CSKof3gYtmsEW7JSchrPiFvcXXVSvXa5Ibs0ASv6VCGW/8Z7a3iO1WuDbPcvRwFh9Fz/GHPdGY7CADf/nW+rXD+/Zu3p70OnWdZpRb+RG2m5WfARCdRMK1wpjG8ZGMw1CN60ZQEbWMLMwCHyFKeT3iWoH72shEGNvyvM= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-80ceb.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: e2ef61c9-5612-4910-14dd-08dbc8b0db62 X-MS-Exchange-CrossTenant-AuthSource: DU2P193MB2132.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2023 10:16:53.5604 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8P193MB1969 Received-SPF: pass client-ip=2a01:111:f400:fe1e::80a; envelope-from=sergio.pastorperez@outlook.es; helo=EUR01-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 09 Oct 2023 06:28:17 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 7738142A8D X-Spam-Score: -0.23 X-Migadu-Spam-Score: -0.23 X-Migadu-Scanner: mx1.migadu.com X-TUID: FL+JGj+db9og Good morning. I've noticed that in system configurations split into different modules, when using the -L flag, the `guix system build` command incorrectly issues some errors. The error is ignored and the system is built successfully. For example, given a base system and 2 systems that inherit from it, the error appears when building any of them: --8<---------------cut here---------------start------------->8--- =CE=BB ls base-system.scm bordercollie.scm sheepbook.scm --8<---------------cut here---------------end--------------->8--- base-system.scm: --8<---------------cut here---------------start------------->8--- (define-module (base-system) #:use-module (gnu)) ... (define-public %base-system (operating-system ...)) --8<---------------cut here---------------end--------------->8--- bordercollie.scm: --8<---------------cut here---------------start------------->8--- (define-module (bordercollie) #:use-module (base-system) ...) (operating-system (inherit %base-system) ...) --8<---------------cut here---------------end--------------->8--- sheepbook.scm: --8<---------------cut here---------------start------------->8--- (define-module (sheepbook) #:use-module (base-system) ...) (operating-system (inherit %base-system) ...) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- =CE=BB guix system build -L . bordercollie.scm=20 error: %useful-gnome-extensions: unbound variable hint: Did you forget `(use-modules (base-system))'? /gnu/store/gf21yc9ii1cfd3ki9hnn8ac5d65923ir-system --8<---------------cut here---------------end--------------->8--- As you can see this command has built successfully. Note that in this particular case the error says that the unbound variable is `%useful-gnome-extensions'. It will complain always about the first think it encounters. On the other hand relying on the `GUILE_LOAD_PATH', instead of using the '-L' flag, removes the error: --8<---------------cut here---------------start------------->8--- =CE=BB GUILE_LOAD_PATH=3D$(pwd):$GUILE_LOAD_PATH guix system build borderco= llie.scm /gnu/store/gf21yc9ii1cfd3ki9hnn8ac5d65923ir-system --8<---------------cut here---------------end--------------->8--- I've noticed that for the error to appear, there has to be 2 systems inheriting from the `base-system` module. If I remove `bordercollie.scm` or `sheepbook.scm`, the other will build without issuing the error. Regards, Sergio.