cl-spec
cl-spec copied to clipboard
Does not compile with SBCL 1.1.14.debian
I am running Ubuntu 14.04. I have done this:
sudo apt-get install sbcl cl-asdf
mkdir -p ~/.local/share/common-lisp/source/
cd ~/.local/share/common-lisp/source/
git clone [email protected]:osteele/cl-spec.git
After launching an sbcl session, I tried to use asdf to compile your code. Here is what happened:
This is SBCL 1.1.14.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (require 'asdf)
("ASDF")
* (asdf:operate 'asdf:load-op 'cl-spec)
; compiling file "/home/kazark/.local/share/common-lisp/source/cl-spec/package.lisp" (written 06 SEP 2014 11:43:52 AM):
; compiling (IN-PACKAGE #:COMMON-LISP-USER)
; compiling (DEFPACKAGE #:CL-SPEC ...)
; /home/kazark/.cache/common-lisp/sbcl-1.1.14.debian-linux-x64/home/kazark/.local/share/common-lisp/source/cl-spec/package-ASDF-TMP.fasl written
; compilation finished in 0:00:00.007
; compiling file "/home/kazark/.local/share/common-lisp/source/cl-spec/utilities.lisp" (written 06 SEP 2014 11:43:52 AM):
; compiling (DEFTYPE LIST-TYPE ...)
; compiling (DEFMETHOD TRIM ...)
; compiling (DEFSETF RREF ...)
; compiling (DEFMETHOD OBJECT->DICTIONARY ...)
; compiling (DEFUN MAP-LINES ...)
; compiling (DEFMACRO WITH-ELAPSED-TIME ...)
; compiling (DEFMACRO DEFINE-ACCUMULATING-METHOD ...)
; /home/kazark/.cache/common-lisp/sbcl-1.1.14.debian-linux-x64/home/kazark/.local/share/common-lisp/source/cl-spec/utilities-ASDF-TMP.fasl written
; compilation finished in 0:00:00.123
STYLE-WARNING: Implicitly creating new generic function COMMON-LISP-USER::TRIM.
STYLE-WARNING:
Implicitly creating new generic function
COMMON-LISP-USER::OBJECT->DICTIONARY.
; compiling file "/home/kazark/.local/share/common-lisp/source/cl-spec/templates.lisp" (written 06 SEP 2014 11:43:52 AM):
; compiling (IN-PACKAGE #:CL-SPEC)
; compiling (DEFUN COPY-TEMPLATE ...)
; compiling (DEFMACRO WITH-NEXT-SUBSTRING ...);
; caught ERROR:
; READ error during COMPILE-FILE:
;
; Package { does not exist.
;
; Line: 90, Column: 31, File-Position: 4076
;
; Stream: #<SB-SYS:FD-STREAM
; for "file /home/kazark/.local/share/common-lisp/source/cl-spec/templates.lisp"
; {10069F3B73}>
; compilation aborted after 0:00:00.140
debugger invoked on a UIOP/LISP-BUILD:COMPILE-FILE-ERROR in thread
#<THREAD "main thread" RUNNING {1002A8AFD3}>:
COMPILE-FILE-ERROR while compiling #<CL-SOURCE-FILE "cl-spec" "templates">
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [RETRY ] Retry compiling #<CL-SOURCE-FILE "cl-spec" "templates">.
1: [ACCEPT] Continue, treating
compiling #<CL-SOURCE-FILE "cl-spec" "templates"> as having been
successful.
2: [ABORT ] Exit debugger, returning to top level.
(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-action/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<ASDF/LISP-ACTION:CL-SOURCE-FILE "cl-spec" "templates">)))
0] 2
;
; compilation unit aborted
; caught 3 fatal ERROR conditions
; caught 1 ERROR condition
* (exit)
I am very new to Lisp and I wanted to get your package set up to use so I could start to teach myself Lisp via TDD. So, if I am doing something idiotic here, please let me know. Also let me know whatever else you might need. My asdf version is as shown by apt-cache Is:
Package: cl-asdf
Priority: optional
Section: universe/devel
Installed-Size: 2116
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Debian Common Lisp Team <[email protected]>
Architecture: all
Version: 2:3.0.3-1
Replaces: sbcl-common (<= 1:0.9.13.0-2)
Recommends: common-lisp-controller, sbcl | lisp-compiler
Breaks: common-lisp-controller (<< 7.3), sbcl-common (<= 1:0.9.13.0-2)
Filename: pool/universe/c/cl-asdf/cl-asdf_3.0.3-1_all.deb
Size: 865042
MD5sum: bf0ac5dda849c9c81b0512223bc8ee28
SHA1: cf63705aebc22ee4c5b4ebcb333d52f9b87c327c
SHA256: 76e6c1984a0ac9e331e80b0795b41fc84a874c8ea020f8e96bf4f84b87daabd4
Description-en: Another System Definition Facility
asdf provides a "make" type functions for Common Lisp software.
It drives compilation and dynamic loading for complex Lisp systems
with multiple modules and files, and is the de facto standard used
by free software written in Common Lisp.
.
Most Common Lisp implementations already provide asdf via (require "asdf"),
but not all of them provide an up-to-date version.
Description-md5: b9d35b84dd887f1819267d3dffeed177
Homepage: http://common-lisp.net/project/asdf/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu