GNU bug report logs - #34922
guile-wm crashes on login

Previous Next

Package: guix;

Reported by: jesse <jgibbons2357 <at> gmail.com>

Date: Tue, 19 Mar 2019 23:39:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ricardo Wurmus <rekado <at> elephly.net>
To: jesse <jgibbons2357 <at> gmail.com>
Cc: 34922 <at> debbugs.gnu.org
Subject: bug#34922: guile-wm crashes on login
Date: Wed, 20 Mar 2019 20:12:27 +0100
Hi Jesse,

> I am trying to use guile-wm, but it fails when I launch it.

Thank you for this excellent bug report!

> From what I can tell, it is attempting to re-compile guile-wm, and
> cannot find the prerequisite guile-xcb package files.

> Possible solutions:
>
> -Edit the guile-wm package to include guile-xcb in the
> propagated-inputs. As the manual says, "Another example where
> |propagated-inputs| is useful is for languages that lack a facility to
> record the run-time search path akin to the |RUNPATH| of ELF files; this
> includes Guile, Python, Perl, and more. To ensure that libraries written
> in those languages can find library code they depend on at run time,
> run-time dependencies must be listed in |propagated-inputs| rather than
> |inputs|."

The guile-wm executable is already wrapped in GUILE_LOAD_PATH and
GUILE_LOAD_COMPILED_PATH, which should accomplish the same thing.  The
problem seems to be that the directories on GUILE_LOAD_COMPILED_PATH are
incorrect — they don’t contain any .go files!

The problem lies in the guile-wm package’s “'set-load-path” phase.
Instead of “share/guile/site/2.2” it should be using
“lib/guile/2.2/site-ccache” for the compiled load path.

--
Ricardo





This bug report was last modified 6 years and 125 days ago.

Previous Next


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