[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Next browser] Common Lisp: mgl-pax: Package SWANK-BACKEND does not
From: |
Andy Patterson |
Subject: |
Re: [Next browser] Common Lisp: mgl-pax: Package SWANK-BACKEND does not exist. |
Date: |
Wed, 29 Aug 2018 02:18:50 -0400 |
Hey Pierre,
On Tue, 28 Aug 2018 21:18:39 +0200
Pierre Neidhardt <address@hidden> wrote:
> Thanks for the details.
>
> Here is the full backtrace when I attempt to build sbcl-slime-swank
> with PR #433 (https://github.com/slime/slime/pull/433):
>
[...]
> ;
> /gnu/store/223af099vkzml89z1y8m654clsja8xph-sbcl-slime-swank-2.22/lib/sbcl/contrib/swank-mrepl-tmp10401X32.fasl
> written ; compilation finished in 0:00:00.039
> ; compiling file
> "/gnu/store/223af099vkzml89z1y8m654clsja8xph-sbcl-slime-swank-2.22/share/common-lisp/sbcl-source/swank/contrib/swank-listener-hooks.lisp"
> (written
> 28 AUG 2018 07:14:51 PM): ; compiling (IN-PACKAGE :SWANK) ; compiling
> (SWANK-REQUIRE :SWANK-REPL) ;
> file:
> /gnu/store/223af099vkzml89z1y8m654clsja8xph-sbcl-slime-swank-2.22/share/common-lisp/sbcl-source/swank/contrib/swank-listener-hooks.lisp
> ;
> in: EVAL-WHEN (:COMPILE-TOPLEVEL :LOAD-TOPLEVEL :EXECUTE) ;
> (SWANK:SWANK-REQUIRE :SWANK-REPL) ;
> ; caught WARNING:
> ; SWANK-REPL also exports the following symbols:
> ; (SWANK-REPL:LISTENER-SAVE-VALUE SWANK-REPL:REDIRECT-TRACE-OUTPUT
> ; SWANK-REPL:CLEAR-REPL-VARIABLES SWANK-REPL:CREATE-REPL
> ; SWANK-REPL:LISTENER-GET-VALUE SWANK-REPL:LISTENER-EVAL)
> ; See also:
> ; The ANSI Standard, Macro DEFPACKAGE
> ; The SBCL Manual, Variable SB-EXT:*ON-PACKAGE-VARIANCE*
This is definitely the most suspicious block for me; it looks just like
the problem that's causing our slynk package to fail building. I don't
know much about the various eval-when options, but
removing :compile-toplevel and :load-toplevel in a snippet fixes the
problem in slynk - and the require wasn't needed because asdf already
sets up that kind of dependency loading. I'm not sure if that'll also
be the case here but it's probably worth giving a try.
Hoping that helps,
--
Andy