[Ecls-list] Build error (cl-ppcre)

Brent Fulgham bfulgham at gmail.com
Thu Aug 28 04:52:17 UTC 2008


Hi,

I encountered an error attempting to install (build) CL-PPCRE using  
the current CVS as of this evening.

;; Type declaration was found for not bound variable FROM.
;;; Compiling (DEFUN MAYBE-SPLIT-REPETITION ...).
;;; Warning: COMPILE-FILE warned while performing #<ASDF:COMPILE-OP  
NIL 7044240> on
#<ASDF:CL-SOURCE-FILE "convert" "cl-ppcre" 7048312>.
;;; Warning: COMPILE-FILE failed while performing #<ASDF:COMPILE-OP  
NIL 7044240> on
#<ASDF:CL-SOURCE-FILE "convert" "cl-ppcre" 7048312>.
erred while invoking #<ASDF:COMPILE-OP NIL 7044240> on #<ASDF:CL- 
SOURCE-FILE "convert" "cl-ppcre" 7048312>
;;; Syntax error in declaration (DECLARE ((OR FIXNUM NULL) MAXIMUM)  
(FIXNUM MINIMUM) (OPTIMIZE SPEED (SAFETY 0) (SPACE 0) (DEBUG 1)  
(COMPILATION-SPEED 0)))Broken at SI:BYTECODES.Available restarts:
1. (TRY-RECOMPILING) Try recompiling convert
2. (RETRY) Retry performing #<ASDF:COMPILE-OP NIL 7044240> on  
#<ASDF:CL-SOURCE-FILE "convert" "cl-ppcre" 7048312>.
3. (ACCEPT) Continue, treating #<ASDF:COMPILE-OP NIL 7044240> on  
#<ASDF:CL-SOURCE-FILE "convert" "cl-ppcre" 7048312> as having been  
successful.
Broken at SI:BYTECODES.
 >> :R1

The problem source line seemed to be in convert.lisp (around line 186):

   (declare #.*standard-optimize-settings*)
    (declare (fixnum minimum)
             ((or fixnum null) maximum))
   ;; note the usage of COPY-REGEX here; we can't use the same REGEX
   ;; object in both REPETITIONS because they will have different
   ;; offsets
   (when maximum

Commenting out the declaration for (fixnum minimum) and ((or fixnum  
null) maximum) allows the library to complete building.

This construct works fine under SBCL and OpenMCL; is this perhaps a  
bug in ECL?

Thanks,

-Brent




More information about the ecl-devel mailing list