[Openmcl-devel] errors with the 1.9 rc

Gary Byers gb at clozure.com
Sat Feb 9 10:00:19 PST 2013


What happens when you try to debug this ?



On Sat, 9 Feb 2013, Faheem Mitha wrote:

>
> Hi,
>
> I'm getting errors with the 1.9 rc, both with upstream binaries and also with 
> a Debian package compiled from source; both give identical errors. This is on 
> Debian squeeze.
>
> Notes: I don't currently have a .ccl-init.lisp, and in any case I'm running 
> CCL with the -n flag. Also, in Debian at least, the system caches in 
> .cache/common-lisp, but there is no CCL related entry there currently. I 
> haven't tried nuking everything.
>
> faheem at orwell:~/.cache/common-lisp$ ls
> ecl-11.1.1-linux-x86            sbcl-1.0.57.0.debian-linux-x86 
> sbcl-1.1.1.0.debian-linux-x86  sbcl-1.1.3.debian-linux-x86
> sbcl-1.0.56.0.debian-linux-x86  sbcl-1.0.58.0.debian-linux-x86 
> sbcl-1.1.2.debian-linux-x86    sbcl-1.1.4.debian-linux-x86

Ah, there's your problem right there ...

>
> There is an cl-asdf Debian package also installed, version 2.22, but it 
> doesn't seem this would cause any problems.

Nah.  How could loading multiple incompatible versions of ASDF cause problems ?

I don't know whether that version of ASDF is in any way implicated; I don't
know what version(s) of ASDF are being loaded in your debian-packaged version
and I can't turn on *LOAD-VERBOSE* for you.

All that I do know is that:

- the version of ASDF bundled with the CCL 1.9-rc1 (2.28) defines

   (defun find-symbol* (name package-designator &optional (error t))

   and code in that version calls FIND-SYMBOL* with 3 arguments

- the version of ASDF that was bundled with CCL-1.8 defines

   (defun find-symbol* (s p)

and something (I don't know what because I can't type :b for you)
is calling a version of ASDF/PACKAGE:FIND-SYMBOL* with 3 args and
that version only accepts 2 arguments.


>
> Transcript with upstream binary follows. Note that the same error occurs when 
> I try to load any CL package, whether Debian package or locally installed. 
> This all worked fine with 1.8.

Nope.  When CCL 1.8 wasn't installed correctly (hint), it couldn't find
the right CCL directory (hint) and often loaded the wrong version of ASDF.

Let's summarize:

1) Make sure that your debian-packaged CCL is able to find its installation
directory ("the CCL directory").

? (truename "ccl:")

will show the physical pathname of that directory.  If it isn't correct,
check your scripts and fix it.

2) If the problem persists, set *load-verbose* to true before doing anything
else.  Pay attention to the full names of files being loaded and try to
note anomalies.

3) If you get the error, type :b at the break loop prompt.  Note the call
history and see if this sheds light on the problem.

4) If you still don't understand what's going on and have to ask someone else
for help, include that backtrace output in any request for help.

>
> Please CC me on any reply. Thanks.
>                                                         Regards, Faheem
>
> faheem at orwell:/usr/local/src/ccl/ccl$ svn info
> Path: .
> URL: http://svn.clozure.com/publicsvn/openmcl/release/1.9/linuxx86/ccl
> Repository Root: http://svn.clozure.com/publicsvn/openmcl
> Repository UUID: 8bdb8f1d-59ce-db11-9e41-0016172a54ae
> Revision: 15701
> Node Kind: directory
> Schedule: normal
> Last Changed Author: gb
> Last Changed Rev: 15687
> Last Changed Date: 2013-02-05 06:32:05 +0530 (Tue, 05 Feb 2013)
>
> faheem at orwell:/usr/local/src/ccl/ccl$ rlwrap ./lx86cl -n
> Welcome to Clozure Common Lisp Version 1.9-rc1-r15685  (LinuxX8632)!
> ? (require 'asdf)
> ASDF
> ("ASDF")
> ? (asdf:asdf-version)
> "2.28"
>
> # locally installed package
>
> ? (require 'cl-rmath)
> ASDF could not load cl-rmath because Too many arguments in call to 
> #<Compiled-function ASDF/PACKAGE:FIND-SYMBOL* #x187BFC8E>:
> 3 arguments provided, at most 2 accepted. .
>> Error: Too many arguments in call to #<Compiled-function 
> ASDF/PACKAGE:FIND-SYMBOL* #x187BFC8E>:
>>        3 arguments provided, at most 2 accepted.
>> While executing: ASDF/PACKAGE:FIND-SYMBOL*, in process listener(1).
>> Type :POP to abort, :R for a list of available restarts.
>> Type :? for other options.
>
> # Debian package
>
> ? (require 'clsql)
> ASDF could not load clsql because Error while trying to load definition for 
> system clsql from pathname /usr/share/common-lisp/source/clsql/clsql.asd: Too 
> many arguments in call to #<Compiled-function ASDF/PACKAGE:FIND-SYMBOL* 
> #x187BFC8E>:
> 3 arguments provided, at most 2 accepted. .
>> Error: Error while trying to load definition for system clsql from 
> pathname /usr/share/common-lisp/source/clsql/clsql.asd: Too many arguments in 
> call to #<Compiled-function ASDF/PACKAGE:FIND-SYMBOL* #x187BFC8E>:
>>        3 arguments provided, at most 2 accepted.
>> While executing: (:INTERNAL ASDF/FIND-SYSTEM:LOAD-ASD), in process 
> listener(1).
>> Type :GO to continue, :POP to abort, :R for a list of available 
> restarts.
>> If continued: Create and use the internal symbol ASDF::OPERATE
>> Type :? for other options.
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list