unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Jack Hill <jackhill@jackhill.us>
Cc: 34181@debbugs.gnu.org
Subject: bug#34181: guile-hall: no code for module (config)
Date: Fri, 25 Jan 2019 17:24:58 +0100	[thread overview]
Message-ID: <87imycvh5x.fsf@elephly.net> (raw)
In-Reply-To: <alpine.DEB.2.20.1901251030300.6623@marsh.hcoop.net>


Hi Jack,

> On Wed, 23 Jan 2019, Alex Sassmannshausen wrote:
>
>> Hi Jack,
>>
>> Thanks for your bug report — this is super helpful to debug the
>> guile-build-system in guix!
>>
>> Jack Hill writes:
>>
>>> The guile-hall package appears to be broken. All hall commands that I
>>> run result in a "no code for module (config)" error.
>>
>> The Guile build system propagates installs of dependent
>> modules. Guile-Hall depends on Guile-Config, and it looks like it is
>> built fine as part of the built process.
>>
>> What I'm curious about is whether your search paths are set correctly?
>>
>> Would you mind trying the following commands:
>> $ guile -c "(use-modules (config))"
>> $ guile -c "(use-modules (hall clean))"
>
> Both of these end produce a backtrace that ends in "no code for module
> (config)" or "… (hall clean)"
>
>> $ echo $GUILE_LOAD_PATH +++ $GUILE_LOAD_COMPILED_PATH
>
> /run/current-system/profile/share/guile/site/2.2 and
> /run/current-system/profile/lib/guile/2.2/site-ccache
>
> So it looks like my environment variables aren't set correctly?
>
> Is this a user error on my part? I had hoped that guix environment
> would set these if needed. I also tried installing guile-hall in my
> profile, and a warning about needed vars didn't get printed nor where
> they added to my profile's etc/profile.

This is likely a problem with the guile-hall package.  It should wrap
the executables in GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.

Would you like to send a patch to fix this?

-- 
Ricardo

  reply	other threads:[~2019-01-25 16:26 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 16:35 bug#34181: guile-hall: no code for module (config) Jack Hill
2019-01-23 17:11 ` Alex Sassmannshausen
2019-01-25 15:41   ` Jack Hill
2019-01-25 16:24     ` Ricardo Wurmus [this message]
2019-01-25 16:34       ` Catonano
2019-01-26  9:41       ` Alex Sassmannshausen
2019-01-25 17:10     ` Alex Sassmannshausen
2019-01-29  1:00       ` Jack Hill
2019-01-31 15:26 ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imycvh5x.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=34181@debbugs.gnu.org \
    --cc=jackhill@jackhill.us \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).