From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EC3yFqXfNGCiaQAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 10:57:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gHZbEqXfNGC+PAAA1q6Kng (envelope-from ) for ; Tue, 23 Feb 2021 10:57:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1BA46E304 for ; Tue, 23 Feb 2021 11:57:40 +0100 (CET) Received: from localhost ([::1]:52562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEVNq-0008WE-Lw for larch@yhetil.org; Tue, 23 Feb 2021 05:57:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEVNY-0008Ud-G9 for help-guix@gnu.org; Tue, 23 Feb 2021 05:57:20 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56420) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEVNV-000844-KR for help-guix@gnu.org; Tue, 23 Feb 2021 05:57:20 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1260816005C for ; Tue, 23 Feb 2021 11:57:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1614077834; bh=8CjOMUmU31Tu2dsny46RPRKhsB1q3mmDWB4ToLnixOc=; h=From:To:Cc:Subject:Date:From; b=J5F2WpG1vFEEv80kG5Pg2QsUg8qCG0+GPtmxT2nPQzfmTd6r3WzvpnjyeAjIcfGUz weVkkTcw3urltBIQAc2wyvqUhciY0j9qXgDv9chNAnNTyzI0jDwZ3u2RgIcgpnrdaB 2mXTSW2DzhsalvtcMkg2NTq2cgnqPa+7a6HmIRcuosIkOFOlO+8mB3xumEoqDFQKfw 8SpXFusWSqElcbOMFLj6Cougi4Fsu3GxTxiRaLhGVVg2ksURZUfhy7goMoaClzfF/A pBnRcpGlPeH7pWPNwxB6Vn9aLtUPTCdJ6DO3JAcbS9BxNLJWlQEztyCkfvdWTOKp/L Q4cn6XqY5nVCw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DlGBg3QxBz9rxh; Tue, 23 Feb 2021 11:54:02 +0100 (CET) References: <871rd8cudo.fsf@yamatai> User-agent: mu4e 1.4.15; emacs 27.1 From: Guillaume Le Vaillant To: Roland Everaert Subject: Re: Foreign distribution: errors when loading contrib modules of stumpwm In-reply-to: Date: Tue, 23 Feb 2021 11:53:49 +0100 Message-ID: <87eeh7ys02.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.67 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=J5F2WpG1; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 1BA46E304 X-Spam-Score: -4.67 X-Migadu-Scanner: scn1.migadu.com X-TUID: J3IFnUESRHmJ --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Roland Everaert skribis: > Le lundi 22 f=C3=A9vrier 2021 =C3=A0 10:41, Guillaume Le Vaillant a =C3=A9crit : > >> Roland Everaert via help-guix@gnu.org skribis: >> >> > I have installed StumpWM and some contrib modules, on a Fedora 33 dist= ribution using the guix PM, for many month, without much problem. Since the= begining of the week (last guix update), whenever I load a contrib module,= StumpWM complains about a FASL file being read-only somewhere in /gnu/stor= e/-stumpwm-lib. >> > >> > Any idea what has changed in stumpwm and its contrib modules? >> > >> > Below is my StumpWM configuration: >> > >> > ------------ Start of sources ----------------- >> > >> > ;; --lisp-- >> > >> > ;; >> > >> > (in-package :stumpwm) >> > >> > ;; * Adding modules >> > >> > (add-to-load-path "~/.guix-profile/share/common-lisp/sbcl/clx-xembed") >> > >> > (add-to-load-path "~/.guix-profile/share/common-lisp/sbcl/stumpwm-stum= ptray") >> > >> > (load-module "stumptray") >> > >> > ------------ End of sources ----------------- >> >> This is strange, as the last change directly related to StumpWM was >> >> made several months ago (around 2020-12-10). >> >> How do you start StumpWM? Do you use a '.xsession' file? >> >> What are your XDG_CONFIG_DIRS and XDG_DATA_DIRS environment variables >> >> set to? > > I start Stumpwm from gdm, and I don't use an .xsession file. > > I manage to configure emacs and StumpWM correctly, to be able to interact= with StumpWM using SLY. You will find below the code I have executed in th= e REPL and the exception generated by the last instruction. > > The value of the Environment variable: > STUMPWM> (asdf:load-system :uiop) > T > STUMPWM> (uiop:getenv "XDG_CONFIG_DIRS") > "/home/roland/.guix-profile/etc" > STUMPWM> (uiop:getenv "XDG_DATA_DIRS") > "/home/roland/.guix-profile/share:/home/roland/.guix-profile/share:/home/= roland/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/u= sr/local/share/:/usr/share/" > > > The code: > > CL-USER> (in-package stumpwm) > # > STUMPWM> (set-module-dir "~/.guix-profile/share/common-lisp/sbcl") > (#P"/gnu/store/yi6dypcphhjbz9gp0l8z8r3pwjr71q6v-sbcl-clx-0.7.5/share/comm= on-lisp/sbcl/clx/" > #P"/gnu/store/lskhxlvddjjkg3c4v49ppm9y022ajzi6-sbcl-stumpwm-pass-0.0.1-2= .920f8fc/share/common-lisp/sbcl/stumpwm-pass/" > #P"/gnu/store/ia41a2gd9klix8xdmhgsr16j998q7xfx-sbcl-stumpwm-ttf-fonts-0.= 0.1-2.920f8fc/share/common-lisp/sbcl/stumpwm-ttf-fonts/" > #P"/gnu/store/dvs3f9jrw4g3p3g17v34a71l3ccjas8b-sbcl-stumpwm-net-0.0.1-2.= 920f8fc/share/common-lisp/sbcl/stumpwm-net/" > #P"/gnu/store/4fjpm820912fy2rmybydncg06xb3svjx-sbcl-stumpwm-swm-gaps-0.0= .1-2.920f8fc/share/common-lisp/sbcl/stumpwm-swm-gaps/" > #P"/gnu/store/y3602x94y7myl25srcghgh1fw5ldaxfj-sbcl-stumpwm-stumptray-0.= 0.1-2.920f8fc/share/common-lisp/sbcl/stumpwm-stumptray/" > #P"/gnu/store/7mm2idvr4jrbwidp79phkg6nm9wx5ly4-sbcl-clx-xembed-0.1-1.a5c= 4b84/share/common-lisp/sbcl/clx-xembed/") > STUMPWM> (add-to-load-path "~/.guix-profile/share/common-lisp/sbcl/clx-xe= mbed") > (add-to-load-path "~/.guix-profile/share/common-lisp/sbcl/stumpwm-stumptr= ay") > (#P"/gnu/store/yi6dypcphhjbz9gp0l8z8r3pwjr71q6v-sbcl-clx-0.7.5/share/comm= on-lisp/sbcl/clx/" > #P"/gnu/store/lskhxlvddjjkg3c4v49ppm9y022ajzi6-sbcl-stumpwm-pass-0.0.1-2= .920f8fc/share/common-lisp/sbcl/stumpwm-pass/" > #P"/gnu/store/ia41a2gd9klix8xdmhgsr16j998q7xfx-sbcl-stumpwm-ttf-fonts-0.= 0.1-2.920f8fc/share/common-lisp/sbcl/stumpwm-ttf-fonts/" > #P"/gnu/store/dvs3f9jrw4g3p3g17v34a71l3ccjas8b-sbcl-stumpwm-net-0.0.1-2.= 920f8fc/share/common-lisp/sbcl/stumpwm-net/" > #P"/gnu/store/4fjpm820912fy2rmybydncg06xb3svjx-sbcl-stumpwm-swm-gaps-0.0= .1-2.920f8fc/share/common-lisp/sbcl/stumpwm-swm-gaps/" > #P"/gnu/store/y3602x94y7myl25srcghgh1fw5ldaxfj-sbcl-stumpwm-stumptray-0.= 0.1-2.920f8fc/share/common-lisp/sbcl/stumpwm-stumptray/" > #P"/gnu/store/7mm2idvr4jrbwidp79phkg6nm9wx5ly4-sbcl-clx-xembed-0.1-1.a5c= 4b84/share/common-lisp/sbcl/clx-xembed/") > STUMPWM> (load-module "stumptray") > > > The Backtrace: > > Error opening #P"/gnu/store/9f98ids4s8hg306chy36d3bhk7zmyg9a-stumpwm-20.1= 1-lib/lib/common-lisp/sbcl/stumpwm/package-tmp5GEXGEG5.fasl": > > Read-only file system > [Condition of type SB-INT:SIMPLE-FILE-ERROR] > > Restarts: > 0: [CONTINUE] Retry opening. > 1: [USE-VALUE] Try opening a different file. > 2: [RETRY] Retry compiling #. > 3: [ACCEPT] Continue, treating compiling # as having been successful. > 4: [RETRY] Retry ASDF operation. > 5: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting = the configuration. > 6: [RETRY] Retry ASDF operation. > 7: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting = the configuration. > 8: [RETRY] Retry SLY mREPL evaluation request. > 9: [*ABORT] Return to SLY's top level. > 10: [ABORT] abort thread (#) > > Backtrace: > 0: (SB-IMPL::FILE-PERROR #P"/gnu/store/9f98ids4s8hg306chy36d3bhk7zmyg9a-= stumpwm-20.11-lib/lib/common-lisp/sbcl/stumpwm/package-tmp5GEXGEG5.fasl" 30= "Error opening ~S" #P"/gnu/store/9f98ids4s8hg306chy36d3.. > 1: (SB-IMPL::%OPEN-ERROR #P"/gnu/store/9f98ids4s8hg306chy36d3bhk7zmyg9a-= stumpwm-20.11-lib/lib/common-lisp/sbcl/stumpwm/package-tmp5GEXGEG5.fasl" 30= NIL :CREATE) > 2: (OPEN #P"/gnu/store/9f98ids4s8hg306chy36d3bhk7zmyg9a-stumpwm-20.11-li= b/lib/common-lisp/sbcl/stumpwm/package-tmp5GEXGEG5.fasl" :DIRECTION :IO :EL= EMENT-TYPE :DEFAULT :IF-EXISTS NIL :IF-DOES-NOT-EXIST :C.. > 3: (UIOP/STREAM:CALL-WITH-TEMPORARY-FILE # :WANT-STREAM-P NIL :WANT-PAT= HNAME-P T :DIRECTION :IO :KEEP T :AFTER NIL :DIRECTORY #.. > 4: (UIOP/LISP-BUILD:COMPILE-FILE* #P"/gnu/store/9f98ids4s8hg306chy36d3bh= k7zmyg9a-stumpwm-20.11-lib/share/common-lisp/sbcl/stumpwm/package.lisp" :OU= TPUT-FILE #P"/gnu/store/9f98ids4s8hg306chy36d3bhk7zmyg9a.. > 5: (ASDF/LISP-ACTION:PERFORM-LISP-COMPILATION # #) > 6: ((SB-PCL::EMF ASDF/ACTION:PERFORM) # # # #) > 7: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION)) > 8: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) # #) [fast-method] > 9: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #) [fast-method] > 10: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT)) > 11: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #) [fast-method] > 12: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONE= NT:COMPONENT)) # #) > 14: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) > 15: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) # #) [fast-method] > 16: ((SB-PCL::EMF ASDF/OPERATE:OPERATE) # # ASDF/LISP-ACTION:LOAD-OP "stumptray") > 17: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) > 18: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-O= P "stumptray") [fast-method] > 19: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE T :KEY NIL :OVERRIDE-CACHE T :OVER= RIDE-FORCING NIL) > 20: ((LAMBDA NIL :IN ASDF/OPERATE:OPERATE)) > 21: (ASDF/SESSION:CALL-WITH-ASDF-SESSION # :OVERRIDE NIL :KEY NIL :OVERRIDE-CACHE NIL := OVERRIDE-FORCING NIL) > 22: ((:METHOD ASDF/OPERATE:OPERATE :AROUND (T T)) ASDF/LISP-ACTION:LOAD-O= P "stumptray") [fast-method] > 23: (LOAD-MODULE "stumptray") It looks like StumpWM is trying to recompile the module (and put it in a read-only directory) instead of using the already compiled files. Are you using the stumpwm-with-slynk package, or the regular stumpwm one? What are the results of the commands 'which stumpwm' and 'pgrep -af stumpwm'? Could you try loading stumptray without using any 'add-to-load-path' calls? In my config I only have '(set-module-dir ...)' and '(load-module "stumptray")' and it works. It shouldn't make a difference, but just in case... --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYDTevQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8DJQD/ZtfrOSKxMgRt7CybVI/XBmbGgGFsc31DtnoT c5RqTmABAKMbk1XKX1QCyvso9aS7RWtyC2+7XrZS4p26lof/SjC7 =nDw8 -----END PGP SIGNATURE----- --=-=-=--