From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#34181: guile-hall: no code for module (config) Date: Fri, 25 Jan 2019 17:24:58 +0100 Message-ID: <87imycvh5x.fsf@elephly.net> References: <87tvhzfgen.fsf@pompo.co> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:51337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn4It-0008G9-P5 for bug-guix@gnu.org; Fri, 25 Jan 2019 11:26:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn4It-0004gl-0G for bug-guix@gnu.org; Fri, 25 Jan 2019 11:26:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gn4Is-0004gV-Sy for bug-guix@gnu.org; Fri, 25 Jan 2019 11:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gn4Is-00082T-Is for bug-guix@gnu.org; Fri, 25 Jan 2019 11:26:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Jack Hill Cc: 34181@debbugs.gnu.org Hi Jack, > On Wed, 23 Jan 2019, Alex Sassmannshausen wrote: > >> Hi Jack, >> >> Thanks for your bug report =E2=80=94 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 "=E2=80=A6 (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? --=20 Ricardo