Robert P. Goldman wrote:
Here's the error: TEST ABORTED: Undefined function LISP-INVOCATION/IMPLEMENTATIONS::INVOKE-LISP-VIA-SCRIPT called with arguments (:CROSS-COMPILE NIL :LOAD "/Users/rpg/lisp/asdf/test/make-hello-world.lisp" :EVAL "(asdf-test::make-hello-image)" :RUN-PROGRAM-ARGS (:INPUT NIL :IGNORE-ERROR-STATUS T :OUTPUT (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stdout: ") :ERROR-OUTPUT (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stderr: "))).
Investigating, but wanted to pass this on for now.
This bug has gone away with your patch, but now run-program.script fails, on Mac at least, and maybe on Linux (my 7.0 install there is a mess). When I run this test, a new window pops up, I believe for a new LW executable, with the following in it: Last login: Tue May 26 21:08:19 on ttys010 /var/tmp/lwtemp_rpgoldman-8_881370hAekoE.command ; exit; rpg@rpgoldman-8: ~ $ /var/tmp/lwtemp_rpgoldman-8_881370hAekoE.command ; exit; Then everything hangs and I must kill the make job to get rid of this window. In the main window I see what looks like a failure to build the image properly: test image-op - first create an executable image 0 RUN-PROGRAM > ...
UIOP/RUN-PROGRAM::COMMAND : ("/usr/local/bin/lispworks" "-site-init" "-" "-init" "-" "-build" "/Users/rpg/lisp/asdf/test/make-hello-world.lisp" "-eval" "(asdf-test::make-hello-image)") UIOP/RUN-PROGRAM::KEYS : (:INPUT NIL :IGNORE-ERROR-STATUS T :OUTPUT (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stdout: ") :ERROR-OUTPUT (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stderr: ")) UIOP/RUN-PROGRAM::IGNORE-ERROR-STATUS : T UIOP/RUN-PROGRAM::INPUT : NIL UIOP/RUN-PROGRAM::OUTPUT : (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stdout: ") UIOP/RUN-PROGRAM::ERROR-OUTPUT : (#<Synonym stream to HARLEQUIN-COMMON-LISP:*BACKGROUND-OUTPUT*> :LINEWISE T :PREFIX "stderr: ") stdout: ; Loading text file /Applications/LispWorks 7.0 (64-bit)/Library/lib/7-0-0-0/private-patches/load.lisp stdout: LispWorks(R): The Common Lisp Programming Environment stdout: Copyright (C) 1987-2014 LispWorks Ltd. All rights reserved. stdout: Version 7.0.0 stdout: Saved by rpg as lispworks, at 26 May 2015 13:11 stdout: User rpg on rpgoldman-8.zyxel.com stdout: stdout: Error: Reader cannot find package ASDF-TEST. stdout: 1 (continue) Create the ASDF-TEST package. stdout: 2 Use another package instead of ASDF-TEST. stdout: 3 Try finding package ASDF-TEST again. stdout: 4 (abort) Abort initialization. stdout: 5 Continue to top-level loop. stdout
Is there any chance that lispworks does something odd and reads the -eval command-line argument before it fully process the -build argument?