From unknown Sat Jun 21 05:13:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#43498: Guix suggests adding modules that define but don't export the variable Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Sep 2020 23:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43498 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43498@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16004712027195 (code B ref -1); Fri, 18 Sep 2020 23:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 23:20:02 +0000 Received: from localhost ([127.0.0.1]:45330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPfe-0001rr-3G for submit@debbugs.gnu.org; Fri, 18 Sep 2020 19:20:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:48012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPfc-0001rZ-St for submit@debbugs.gnu.org; Fri, 18 Sep 2020 19:20:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJPfc-00074X-No for bug-guix@gnu.org; Fri, 18 Sep 2020 19:20:00 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJPfa-0000Ih-Fo for bug-guix@gnu.org; Fri, 18 Sep 2020 19:20:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=PurHsnz6kPJisHBBbu1E5L54bY1mf9CACIBwpWn+/Mo=; h=subject:to:from: date; b=glECDhxPIpQaAZH/0c7Tz9t5HjOW6zt34eOzN3gV5e10kUmAPEIQf68rmXezjB wLVOZiYqoV7yBQUKLkumtqFbFdQyJFf4AIhJjGD6T9avnxDYqTfF2L1BZdBWF/e4Th6kKd 5WJvcMjWtMFw9r7OEV7PMwbfGYoAz4XjjjB73ErXZWhMnF7BLspJxCtXnjsllcWIGu++MH W3f9F5DJh8USPj7MWrZ4w49TIHfTC2DFtHtz+C5Wde5fJr8DusY+0TbYdmmwzOrXHaTBbM wB2IpOXWXR/HQGHfJ9hOByG5z4xGp83AgaIjOXR9FmMEfrCd2C1fcHcPyxUyBBbhGHPWmQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id bd705b1b for ; Fri, 18 Sep 2020 23:19:54 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 19 Sep 2020 01:19:52 +0200 From: Tobias Geerinckx-Rice Message-ID: <5ae1de5a5c668d3c31dcf467f7df7696@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Guix, Quick bug report from tribals on #guix: > Does `gnu/packages/firmware.scm` export `make-arm-trusted-firmware`? > I'm getting error "error: make-arm-trusted-firmware: unbound variable" > "hint: Did you forget `(use-modules (gnu packages firmware))'?" when > trying to use it. And I also did `(use-modules (gnu packages > firmware))` Is it possible for Guix not to suggest private variables, or print a different hint in such cases? Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity. From unknown Sat Jun 21 05:13:01 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#43498: closed (Re: bug#43498: Guix suggests adding modules that define but don't export the variable) Message-ID: References: <871rhzb23l.fsf@gnu.org> <5ae1de5a5c668d3c31dcf467f7df7696@tobias.gr> X-Gnu-PR-Message: they-closed 43498 X-Gnu-PR-Package: guix Reply-To: 43498@debbugs.gnu.org Date: Thu, 15 Oct 2020 21:40:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1602798001-31365-1" This is a multi-part message in MIME format... ------------=_1602798001-31365-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #43498: Guix suggests adding modules that define but don't export the varia= ble which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 43498@debbugs.gnu.org. --=20 43498: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D43498 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1602798001-31365-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 43498-done) by debbugs.gnu.org; 15 Oct 2020 21:39:54 +0000 Received: from localhost ([127.0.0.1]:56778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTAyX-00089V-KE for submit@debbugs.gnu.org; Thu, 15 Oct 2020 17:39:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTAyV-00089J-N1 for 43498-done@debbugs.gnu.org; Thu, 15 Oct 2020 17:39:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59300) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTAyP-0003QL-OZ; Thu, 15 Oct 2020 17:39:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33124 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kTAyP-00030a-CL; Thu, 15 Oct 2020 17:39:45 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#43498: Guix suggests adding modules that define but don't export the variable References: <5ae1de5a5c668d3c31dcf467f7df7696@tobias.gr> Date: Thu, 15 Oct 2020 23:39:42 +0200 In-Reply-To: <5ae1de5a5c668d3c31dcf467f7df7696@tobias.gr> (Tobias Geerinckx-Rice's message of "Sat, 19 Sep 2020 01:19:52 +0200") Message-ID: <871rhzb23l.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 43498-done Cc: 43498-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Tobias Geerinckx-Rice skribis: > Quick bug report from tribals on #guix: > >> Does `gnu/packages/firmware.scm` export `make-arm-trusted-firmware`? >> I'm getting error "error: make-arm-trusted-firmware: unbound variable" >> "hint: Did you forget `(use-modules (gnu packages firmware))'?" when >> trying to use it. And I also did `(use-modules (gnu packages >> firmware))` > > Is it possible for Guix not to suggest private variables, or print a > different hint in such cases? Fixed in 5ef1508942ee083ed22b844f5291e59320016b79: now only modules that export a matching variable are suggested. Thanks, Ludo=E2=80=99. ------------=_1602798001-31365-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 23:20:02 +0000 Received: from localhost ([127.0.0.1]:45330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPfe-0001rr-3G for submit@debbugs.gnu.org; Fri, 18 Sep 2020 19:20:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:48012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJPfc-0001rZ-St for submit@debbugs.gnu.org; Fri, 18 Sep 2020 19:20:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJPfc-00074X-No for bug-guix@gnu.org; Fri, 18 Sep 2020 19:20:00 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:45892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJPfa-0000Ih-Fo for bug-guix@gnu.org; Fri, 18 Sep 2020 19:20:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=PurHsnz6kPJisHBBbu1E5L54bY1mf9CACIBwpWn+/Mo=; h=subject:to:from: date; b=glECDhxPIpQaAZH/0c7Tz9t5HjOW6zt34eOzN3gV5e10kUmAPEIQf68rmXezjB wLVOZiYqoV7yBQUKLkumtqFbFdQyJFf4AIhJjGD6T9avnxDYqTfF2L1BZdBWF/e4Th6kKd 5WJvcMjWtMFw9r7OEV7PMwbfGYoAz4XjjjB73ErXZWhMnF7BLspJxCtXnjsllcWIGu++MH W3f9F5DJh8USPj7MWrZ4w49TIHfTC2DFtHtz+C5Wde5fJr8DusY+0TbYdmmwzOrXHaTBbM wB2IpOXWXR/HQGHfJ9hOByG5z4xGp83AgaIjOXR9FmMEfrCd2C1fcHcPyxUyBBbhGHPWmQ == Received: by submission.tobias.gr (OpenSMTPD) with ESMTP id bd705b1b for ; Fri, 18 Sep 2020 23:19:54 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 19 Sep 2020 01:19:52 +0200 From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: Guix suggests adding modules that define but don't export the variable Message-ID: <5ae1de5a5c668d3c31dcf467f7df7696@tobias.gr> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Guix, Quick bug report from tribals on #guix: > Does `gnu/packages/firmware.scm` export `make-arm-trusted-firmware`? > I'm getting error "error: make-arm-trusted-firmware: unbound variable" > "hint: Did you forget `(use-modules (gnu packages firmware))'?" when > trying to use it. And I also did `(use-modules (gnu packages > firmware))` Is it possible for Guix not to suggest private variables, or print a different hint in such cases? Kind regards, T G-R Sent from a Web browser. Excuse or enjoy my brevity. ------------=_1602798001-31365-1--