Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153597 - Custom Gentoo swank.asd brokes current slime-cvs
Summary: Custom Gentoo swank.asd brokes current slime-cvs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 13:14 UTC by Anton Kazennikov
Modified: 2006-11-18 03:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Working swank.asd (swank.asd,2.21 KB, text/plain)
2006-10-31 13:16 UTC, Anton Kazennikov
Details
Working slime-cvs ebuild (slime-cvs-0-r5.ebuild,1.88 KB, text/plain)
2006-10-31 13:18 UTC, Anton Kazennikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kazennikov 2006-10-31 13:14:04 UTC
Swank loading stops at

The variable SWANK-LOADER::*SOURCE-DIRECTORY* is unbound.
   [Condition of type UNBOUND-VARIABLE]

Restarts:
  0: [ABORT-REQUEST] Abort handling SLIME request.
  1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "worker" {C1F8FD9}>)

the relevant warnings are:
  The ANSI Standard, Macro DEFPACKAGE

; file: /usr/share/common-lisp/source/swank/swank.lisp
; in: DEFUN SWANK::WIRE-PROTOCOL-VERSION
;     (MERGE-PATHNAMES "swank-version.el" SWANK-LOADER::*SOURCE-DIRECTORY*)
; 
; caught WARNING:
;   undefined variable: *SOURCE-DIRECTORY*

; 
; caught WARNING:
;   This variable is undefined:
;     *SOURCE-DIRECTORY*
; 
; compilation unit finished
;   caught 2 WARNING conditions
;; Swank started at port: 54846.
Comment 1 Anton Kazennikov 2006-10-31 13:16:02 UTC
Created attachment 100916 [details]
Working swank.asd

Adding two lines from swank.asd from slime cvs solves the bug
Comment 2 Anton Kazennikov 2006-10-31 13:18:24 UTC
Created attachment 100917 [details]
Working slime-cvs ebuild

Added duplicate install of swank-version.el to /usr/share/common-lisp/source/swank to load swank correctly.
Maybe there exist a better/cleaner way to do this, but it works.
Comment 3 Anton Kazennikov 2006-10-31 13:20:09 UTC
After those patches, slime loads and works, the warnings are harmless as stated in http://article.gmane.org/gmane.lisp.slime.devel/5435
Comment 4 Hans Halvorson 2006-11-16 14:21:15 UTC
This problem still exists.  Shouldn't the new ebuild have made its way into portage by now?  What is going on?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-17 02:45:54 UTC
(In reply to comment #4)
> This problem still exists.  Shouldn't the new ebuild have made its way into
> portage by now?  What is going on?

 Apart from Gentoo some people have a life.  And if I don't know the software I just can't fix it quickly. Testing is needed which takes some time, and this is not the only bug I like to spread love over.  Fixed now in CVS.
Comment 6 Hans Halvorson 2006-11-18 03:35:38 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > This problem still exists.  Shouldn't the new ebuild have made its way into
> > portage by now?  What is going on?
> 
>  Apart from Gentoo some people have a life.  And if I don't know the software I
> just can't fix it quickly. Testing is needed which takes some time, and this is
> not the only bug I like to spread love over.  Fixed now in CVS.
> 

Thanks for the love =)