Liam Healy | 22 Mar 18:18 2012
Picon

Re: [Antik-devel] error loading gsll with quicklisp

On Thu, Mar 22, 2012 at 11:35 AM, <harven <at> free.fr> wrote:
Hi,

As far as I understand, gsll is being merged with antik, so I am posting here.

That is not correct, I'm not sure where you would get the idea.  GSLL uses parts of Antik (which were formerly part of GSLL), but that is the extent of the relationship, now or planned.  So your question is more appropriate for the GSLL-devel list, which I am copying on this reply.

 
I am trying to install gsll using quicklisp and I run into an error,
as reported in the attachment below. This seems to be related to cffi-grovel,
which is installed.

$ ls ~/.quicklisp/dists/quicklisp/software/cffi_0.10.6/grovel/asdf.lisp
 common.h  grovel.lisp  invoke.lisp  package.lisp

CL-USER> (find-package 'cffi-grovel)
#<PACKAGE "CFFI-GROVEL">

I am on debian squeeze, using sbcl from the repos. I have installed
the following packages related to gsl
libgsl0-dev, libgsl0ldbl, libffi-dev, gsl-doc-info, gsl-ref-html

I also tried to load gsll with asdf, but I run into the same error

CL-USER> (asdf:load-system "gsll")

Error while trying to load definition for system gsll from
pathname
/home/harven/.quicklisp/dists/quicklisp/software/gsll-20111105-git/gsll.asd:
The variable #:CFFI-GROVEL is unbound.
  [Condition of type ASDF:LOAD-SYSTEM-DEFINITION-ERROR]
 


Any suggestion ?

That is very odd.  I'm on the debian squeeze myself, and I've never seen that.   However, is there a reason you are using asdf:load-system instead of ql:quickload?  Try that and see what happens. 

Also, please join the appropriate mailing list(s) to post, otherwise, I must approve each time you send.  Thank you.

Liam
 

Regards,
--
Harven

_______________________________________________
Antik-devel mailing list
Antik-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/antik-devel


_______________________________________________
GSLL-devel mailing list
GSLL-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/gsll-devel
harven | 22 Mar 18:51 2012
Picon

error loading gsll with quicklisp


Hi,

First let me apologize for having posted the previous message 
to the antik mailing list instead of the gsll list. 

To sum up, I am trying to install gsll using quicklisp and I run into an error,
as reported below. This seems to be related to cffi-grovel,
yet I am sure it has been installed.

$ ls ~/.quicklisp/dists/quicklisp/software/cffi_0.10.6/grovel/asdf.lisp
  common.h  grovel.lisp  invoke.lisp  package.lisp

I am on debian squeeze, using sbcl from the repos. I have installed
the following packages related to gsl
libgsl0-dev, libgsl0ldbl, libffi-dev, gsl-doc-info, gsl-ref-html 

Thanks for your help, 

Harven

CL-USER> (ql:quickload "gsll")
To load "gsll":
  Load 3 ASDF systems:
    alexandria cl-ppcre split-sequence
  Install 20 Quicklisp releases:
    antik asdf-system-connections babel bordeaux-threads
    cffi chunga cl+ssl cl-base64 drakma flexi-streams fsbv
    gsll iterate osicat puri static-vectors
    trivial-features trivial-garbage trivial-gray-streams
    usocket
; Fetching #<URL "http://beta.quicklisp.org/archive/osicat/2011-06-19/osicat-20110619-git.tgz">
; 51.27KB
==================================================
52,505 bytes in 0.44 seconds (117.33KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/static-vectors/2012-01-07/static-vectors-20120107-git.tgz">
; 5.55KB
==================================================
5,684 bytes in 0.001 seconds (5550.78KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/iterate/2011-10-01/iterate-20111001-darcs.tgz">
; 327.63KB
==================================================
335,496 bytes in 0.27 seconds (1204.53KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/fsbv/2011-08-29/fsbv-20110829-git.tgz">
; 9.44KB
==================================================
9,663 bytes in 0.001 seconds (9436.52KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/usocket/2011-10-01/usocket-0.5.4.tgz">
; 64.10KB
==================================================
65,643 bytes in 0.05 seconds (1363.93KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/puri/2010-10-06/puri-20101006-git.tgz">
; 33.99KB
==================================================
34,803 bytes in 0.02 seconds (1788.81KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl-base64/2010-10-06/cl-base64-20101006-git.tgz">
; 8.21KB
==================================================
8,408 bytes in 0.002 seconds (4105.47KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-garbage/2012-01-07/trivial-garbage-20120107-git.tgz">
; 7.80KB
==================================================
7,987 bytes in 0.00 seconds (0.00KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/flexi-streams/2010-10-06/flexi-streams-1.0.7.tgz">
; 130.29KB
==================================================
133,413 bytes in 0.07 seconds (1974.03KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/bordeaux-threads/2011-08-29/bordeaux-threads-0.8.1.tgz">
; 17.67KB
==================================================
18,091 bytes in 0.002 seconds (8833.50KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cl+ssl/2011-11-05/cl+ssl-20111105-git.tgz">
; 24.84KB
==================================================
25,437 bytes in 0.15 seconds (166.72KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-gray-streams/2011-05-22/trivial-gray-streams-20110522-cvs.tgz">
; 3.42KB
==================================================
3,504 bytes in 0.001 seconds (3421.88KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/chunga/2010-10-06/chunga-1.1.1.tgz">
; 20.38KB
==================================================
20,871 bytes in 0.02 seconds (1132.32KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/drakma/2011-10-01/drakma-1.2.4.tgz">
; 48.04KB
==================================================
49,190 bytes in 0.04 seconds (1117.14KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/trivial-features/2012-01-07/trivial-features-20120107-git.tgz">
; 7.79KB
==================================================
7,972 bytes in 0.03 seconds (311.41KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/babel/2012-01-07/babel-20120107-git.tgz">
; 238.58KB
==================================================
244,310 bytes in 0.38 seconds (631.17KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/cffi/2010-11-07/cffi_0.10.6.tgz">
; 181.59KB
==================================================
185,952 bytes in 0.42 seconds (433.40KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/asdf-system-connections/2010-10-06/asdf-system-connections-20101006-darcs.tgz">
; 4.56KB
==================================================
4,670 bytes in 0.001 seconds (4560.55KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/antik/2011-11-05/antik-20111105-git.tgz">
; 1341.08KB
==================================================
1,373,263 bytes in 3.39 seconds (395.83KB/sec)
; Fetching #<URL "http://beta.quicklisp.org/archive/gsll/2011-11-05/gsll-20111105-git.tgz">
; 303.44KB
==================================================
310,725 bytes in 0.38 seconds (804.89KB/sec)
; Loading "gsll"
..................................................
[package alexandria.0.dev]........................
[package babel-encodings].........................
[package babel]...................................
..................................................
[package cffi-sys]................................
[package cffi]....................................
..................................................
[package cffi-features]...........................
[package cffi-grovel]........

Error while trying to load definition for system gsll from
pathname
/home/harven/.quicklisp/dists/quicklisp/software/gsll-20111105-git/gsll.asd:
The variable #:CFFI-GROVEL is unbound.
   [Condition of type ASDF:LOAD-SYSTEM-DEFINITION-ERROR]

Restarts:
 0: [ABORT] Give up on "gsll"
 1: [RETRY] Retry SLIME REPL evaluation request.
 2: [*ABORT] Return to SLIME's top level.
 3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "new-repl-thread" RUNNING {B329469}>)

Backtrace:
  0: ((FLET #:LAMBDA1702) #<UNBOUND-VARIABLE CFFI-GROVEL {B09A4E9}>)
  1: (SIGNAL #<UNBOUND-VARIABLE CFFI-GROVEL {B09A4E9}>)[:EXTERNAL]
  2: (ERROR UNBOUND-VARIABLE)[:EXTERNAL]
  3: (SB-KERNEL::UNBOUND-SYMBOL-ERROR-HANDLER #<unavailable argument> #.(SB-SYS:INT-SAP
#XB7508398) #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #XB7507FEC :TYPE (* (STRUCT
SB-VM::OS-CONTEXT-T-STRUCT))> (16))
  4: (SB-KERNEL:INTERNAL-ERROR #.(SB-SYS:INT-SAP #XB7507FEC) #<unavailable argument>)
  5: ("foreign function: #x806772B")
  6: ("foreign function: #x8052FA8")
  7: ("foreign function: #x805863E")
  8: ("foreign function: #x8059329")
  9: (SB-INT:SIMPLE-EVAL-IN-LEXENV #:CFFI-GROVEL #<NULL-LEXENV>)
 10: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF:LOAD-SYSTEM #:CFFI-GROVEL) #<NULL-LEXENV>)
 11: (SB-IMPL::SIMPLE-EVAL-PROGN-BODY ..)
 12: (SB-INT:SIMPLE-EVAL-IN-LEXENV ..)
 13: (SB-FASL::LOAD-AS-SOURCE #<SB-SYS:FD-STREAM for "file
/home/harven/.quicklisp/dists/quicklisp/software/gsll-20111105-git/gsll.asd" {ACE4C09}> NIL NIL)
 14: ((FLET SB-FASL::LOAD-STREAM) #<SB-SYS:FD-STREAM for "file
/home/harven/.quicklisp/dists/quicklisp/software/gsll-20111105-git/gsll.asd" {ACE4C09}> NIL)
 15: (LOAD #P"/home/harven/.quicklisp/dists/quicklisp/software/gsll-20111105-git/gsll.asd")[:EXTERNAL]
 16: ((SB-PCL::FAST-METHOD ASDF:FIND-SYSTEM (STRING)) #<unused argument> #<unused argument> "gsll" T)
 17: ((SB-PCL::FAST-METHOD ASDF:OPERATE (T T)) #<unavailable argument> #<unavailable argument>
ASDF:LOAD-OP "gsll")[:EXTERNAL]
 18: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1. SB-INT:&MORE
SB-PCL::.DFUN-MORE-CONTEXT. SB-PCL::.DFUN-MORE-COUNT.)) ..)
 19: (QUICKLISP-CLIENT::CALL-WITH-MACROEXPAND-PROGRESS #<CLOSURE (LAMBDA #) {ACC7E0D}>)
 20: (QUICKLISP-CLIENT::AUTOLOAD-SYSTEM-AND-DEPENDENCIES "gsll")[:EXTERNAL]
 21: ((SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION (T T)) #<unavailable
argument> #<unavailable argument> #<unavailable argument> #<CLOSURE (FLET QUICKLISP-CLIENT::QL) {BC403A5}>)
 22: ((SB-PCL::FAST-METHOD QL-IMPL-UTIL::%CALL-WITH-QUIET-COMPILATION :AROUND (QL-IMPL:SBCL T)) ..)
 23: ((SB-PCL::FAST-METHOD QUICKLISP-CLIENT:QUICKLOAD (T)) #<unavailable argument> #<unavailable
argument> "gsll")[:EXTERNAL]
 24: (QL-DIST::CALL-WITH-CONSISTENT-DISTS #<CLOSURE (LAMBDA #) {BC37B2D}>)
 25: (SB-INT:SIMPLE-EVAL-IN-LEXENV (QUICKLISP-CLIENT:QUICKLOAD "gsll") #<NULL-LEXENV>)
 26: (SWANK::EVAL-REGION "(ql:quickload \"gsll\")\n")
 27: ((LAMBDA ()))
 28: (SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA #) {BBD6155}>)
 29: (SWANK::CALL-WITH-RETRY-RESTART "Retry SLIME REPL evaluation request." #<CLOSURE (LAMBDA #) {BBD60E5}>)
 30: (SWANK::CALL-WITH-BUFFER-SYNTAX NIL #<CLOSURE (LAMBDA #) {BBD60CD}>)
 31: (SWANK::REPL-EVAL "(ql:quickload \"gsll\")\n")
 32: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(ql:quickload \"gsll\")\n") #<NULL-LEXENV>)
 33: (SWANK::EVAL-FOR-EMACS (SWANK:LISTENER-EVAL "(ql:quickload \"gsll\")\n") "COMMON-LISP-USER" 26)
 34: (SWANK::PROCESS-REQUESTS NIL)
 35: ((LAMBDA ()))
 36: ((LAMBDA ()))
 37: (SWANK-BACKEND::CALL-WITH-BREAK-HOOK #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE
(LAMBDA #) {B326C9D}>)
 38: ((FLET SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK>
#<CLOSURE (LAMBDA #) {B326C9D}>)
 39: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-OUTPUT* . #) (*STANDARD-INPUT* . #) (*TRACE-OUTPUT* . #)
(*ERROR-OUTPUT* . #) (*DEBUG-IO* . #) (*QUERY-IO* . #) ...) #<CLOSURE (LAMBDA #) {B326CAD}>)
 40: (SWANK::HANDLE-REQUESTS #<SWANK::CONNECTION {ADD3519}> NIL)
 41: (SWANK::CALL-WITH-BINDINGS NIL #<CLOSURE (LAMBDA #) {B326C7D}>)
 42: ((FLET #:WITHOUT-INTERRUPTS-BODY-[BLOCK362]367))
 43: ((FLET SB-THREAD::WITH-MUTEX-THUNK))
 44: ((FLET #:WITHOUT-INTERRUPTS-BODY-[CALL-WITH-MUTEX]300))
 45: (SB-THREAD::CALL-WITH-MUTEX ..)
 46: (SB-THREAD::INITIAL-THREAD-FUNCTION)
 47: ("foreign function: #x806772B")
 48: ("foreign function: #x8052F2D")
 49: ("foreign function: #x805E560")
 50: ("foreign function: #xB7FAF955")
harven | 23 Mar 17:35 2012
Picon

Re: [Antik-devel] error loading gsll with quicklisp

An update of quicklisp solved my problem. gsll had nothing to do with the bug.

Sorry for the noise,
Cheers,
--
Harven

Gmane