From larry at theclapp.org Mon Nov 3 14:56:07 2008 From: larry at theclapp.org (Larry Clapp) Date: Mon, 3 Nov 2008 09:56:07 -0500 Subject: [Bese-devel] question about FiveAM & Arnesi bug report: compile fails in Lispworks Pro 5.1 for Linux Message-ID: <20081103145607.GC16292@cupid.theclapp.org> Hi, list, Newbie wannabe-FiveAM-user here. FiveAM depends on Arnesi, which won't compile on LWL 5.1. Bug-report follows. I also have a question: Does FiveAM support test-first development, i.e. does it mind (other than having a failing test) if you define a test that calls a function or method or whatever that doesn't even exist yet? --- Bug report: ASDF compiling lexenv.lisp: Error: Reader cannot find package LEXICAL. The code in question is (I think): #+(and lispworks (or win32 linux)) (defmethod environment-p ((environment lexical::environment)) t) The class browser shows two packages with an ENVIRONMENT class (ENVIRONMENT:ENVIRONMENT and COMPILER::ENVIRONMENT), so I'm not sure which to change it to. Any suggestions? Full compiler output for lexenv.lisp: ;;; Compiling file /home/lmc/lisp/arnesi_dev/src/lexenv.lisp ... ;;; Safety = 1, Speed = 3, Space = 1, Float = 1, Interruptible = 0 ;;; Compilation speed = 0, Debug = 3, Fixnum safety = 3 ;;; Source level debugging is on ;;; Source file recording is on ;;; Cross referencing is on ; (TOP-LEVEL-FORM 0) ; (TOP-LEVEL-FORM 1) ; (DEFGENERIC IT.BESE.ARNESI::ENVIRONMENT-P) ; (DEFGENERIC IT.BESE.ARNESI::LEXICAL-VARIABLES) ; (DEFGENERIC IT.BESE.ARNESI::LEXICAL-FUNCTIONS) ; (DEFGENERIC IT.BESE.ARNESI::LEXICAL-MACROS) ; (DEFGENERIC IT.BESE.ARNESI::LEXICAL-SYMBOL-MACROS) ; (METHOD IT.BESE.ARNESI::LEXICAL-VARIABLES (T)) ; (METHOD IT.BESE.ARNESI::LEXICAL-FUNCTIONS (T)) ; (METHOD IT.BESE.ARNESI::LEXICAL-MACROS (T)) ; (METHOD IT.BESE.ARNESI::LEXICAL-SYMBOL-MACROS (T)) Error: Reader cannot find package LEXICAL. 1 (continue) Create the LEXICAL package. 2 Use another package instead of LEXICAL. 3 Try finding package LEXICAL again. 4 Try reading the next form. 5 Try compiling /home/lmc/lisp/arnesi_dev/src/lexenv.lisp again. 6 Skip compiling /home/lmc/lisp/arnesi_dev/src/lexenv.lisp. 7 Retry performing # on #. 8 Continue, treating # on # as having been successful. 9 (abort) Return to level 0. 10 Return to top loop level 0. Type :b for backtrace, :c