GNU bug report logs - #26848
procedure resolve-interface finds no code for GUIX_PACKAGE_PATH modules which are otherwise working

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> pragmatique.xyz>

Date: Mon, 8 May 2017 22:25:01 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 26848 <at> debbugs.gnu.org (full text, mbox):

From: Alex Kost <alezost <at> gmail.com>
To: ng0 <ng0 <at> pragmatique.xyz>
Cc: 26848 <at> debbugs.gnu.org
Subject: Re: bug#26848: procedure resolve-interface finds no code for
 GUIX_PACKAGE_PATH modules which are otherwise working
Date: Tue, 09 May 2017 22:05:16 +0300
ng0 (2017-05-08 22:24 +0000) wrote:

> [user <at> 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 <at> 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




This bug report was last modified 4 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.