From unknown Sat Jun 21 10:44:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 08 May 2017 22:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 26848@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14942822808515 (code B ref -1); Mon, 08 May 2017 22:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2017 22:24:40 +0000 Received: from localhost ([127.0.0.1]:60371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7r55-0002DH-VD for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7r54-0002D5-PO for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7r4y-0000Si-NJ for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7r4y-0000Sc-K0 for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7r4x-0005Ka-Fq for bug-guix@gnu.org; Mon, 08 May 2017 18:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7r4s-0000R8-FD for bug-guix@gnu.org; Mon, 08 May 2017 18:24:31 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:45464 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7r4s-0000OI-3y for bug-guix@gnu.org; Mon, 08 May 2017 18:24:26 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 72d0bfb0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 8 May 2017 22:24:12 +0000 (UTC) Date: Mon, 8 May 2017 22:24:19 +0000 From: ng0 Message-ID: <20170508222419.xmrhxru4e56gwvsr@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) [user@abyayala ~/src/packages]$ sudo guix system reconfigure /etc/config.scm guix system: error: failed to load '/etc/config.scm': ice-9/boot-9.scm:2903:6: In procedure resolve-interface: ice-9/boot-9.scm:2903:6: no code for module (ng0 packages personalized) [user@abyayala ~/src/packages]$ env | grep "PACKAGE" GUIX_PACKAGE_PATH=3D/home/user/src/packages =46rom /etc/config.scm first two lines: (use-modules (gnu) (guix) (gnu system nss) (ng0 packages personalized)) This is used to reference "ii-ssl" in (packages), which comes from the module in https://git.pragmatique.xyz/ng0-packages/log.html and which can be installed and used by the users. Running "guix system build /etc/config.scm" with this succeeds, just the "sudo guix system reconfigure /etc/config.scm" produces this error. I tried building the system with the config.scm located in the same directory as the root of packages.git, but this produces the same error. --=20 https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ From unknown Sat Jun 21 10:44:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 May 2017 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26848 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ng0 Cc: 26848@debbugs.gnu.org Received: via spool by 26848-submit@debbugs.gnu.org id=B26848.149435672811974 (code B ref 26848); Tue, 09 May 2017 19:06:02 +0000 Received: (at 26848) by debbugs.gnu.org; 9 May 2017 19:05:28 +0000 Received: from localhost ([127.0.0.1]:34463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8ARs-000374-Dw for submit@debbugs.gnu.org; Tue, 09 May 2017 15:05:28 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:34714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8ARp-00036o-Id for 26848@debbugs.gnu.org; Tue, 09 May 2017 15:05:26 -0400 Received: by mail-lf0-f44.google.com with SMTP id 99so7756234lfu.1 for <26848@debbugs.gnu.org>; Tue, 09 May 2017 12:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Vn4Hk7MlAKzYya62U6QRb6aW6Chwywpp01pO8td7Dx0=; b=lEEOnzZdl1/izfpvt9roJZiwX/YiOOPGl3WECEpPpcvNSDk8pyiXIuEJmSkhCyLpi/ Lncdbfx05dQUu1iS49wZHrGVd+boUhgxRCC7eHpbNy3UJzv7cNQr2kz1e80asJMtIE7q sr2UG8VRFubBM/szq69mEBg8sR2vw5w0IveNIljZXuFweZYbn9aO0fWl6nUnAxbXs6w3 3Y2zpw5Bw006Y46+rEa3HEwZ6C9L/+Dz+j7DkUVBf+yxwynrZG2eS269Mf4X64WmFguo ekJajUsnTSPDGgdGEqEvd+MNwAlzmvwyqwIUigCuid0rGTDocumYss87rhaskXXp44ON 4ulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Vn4Hk7MlAKzYya62U6QRb6aW6Chwywpp01pO8td7Dx0=; b=gbY0OliKgYGK0nNVSFIXbPB4HZ+lhGC2C3/Vd6VygkmXPbgJtyLFnEtx/Zx+K5qyPN Bo3jl/0e1lb+NaRnK1rhMS4ynY28C7PpxtC/qUVU5OH3KBLZEw9y6ipqbk33yiN+t7lt UKYZNMJfeQOMavkT/yRQaiwtnVL/GzyJNnqrVJvuVrnpZKmPxsO77Ir1geJyGy8ZuUiS 01HGby0ipoV4OvdngKyo3GtreBPg9pfUIH4xQGzkKRGtlAZSdCKyzeVVW8CIC4UYnWZk MT5bIsnhxQhPSNStZSMPf6MBgtUGyoJH7GXSE5kLANTIFufp0Ah3QTh229dWPxswDwe9 YwNg== X-Gm-Message-State: AODbwcCJlo/KfJ47wjQnER/XaeEu7+XRNOpImWOoeJQIhUrxw2WEpw/a 1/IcAce0X6gYeQsO X-Received: by 10.46.22.10 with SMTP id w10mr762290ljd.65.1494356719415; Tue, 09 May 2017 12:05:19 -0700 (PDT) Received: from leviafan ([217.107.194.130]) by smtp.gmail.com with ESMTPSA id x22sm129159ljd.38.2017.05.09.12.05.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 May 2017 12:05:18 -0700 (PDT) From: Alex Kost References: <20170508222419.xmrhxru4e56gwvsr@abyayala> Date: Tue, 09 May 2017 22:05:16 +0300 In-Reply-To: <20170508222419.xmrhxru4e56gwvsr@abyayala> (ng0@pragmatique.xyz's message of "Mon, 8 May 2017 22:24:19 +0000") Message-ID: <8760h9df6b.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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: 0.5 (/) ng0 (2017-05-08 22:24 +0000) wrote: > [user@abyayala ~/src/packages]$ sudo guix system reconfigure /etc/config.scm > guix system: error: failed to load '/etc/config.scm': > ice-9/boot-9.scm:2903:6: In procedure resolve-interface: > ice-9/boot-9.scm:2903:6: no code for module (ng0 packages personalized) > > > [user@abyayala ~/src/packages]$ env | grep "PACKAGE" > GUIX_PACKAGE_PATH=/home/user/src/packages > > From /etc/config.scm first two lines: > > (use-modules (gnu) (guix) (gnu system nss) > (ng0 packages personalized)) > > This is used to reference "ii-ssl" in (packages), > which comes from the module in > https://git.pragmatique.xyz/ng0-packages/log.html > > and which can be installed and used by the users. > > Running "guix system build /etc/config.scm" with this > succeeds, just the "sudo guix system reconfigure /etc/config.scm" > produces this error. When you run "sudo ..." like this, the environment is not preserved, thus GUIX_PACKAGE_PATH is not set for that reconfigure command. Try to run it like this: sudo -E guix system reconfigure /etc/config.scm" -- Alex From unknown Sat Jun 21 10:44:42 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: ng0 Subject: bug#26848: closed (Re: Status: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working) Message-ID: References: <873672vkq2.fsf@disroot.org> <20170508222419.xmrhxru4e56gwvsr@abyayala> X-Gnu-PR-Message: they-closed 26848 X-Gnu-PR-Package: guix Reply-To: 26848@debbugs.gnu.org Date: Wed, 10 Jun 2020 18:29:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1591813742-31441-1" This is a multi-part message in MIME format... ------------=_1591813742-31441-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26848: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH mod= ules which are otherwise working 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 26848@debbugs.gnu.org. --=20 26848: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26848 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1591813742-31441-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26848-done) by debbugs.gnu.org; 10 Jun 2020 18:28:47 +0000 Received: from localhost ([127.0.0.1]:35334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj5Sx-0008Ag-Ly for submit@debbugs.gnu.org; Wed, 10 Jun 2020 14:28:47 -0400 Received: from knopi.disroot.org ([178.21.23.139]:59276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jj5Sv-0008AW-1X for 26848-done@debbugs.gnu.org; Wed, 10 Jun 2020 14:28:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 971B456588 for <26848-done@debbugs.gnu.org>; Wed, 10 Jun 2020 20:28:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id akZlYzo-e3KL for <26848-done@debbugs.gnu.org>; Wed, 10 Jun 2020 20:28:42 +0200 (CEST) From: Royce Strange DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1591813722; bh=EAfpOVh22iiyv4e5ooDdKhoCNmQ/y+z44qSYZKH2R/A=; h=From:To:Subject:Date:In-Reply-To; b=CRTIeC9auWVQ3AeOXOlwPV/71kY1qAwGXkNQrDbnKozychiWY3ux9w84d9sI8/l4v KcL3fBIRMsgpzYcZ5CcQdjpiZDRKETe2+G/OVcTRFPSwvqc8HEIjkT6TqA4nlcfn/v i4MBs7U9RHQbvesAfFEkaHJU0j3jb2IZnnwuhEliAblfOQYbUKU2HAfD7iMxICDdQO D4l+UP4IywJuXw9okmWUDMkdJqUP98d4D8Ephye+ueH/wtBtWFWTBUT9xqDkWI2twu pNIYj30c0nyKwWKiv7LA8gambvV90Re20q/+awvxKcJZ8H6Qi61drNCIDnR1HqBWkg EeIbgnr7goHbg== To: 26848-done@debbugs.gnu.org Subject: Re: Status: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working Date: Wed, 10 Jun 2020 13:28:37 -0500 In-Reply-To: bug's message of "Wed\, 10 Jun 2020 17\:34\:30 +0000" Message-ID: <873672vkq2.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26848-done 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: -1.0 (-) Hello. Alex Kost's suggestion to use "sudo -E" for system reconfiguration=20 is what is needed when setting GUIX_PACKAGE_PATH in a user's environment to use personal packages. >From sudo's man page: ----- -E, --preserve-env Indicates to the security policy that the user wishes to p= re=E2=80=90 serve their existing environment variables. The security policy may return an error if the user does not have permi= s=E2=80=90 sion to preserve the environment. ----- Verifying myself (as I still need to switch to using channels): ----- $ guix --version guix (GNU Guix) 2971ed57345ee4e00058efeaf27c6a0790fdc9dd $ env | grep "GUIX_PACKAGE_PATH" GUIX_PACKAGE_PATH=3D/home/royce/guix-config/.paths/my-packages $ sudo guix system reconfigure my-config.scm=20 guix system: error: failed to load 'my-config.scm': ice-9/boot-9.scm:3300:6: In procedure resolve-interface: no code for module (roy guix packages emacs) $ sudo -E guix system reconfigure my-config.scm ... guix system: bootloader successfully installed on '/boot/efi' To complete the upgrade, run 'herd restart SERVICE' to stop, upgrade, and restart each service that was not automatically restarted. ----- Going to go ahead and close, as it has been three years since it was suggested,=20 and the fix proposed by Alex Kost works. ------------=_1591813742-31441-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 8 May 2017 22:24:40 +0000 Received: from localhost ([127.0.0.1]:60371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7r55-0002DH-VD for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7r54-0002D5-PO for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7r4y-0000Si-NJ for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48920) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7r4y-0000Sc-K0 for submit@debbugs.gnu.org; Mon, 08 May 2017 18:24:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7r4x-0005Ka-Fq for bug-guix@gnu.org; Mon, 08 May 2017 18:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7r4s-0000R8-FD for bug-guix@gnu.org; Mon, 08 May 2017 18:24:31 -0400 Received: from 93-95-228-241.1984.is ([93.95.228.241]:45464 helo=sharknado9001.pragmatique.xyz) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d7r4s-0000OI-3y for bug-guix@gnu.org; Mon, 08 May 2017 18:24:26 -0400 Received: by sharknado9001.pragmatique.xyz (OpenSMTPD) with ESMTPSA id 72d0bfb0 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 8 May 2017 22:24:12 +0000 (UTC) Date: Mon, 8 May 2017 22:24:19 +0000 From: ng0 To: bug-guix@gnu.org Subject: procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working Message-ID: <20170508222419.xmrhxru4e56gwvsr@abyayala> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) [user@abyayala ~/src/packages]$ sudo guix system reconfigure /etc/config.scm guix system: error: failed to load '/etc/config.scm': ice-9/boot-9.scm:2903:6: In procedure resolve-interface: ice-9/boot-9.scm:2903:6: no code for module (ng0 packages personalized) [user@abyayala ~/src/packages]$ env | grep "PACKAGE" GUIX_PACKAGE_PATH=3D/home/user/src/packages =46rom /etc/config.scm first two lines: (use-modules (gnu) (guix) (gnu system nss) (ng0 packages personalized)) This is used to reference "ii-ssl" in (packages), which comes from the module in https://git.pragmatique.xyz/ng0-packages/log.html and which can be installed and used by the users. Running "guix system build /etc/config.scm" with this succeeds, just the "sudo guix system reconfigure /etc/config.scm" produces this error. I tried building the system with the config.scm located in the same directory as the root of packages.git, but this produces the same error. --=20 https://pragmatique.xyz PGP: https://people.pragmatique.xyz/ng0/ ------------=_1591813742-31441-1--