From mboxrd@z Thu Jan 1 00:00:00 1970 From: jesse Subject: bug#34922: guile-wm crashes on login Date: Tue, 19 Mar 2019 16:58:06 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C6A114E0ED589009EC21B40D" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:40790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6ONg-0001QL-Os for bug-guix@gnu.org; Tue, 19 Mar 2019 19:42:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6OK2-0008Aq-Ds for bug-guix@gnu.org; Tue, 19 Mar 2019 19:39:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6OJy-00083D-7t for bug-guix@gnu.org; Tue, 19 Mar 2019 19:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h6OJx-0000lq-V5 for bug-guix@gnu.org; Tue, 19 Mar 2019 19:39:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:50200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6NvU-0004p0-6n for bug-guix@gnu.org; Tue, 19 Mar 2019 19:13:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6Nny-0005RC-FX for bug-guix@gnu.org; Tue, 19 Mar 2019 19:06:02 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:40744) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6Nnr-00053h-Ja for bug-guix@gnu.org; Tue, 19 Mar 2019 19:05:57 -0400 Received: by mail-pf1-x430.google.com with SMTP id c207so436068pfc.7 for ; Tue, 19 Mar 2019 16:05:41 -0700 (PDT) Received: from [192.168.1.18] ([199.68.53.171]) by smtp.gmail.com with ESMTPSA id h3sm85698pgv.38.2019.03.19.15.58.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2019 15:58:07 -0700 (PDT) Content-Language: en-US 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: 34922@debbugs.gnu.org This is a multi-part message in MIME format. --------------C6A114E0ED589009EC21B40D Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I am trying to use guile-wm, but it fails when I launch it. I define an operating system that includes guile-wm as a package and use it to build a virtual machine image. Here is the operating system definition: ~~~~~ (use-modules (gnu) (gnu system nss)) (use-service-modules desktop) (use-package-modules certs gnome guile-wm) (operating-system =C2=A0(host-name "piranhaplant") =C2=A0(timezone "America/Boise") =C2=A0(locale "en_US.utf8") =C2=A0(bootloader (bootloader-configuration =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (bootloader grub-bootloader) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 (target "/dev/sda"))) =C2=A0(file-systems (cons (file-system =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (device (file-system-= label "mini8")) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (mount-point "/") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (type "ext4")) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 %base-file-systems)) =C2=A0(users =C2=A0 %base-user-accounts) =C2=A0(packages (cons* nss-certs =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 gvfs =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0 guile-wm =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 %base-packages)) =C2=A0(services (cons* (gnome-desktop-service) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 %desktop-services)) =C2=A0(name-service-switch %mdns-host-lookup-nss)) ~~~~~ When I try to log in, it flashes an error so fast I cannot record it, then returns to the login screen. When I launch it from a console, it sends the following to stderr: ~~~~~ ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;;=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 or pass the --no-auto-compile arg= ument to disable. ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/bin/.g= uile-wm-real ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/shared.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/connection.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/struct.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/type.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/enum.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/records.scm ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/records.scm= =2Ego ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/enum.scm.go= ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/type.scm.go= ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/union.scm ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/union.scm.g= o ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/struct.scm.= go ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/connection.= scm.go ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/doc.scm ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvh= vczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/doc.scm.go ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/auth.scm ;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/auth.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml.scm failed: ;;; no code for module (xcb xml xproto) ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/core.scm ;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/xml/core.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/shared.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/bin/.g= uile-wm-real failed: ;;; no code for module (xcb xml xproto) ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/user.scm ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/command.scm ;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/event-loop.scm ;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share= /guile/site/2.2/xcb/event-loop.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/command.scm failed: ;;; no code for module (xcb xml xproto) ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/log.scm ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/q549b5c0fwds1l8bycvabva3= jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/log.scm.go ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/keymap.scm ;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/q549b5c0fwds1l8bycvabva3= jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/keymap.scm.= go ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/text.scm ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/draw.scm ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/draw.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/text.scm failed: ;;; no code for module (xcb xml xproto) ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/color.scm ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/color.scm failed: ;;; no code for module (xcb xml xproto) ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/user.scm failed: ;;; no code for module (xcb xml xproto) ;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/redirect.scm ;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/= guile/site/2.2/guile-wm/redirect.scm failed: ;;; no code for module (xcb xml xproto) Backtrace: In ice-9/boot-9.scm: =C2=A0=C2=A0 222:29 19 (map1 (((guile-wm keymap)) ((guile-wm redirect)) (= (=E2=80=A6)) =E2=80=A6)) =C2=A0=C2=A0 222:17 18 (map1 (((guile-wm redirect)) ((xcb event-loop)) ((= =E2=80=A6)) =E2=80=A6)) =C2=A0 2800:17 17 (resolve-interface (guile-wm redirect) #:select _ #:hid= e =E2=80=A6) In ice-9/threads.scm: =C2=A0=C2=A0=C2=A0 390:8 16 (_ _) In ice-9/boot-9.scm: =C2=A0 2726:13 15 (_) In ice-9/threads.scm: =C2=A0=C2=A0=C2=A0 390:8 14 (_ _) In ice-9/boot-9.scm: =C2=A0 2994:20 13 (_) =C2=A0=C2=A0 2312:4 12 (save-module-excursion #) =C2=A0 3014:26 11 (_) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 10 (primitive-load= -path "guile-wm/redirect" #) In ice-9/eval.scm: =C2=A0=C2=A0 721:20=C2=A0 9 (primitive-eval (define-module (guile-wm redi= rect) # # =E2=80=A6)) In ice-9/psyntax.scm: =C2=A0 1235:36=C2=A0 8 (expand-top-sequence ((define-module (guile-wm #) = # =E2=80=A6)) =E2=80=A6) =C2=A0 1182:24=C2=A0 7 (parse _ (("placeholder" placeholder)) ((top) #(# = # =E2=80=A6)) =E2=80=A6) =C2=A0=C2=A0 285:10=C2=A0 6 (parse _ (("placeholder" placeholder)) (()) _= c&e (eval) =E2=80=A6) In ice-9/eval.scm: =C2=A0=C2=A0 293:34=C2=A0 5 (_ #) In ice-9/boot-9.scm: =C2=A0=C2=A0 2874:4=C2=A0 4 (define-module* _ #:filename _ #:pure _ #:ver= sion _ # _ =E2=80=A6) =C2=A0 2887:24=C2=A0 3 (_) =C2=A0=C2=A0 222:17=C2=A0 2 (map1 (((xcb xml xproto)) ((xcb xml)) ((xcb #= )) ((=E2=80=A6)) #)) =C2=A0=C2=A0 2803:6=C2=A0 1 (resolve-interface _ #:select _ #:hide _ #:pr= efix _ # _ =E2=80=A6) In unknown file: =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 (scm-error= misc-error #f "~A ~S" ("no code for modu=E2=80=A6" =E2=80=A6) =E2=80=A6)= ERROR: In procedure scm-error: no code for module (xcb xml xproto) Some deprecated features have been used.=C2=A0 Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information.=C2=A0 Set it to "no" to suppress this message. ~~~~~ =46rom 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|." If there are no objections to taking this action as suggested by the manual, here is a patch: ~~~~~ =46rom 7bd5859eaef1b823ade87faa790092a553b40a91 Mon Sep 17 00:00:00 2001 From: jesse Date: Tue, 19 Mar 2019 16:19:38 -0600 Subject: [PATCH] Fix guile-wm to have guile-xcb as a propagated-input. --- =C2=A0gnu/packages/guile-wm.scm | 4 ++-- =C2=A01 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/guile-wm.scm b/gnu/packages/guile-wm.scm index 7b1731171..40b56d64e 100644 --- a/gnu/packages/guile-wm.scm +++ b/gnu/packages/guile-wm.scm @@ -139,8 +139,8 @@ dependencies.") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 #t))))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (native-inputs `(("pkg-config" ,pkg-= config) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("texinfo= " ,texinfo))) -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inputs `(("guile" ,guile-2.2) -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ("guile-xcb" ,guile-xcb))) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (inputs `(("guile" ,guile-2.2))) +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (propagated-inputs `(("guile-xcb" ,guile-= xcb))) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-page "https://github.com/mwitm= er/guile-wm/releases") =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (description =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 "Guile-WM is a simple window m= anager that's completely customizable=E2=80=94you --=20 2.20.1 ~~~~~ I could not test this fix because even in a guix environment and pre-inst-env with the patch, guix does not recognize the file I edited as the file that defines the guile-wm package. (I think that's a problem with my OS.) However, when I included a similarly revised definition of guile-wm in an OS definition, guile did not try to re-build guile-wm, so I think this is progress on the guile-wm crash bug. It does not allow me to run guile-wm as my window manager, but it does fix one part of the problem. -Jesse --------------C6A114E0ED589009EC21B40D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit I am trying to use guile-wm, but it fails when I launch it.
I define an operating system that includes guile-wm as a package and use it to build a virtual machine image. Here is the operating system definition:
~~~~~

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs gnome guile-wm)

(operating-system
 (host-name "piranhaplant")
 (timezone "America/Boise")
 (locale "en_US.utf8")

 (bootloader (bootloader-configuration
              (bootloader grub-bootloader)
              (target "/dev/sda")))

 (file-systems (cons (file-system
                      (device (file-system-label "mini8"))
                      (mount-point "/")
                      (type "ext4"))
                     %base-file-systems))

 (users
  %base-user-accounts)

 (packages (cons* nss-certs
                  gvfs
          guile-wm
                  %base-packages))

 (services (cons* (gnome-desktop-service)
                  %desktop-services))

 (name-service-switch %mdns-host-lookup-nss))


~~~~~

When I try to log in, it flashes an error so fast I cannot record it, then returns to the login screen. When I launch it from a console, it sends the following to stderr:

~~~~~

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/bin/.guile-wm-real
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/shared.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/connection.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/struct.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/type.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/enum.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/records.scm
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/records.scm.go
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/enum.scm.go
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/type.scm.go
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/union.scm
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/union.scm.go
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/struct.scm.go
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/connection.scm.go
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/doc.scm
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/doc.scm.go
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/auth.scm
;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/auth.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml.scm failed:
;;; no code for module (xcb xml xproto)
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/core.scm
;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/xml/core.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/shared.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/bin/.guile-wm-real failed:
;;; no code for module (xcb xml xproto)
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/user.scm
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/command.scm
;;; compiling /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/event-loop.scm
;;; WARNING: compilation of /gnu/store/gv2n0k75d5svzcgwqna33nvhvczrj3z2-guile-xcb-1.3-1.db7d5a3/share/guile/site/2.2/xcb/event-loop.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/command.scm failed:
;;; no code for module (xcb xml xproto)
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/log.scm
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/log.scm.go
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/keymap.scm
;;; compiled /root/.cache/guile/ccache/2.2-LE-8-3.A/gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/keymap.scm.go
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/text.scm
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/draw.scm
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/draw.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/text.scm failed:
;;; no code for module (xcb xml xproto)
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/color.scm
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/color.scm failed:
;;; no code for module (xcb xml xproto)
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/user.scm failed:
;;; no code for module (xcb xml xproto)
;;; compiling /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/redirect.scm
;;; WARNING: compilation of /gnu/store/q549b5c0fwds1l8bycvabva3jwr86p63-guile-wm-1.0-1.f3c7b3b/share/guile/site/2.2/guile-wm/redirect.scm failed:
;;; no code for module (xcb xml xproto)
Backtrace:
In ice-9/boot-9.scm:
   222:29 19 (map1 (((guile-wm keymap)) ((guile-wm redirect)) ((…)) …))
   222:17 18 (map1 (((guile-wm redirect)) ((xcb event-loop)) ((…)) …))
  2800:17 17 (resolve-interface (guile-wm redirect) #:select _ #:hide …)
In ice-9/threads.scm:
    390:8 16 (_ _)
In ice-9/boot-9.scm:
  2726:13 15 (_)
In ice-9/threads.scm:
    390:8 14 (_ _)
In ice-9/boot-9.scm:
  2994:20 13 (_)
   2312:4 12 (save-module-excursion #<procedure 1942ab0 at ice-9/boo…>)
  3014:26 11 (_)
In unknown file:
          10 (primitive-load-path "guile-wm/redirect" #<procedure 11…>)
In ice-9/eval.scm:
   721:20  9 (primitive-eval (define-module (guile-wm redirect) # # …))
In ice-9/psyntax.scm:
  1235:36  8 (expand-top-sequence ((define-module (guile-wm #) # …)) …)
  1182:24  7 (parse _ (("placeholder" placeholder)) ((top) #(# # …)) …)
   285:10  6 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) …)
In ice-9/eval.scm:
   293:34  5 (_ #<module (#{ g23682}#) bf1aa0>)
In ice-9/boot-9.scm:
   2874:4  4 (define-module* _ #:filename _ #:pure _ #:version _ # _ …)
  2887:24  3 (_)
   222:17  2 (map1 (((xcb xml xproto)) ((xcb xml)) ((xcb #)) ((…)) #))
   2803:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ …)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu…" …) …)

ERROR: In procedure scm-error:
no code for module (xcb xml xproto)

Some deprecated features have been used.  Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information.  Set it to "no" to suppress
this message.

~~~~~
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."

If there are no objections to taking this action as suggested by the manual, here is a patch:
~~~~~

From 7bd5859eaef1b823ade87faa790092a553b40a91 Mon Sep 17 00:00:00 2001
From: jesse <jgibbons2357@gmail.com>
Date: Tue, 19 Mar 2019 16:19:38 -0600
Subject: [PATCH] Fix guile-wm to have guile-xcb as a propagated-input.

---
 gnu/packages/guile-wm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/guile-wm.scm b/gnu/packages/guile-wm.scm
index 7b1731171..40b56d64e 100644
--- a/gnu/packages/guile-wm.scm
+++ b/gnu/packages/guile-wm.scm
@@ -139,8 +139,8 @@ dependencies.")
                #t)))))
       (native-inputs `(("pkg-config" ,pkg-config)
                        ("texinfo" ,texinfo)))
-      (inputs `(("guile" ,guile-2.2)
-                ("guile-xcb" ,guile-xcb)))
+      (inputs `(("guile" ,guile-2.2)))
+      (propagated-inputs `(("guile-xcb" ,guile-xcb)))
       (home-page "https://github.com/mwitmer/guile-wm/releases")
       (description
        "Guile-WM is a simple window manager that's completely customizable—you
--
2.20.1


~~~~~

I could not test this fix because even in a guix environment and pre-inst-env with the patch, guix does not recognize the file I edited as the file that defines the guile-wm package. (I think that's a problem with my OS.) However, when I included a similarly revised definition of guile-wm in an OS definition, guile did not try to re-build guile-wm, so I think this is progress on the guile-wm crash bug. It does not allow me to run guile-wm as my window manager, but it does fix one part of the problem.

-Jesse
--------------C6A114E0ED589009EC21B40D--