[Gbbopen-list] Is SBCL port currently working?
bill hunter
wkhunter at gmail.com
Thu May 22 13:47:32 EDT 2008
Using the latest SBCL on 64-bit Ubuntu Hardy Heron, I'm not able to
load GBBOpen using startup.lisp.
SBCL and SLIME below were built using clbuild (
http://common-lisp.net/project/clbuild/ ), which is a
nice way to grab a free Common Lisp environment.
I used clbuild to download and build sbcl-1.0.16.28.
Running SBCL from a command prompt (which is done, using clbuild, by
"./clbuild lisp"), I get Exhibit A below.
The equivalent SLIME REPL and debugger output for running startup.lisp
are shown as EXHIBIT B and C.
On the other hand, (load "MYPATH/initiate.lisp" followed by
(compile-gbbopen) shown in EXHIBIT C
successfully creates a bunch of fasl's in directory linux86-64-sbcl-1.0.16.28
I'm assuming this is probably something about my setup. Any ideas or
ways that I can help troubleshoot it?
William
===============================================
EXHIBIT A - from the SBCL REPL after running SBCL from the command prompt
(load "/home/wkhunter/lisp/gbbopen/startup.lisp")
;;; ------------------------------------------------------------------------
;;; Mini-Module System 1.3
;;;
;;; Developed and supported by the GBBopen Project (http:/GBBopen.org/)
;;; (See http://GBBopen.org/downloads/LICENSE for license details.)
;;; ------------------------------------------------------------------------
STYLE-WARNING: redefining SB-IMPL::UNPARSE-UNIX-PIECE in DEFUN
debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD "initial
thread" {1002424601}>:
The function :GBBOPEN is undefined.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
("bogus stack frame")
0]
===============================================
EXHIBIT B - from the SLIME SBCL REPL
CL-USER> (load "/home/wkhunter/lisp/gbbopen/startup.lisp")
;;; ------------------------------------------------------------------------
;;; Mini-Module System 1.3
;;;
;;; Developed and supported by the GBBopen Project (http:/GBBopen.org/)
;;; (See http://GBBopen.org/downloads/LICENSE for license details.)
;;; ------------------------------------------------------------------------
STYLE-WARNING: redefining SB-IMPL::UNPARSE-UNIX-PIECE in DEFUN
===============================================
EXHIBIT C - from the SLIME sldb debugger (the other window for EXHIBIT B)
The function :GBBOPEN is undefined.
[Condition of type UNDEFINED-FUNCTION]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread"
{10035C1101}>)
Backtrace:
0: ("bogus stack frame")
1: ("foreign function: #x10000AD48F")
2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (WITH-SYSTEM-NAME (:GBBOPEN) (LET
(#) (MINI-MODULE:DEFINE-ROOT-DIRECTORY :GBBOPEN-ROOT
MINI-MODULE-USER::THIS-FILE-TRUENAME))
(MINI-MODULE:DEFINE-RELATIVE-DIRECTORY :GBBOPEN-TOOLS :GBBOPEN-ROOT
"tools") (MINI-MODULE:DEFINE-MODULE :GBBOPEN-TOOLS (:REQUIRES
:MINI-MODULE-USER) (:DIRECTORY :GBBOPEN-TOOLS) (:FILES "preamble" # #
# "clos-interface" ...)) (MINI-MODULE:DEFINE-MODULE :PORTABLE-THREADS
(:REQUIRES :MINI-MODULE-USER) (:DIRECTORY :GBBOPEN-TOOLS) (:FILES #))
...) #<NULL-LEXENV>)
3: (SB-FASL::LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file
/home/wkhunter/lisp/gbbopen/modules.lisp" {1003277041}> NIL NIL)
4: (SB-FASL::%LOAD #<SB-SYS:FD-STREAM for "file
/home/wkhunter/lisp/gbbopen/modules.lisp" {1003277041}>)[:EXTERNAL]
5: (SB-FASL::%LOAD #P"/home/wkhunter/lisp/gbbopen/modules.lisp")[:EXTERNAL]
6: (LOAD #P"/home/wkhunter/lisp/gbbopen/modules.lisp")[:EXTERNAL]
7: ((FLET MINI-MODULE::LOAD-IT)
#P"/home/wkhunter/lisp/gbbopen/modules.lisp" 3420394584)
8: ((LAMBDA NIL))
9: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
10: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-RECURSIVE-LOCK]520))
11: (SB-THREAD::CALL-WITH-RECURSIVE-LOCK #<CLOSURE (FLET
SB-THREAD::WITH-RECURSIVE-LOCK-THUNK) {7FDCE228D9F9}>
#S(SB-THREAD:MUTEX :NAME "big compiler lock" :%OWNER
#<SB-THREAD:THREAD "repl-thread" {10035C1101}> :STATE 1))
12: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL)
{100326E009}>)[:EXTERNAL]
13: (MINI-MODULE::COMPILE/LOAD-MODULE-FILES-HELPER
#S(MINI-MODULE::MM-MODULE :NAME :GBBOPEN-MODULES :DIRECTORY
#P"/home/wkhunter/lisp/gbbopen/" :SUBDIRECTORIES (:UP) :REQUIRES
(:MINI-MODULE) :FILES (("modules" :SOURCE)) :FILES-LOADED NIL ...)
#P"/home/wkhunter/lisp/gbbopen/" #P"/home/wkhunter/lisp/gbbopen/" NIL
#<unavailable argument> NIL NIL NIL #<unavailable argument>)
14: (MINI-MODULE:LOAD-MODULE :GBBOPEN-MODULES)[:EXTERNAL]
15: (SB-INT:SIMPLE-EVAL-IN-LEXENV (MINI-MODULE:LOAD-MODULE
:GBBOPEN-MODULES) #<NULL-LEXENV>)
16: (SB-FASL::LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file
/home/wkhunter/lisp/gbbopen/startup.lisp" {1002FF8B21}> NIL NIL)
17: (SB-FASL::%LOAD #<SB-SYS:FD-STREAM for "file
/home/wkhunter/lisp/gbbopen/startup.lisp" {1002FF8B21}>)[:EXTERNAL]
18: (SB-FASL::%LOAD "/home/wkhunter/lisp/gbbopen/startup.lisp")[:EXTERNAL]
19: (LOAD "/home/wkhunter/lisp/gbbopen/startup.lisp")[:EXTERNAL]The
function :GBBOPEN is undefined.
[Condition of type UNDEFINED-FUNCTION]
===============================================
EXHIBIT C - compiling the distribution successfully from SBCL REPL
* (load "/home/wkhunter/lisp/gbbopen/initiate.lisp")
;; Predefining :SWANK-BACKEND package for SLIME...
;; Loading module command definitions from
/home/wkhunter/lisp/gbbopen/shared-gbbopen-modules/...
T
* (compile-gbbopen)
;;; ------------------------------------------------------------------------
;;; Mini-Module System 1.3
;;;
;;; Developed and supported by the GBBopen Project (http:/GBBopen.org/)
;;; (See http://GBBopen.org/downloads/LICENSE for license details.)
;;; ------------------------------------------------------------------------
STYLE-WARNING: redefining SB-IMPL::UNPARSE-UNIX-PIECE in DEFUN
;; Loading module definitions from
/home/wkhunter/lisp/gbbopen/shared-gbbopen-modules/...
;;; ------------------------------------------------------------------------
;;; Compiling :AGENDA-SHELL-TEST...
;;; ------------------------------------------------------------------------
;;; Portable Threads Interface 2.3
;;;
;;; Developed and supported by the GBBopen Project (http:/GBBopen.org/)
;;; (See http://GBBopen.org/downloads/LICENSE for license details.)
;;; ------------------------------------------------------------------------
WARNING: SHORT-FLOAT is equivalent to SINGLE-FLOAT on SBCL running on X86-64.
WARNING: LONG-FLOAT is equivalent to DOUBLE-FLOAT on SBCL running on X86-64.
STYLE-WARNING: redefining SB-IMPL::OUTPUT-FLOAT-INFINITY in DEFUN
;;; ------------------------------------------------------------------------
;;; GBBopen 1.0
;;;
;;; GBBopen is open-source software
;;; (see /home/wkhunter/lisp/gbbopen/LICENSE)
;;; ------------------------------------------------------------------------
;;; ------------------------------------------------------------------------
;;; Compiling :GBBOPEN-TEST...
;;; ------------------------------------------------------------------------
;;; Compiling :TUTORIAL-EXAMPLE...
;;; ------------------------------------------------------------------------
;;; Compiling :HTTP-TEST...
;;; ------------------------------------------------------------------------
;;; Portable Sockets Interface 1.0
;;;
;;; Developed and supported by the GBBopen Project (http:/GBBopen.org/)
;;; (See http://GBBopen.org/downloads/LICENSE for license details.)
;;; ------------------------------------------------------------------------
;;; ------------------------------------------------------------------------
;;; Compiling :MULTINODE...
;;; ------------------------------------------------------------------------
;;; Compiling :PORTABLE-THREADS-TEST...
;;; ------------------------------------------------------------------------
;;; Compiling :ABORT-KS-EXECUTION-EXAMPLE...
STYLE-WARNING: redefining INITIALIZATIONS in DEFUN
;;; ------------------------------------------------------------------------
;;; GBBopen modules compilation completed.
;;; Exiting Common Lisp...
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Gbbopen-list
mailing list