Re: Problem with build-from-lisp.bash
Mark Evenson <[email protected]>
| Newsgroups | gmane.editors.j.devel |
|---|---|
| Message-ID | <DC186D83-7B09-4A64-963E-74ACD24882FA__14331.4752764583$1544545081$gmane$org@panix.com> |
> On Dec 9, 2018, at 22:50, Pascal Bourguignon <[email protected]> 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."