[Iterate-devel] iterate-1.4.3 doesn't compile under SBCL-1.2.8

Zach Kost-Smith zachkostsmith at gmail.com
Wed Feb 25 16:18:28 UTC 2015


I do see the same error and cannot build Iterate 1.4.3, but that was all a
bit of a surprise.  That is because I use Iterate every day and trust that
it will always work, and it has, if you are using the Quicklisp version of
the library.  So to you, Helmut, I would suggest that you start using
Quicklisp (http://www.quicklisp.org/) and bask in the limited amount of
quality control that it has.

The bigger question here is what is going on with darcs/current
tarball/Quicklisp?

You don't see this problem with Quicklisp version of iterate, which should
be taken from the darcs repo automatically on regular periods.  So I cloned
the darcs repo and (other than some misterious "hash failed" errors) it is
identical to the quicklisp version and, naturally, it loads fine.  The last
time the quicklisp version was updated was sometime in June of last year
which is after the last commit in the log of the darcs repo (on April 22:
"make the #L reader macro standard conformant by not assuming anything
about the representation of quasiquoted forms") .  So what is 1.4.3?  A
diff between the Quicklisp version and the 1.4.3 version shows that there
are substantial changes.  I really don't know much about Darcs, but I
assume that there is some other branch out there or something which is
where "1.4.3" resides.  Is this a rogue or development branch that somebody
is accidentally giving as the current version on common-lisp.net?

Zach KS


On Wed, Feb 25, 2015 at 6:02 AM, Helmut Jarausch <jarausch at skynet.be> wrote:

> Hi,
>
> please bear in mind that I'm Lisp newbee.
> When I try to load iterate (1.4.3) I get the  warnings and one error below.
>
> Many thanks for a hint,
> Helmut
>
>
> ; in: DEFMACRO WITH-TEMPORARY
> ;     `(LET ((,ITERATE::OLD-VAR ITERATE::*TEMPS-IN-USE*))
> ;        (UNWIND-PROTECT
> ;            (LET ,(MAPCAR #'(LAMBDA # `#) ITERATE::VARS)
> ;              . ,ITERATE::BODY)
> ;          (SETQ ITERATE::*TEMPS-IN-USE* ,ITERATE::OLD-VAR)))
> ; --> SB-IMPL::|List| SB-IMPL::|List| SB-IMPL::|List*| MAPCAR LET LET
> ; --> SB-INT:DO-ANONYMOUS BLOCK LET TAGBODY TAGBODY SB-KERNEL:%RPLACD
> ; --> SETQ THE LIST CONS
> ; ==>
> ;   (SB-C::%FUNCALL #:G2 (CAR #:G1))
> ;
> ; caught WARNING:
> ;   function called with one argument, but wants exactly zero
> ;   See also:
> ;     The ANSI Standard, Section 3.2.2.3
>
> ; file: /home/jarausch/Lisp_My/TEST/iterate.lisp
> ; in: DEFMACRO WITH-TEMPORARY
> ;     `(LET ((,ITERATE::OLD-VAR ITERATE::*TEMPS-IN-USE*))
> ;        (UNWIND-PROTECT
> ;            (LET ,(MAPCAR #'(LAMBDA # `#) ITERATE::VARS)
> ;              . ,ITERATE::BODY)
> ;          (SETQ ITERATE::*TEMPS-IN-USE* ,ITERATE::OLD-VAR)))
> ; --> SB-IMPL::|List| SB-IMPL::|List| SB-IMPL::|List*| MAPCAR LET
> ; --> SB-KERNEL:%COERCE-CALLABLE-TO-FUN FUNCTION SB-INT:QUASIQUOTE
> ; ==>
> ;   (SB-IMPL::|List*| ITERATE::!1 '((ITERATE::GET-FREE-TEMP)))
> ;
> ; caught WARNING:
> ;   undefined variable: !1
> ;
>
> The following errors occurs in several functions
>
> ; in: DEFUN RETURN-COLLECTION-CODE
> ;     (ITERATE::WITH-TEMPORARY ITERATE::TEMP-VAR
> ;       (LET* ((ITERATE::UPDATE-CODE
> ;               `(IF ,ITERATE::COLLECT-VAR
> ;                    #
> ;                    #))
> ;              (ITERATE::MAIN-CODE (COND # # #)))
> ;         (ITERATE::RETURN-CODE :BODY
> ;                               `((PROGN
> ;                                  ,.ITERATE::MAIN-CODE
> ;                                  ,ITERATE::COLLECT-VAR))
> ;                               :FINAL
> ;                               (IF (EQ ITERATE::RESULT-TYPE 'LIST)
> ;                                   NIL
> ;                                   `(#)))))
> ;
> ; caught ERROR:
> ;   during macroexpansion of
> ;   (WITH-TEMPORARY TEMP-VAR
> ;     (LET* #
> ;       #)).
>
>
> _______________________________________________
> Iterate-devel mailing list
> Iterate-devel at common-lisp.net
> https://mailman.common-lisp.net/cgi-bin/mailman/listinfo/iterate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/iterate-devel/attachments/20150225/145dfaac/attachment.html>


More information about the iterate-devel mailing list