From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#34922: guile-wm crashes on login Date: Wed, 20 Mar 2019 20:12:27 +0100 Message-ID: <87ftrh8in8.fsf@elephly.net> References: 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]:33832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6gqA-0007bc-7n for bug-guix@gnu.org; Wed, 20 Mar 2019 15:25:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6ge7-0007ms-Dv for bug-guix@gnu.org; Wed, 20 Mar 2019 15:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6ge6-0007jz-Ua for bug-guix@gnu.org; Wed, 20 Mar 2019 15:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6ge6-0000Lq-F6 for bug-guix@gnu.org; Wed, 20 Mar 2019 15:13:02 -0400 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: jesse Cc: 34922@debbugs.gnu.org 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 =E2=80=94 they don=E2=80=99t contain any .go files! The problem lies in the guile-wm package=E2=80=99s =E2=80=9C'set-load-path= =E2=80=9D phase. Instead of =E2=80=9Cshare/guile/site/2.2=E2=80=9D it should be using =E2=80=9Clib/guile/2.2/site-ccache=E2=80=9D for the compiled load path. -- Ricardo