bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34922: guile-wm crashes on login


From: Ricardo Wurmus
Subject: bug#34922: guile-wm crashes on login
Date: Wed, 20 Mar 2019 20:12:27 +0100
User-agent: mu4e 1.0; emacs 26.1

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]