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.
Cheers, r
On Tue, May 26, 2015 at 3:05 PM, Robert P. Goldman rpgoldman@sift.net 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.
That was totally my bad. I was prompted to update lisp-invocation.lisp by a github issue, and in my enthusiasm, I moved code out of asdf-tools into lisp-invocation and refactored lisp-invocation. LispWorks support uses a dirty hack that fell victim of this refactoring. The hack may or may not be necessary anymore with LispWorks 7.0.0 (which at least on Windows stops doing the obvious wrong thing with parsing command-line arguments), so I disabled it, and re-released a lisp-invocation 1.0.7 that I updated asdf to use in its tests. Please try again...
make t l=lispworks t=test-run-program.script works for me in minimakefile and master.
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org To do evil a human being must first of all believe that what he's doing is good. — Alexander Solzhenitsyn
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?