Problem with build-from-lisp.bash

Mark Evenson evenson at panix.com
Tue Dec 11 16:19:12 UTC 2018



> On Dec 9, 2018, at 22:50, Pascal Bourguignon <pjb at informatimago.com> wrote:
> 
> Hi!
> 
> The lisp commands to build abcl in the build-from-lisp.bash script have a problem: they’re mere progn forms.
> When an error occurs, the lisp implementations will enter into the debugger and expect an interactive debugging.
> This prevents building abcl in automatic scripts, such as:

[…] 

> since errors aren’t detected, but just suspend the execution indefinitely.
> 
> 
> Therefore, I would suggest to wrap those progn forms into a handler-case; for example, in the case of ccl:
> 
> (handler-case (progn $3 (ccl:quit)) (error (err) (princ err *error-output*) (terpri *error-output*) (finish-output *error-output*) (ccl:quit 1)))

Seems like a reasonable suggestion: got a patch?  The`build-from-lisp.bash` script was contributed by another developer, so it will take some time before I can look at this problem, whereas I can sheppard a definite patch much easier.



-- 
"A screaming comes across the sky.  It has happened before but there is nothing 
to compare to it now."








More information about the armedbear-devel mailing list