On 11/21/11 Nov 21 -11:41 PM, Faré wrote:
On Mon, Nov 21, 2011 at 19:21, Robert Goldman rpgoldman@sift.info wrote:
I got an upgrade failure running the tests on ABCL:
Testing upgrade from ASDF 1.369
- abcl -noinit --noinform --load test/script-support --eval
'(handler-bind ((warning #'''muffle-warning)) (load "tmp/asdf-1.369.lisp"))' --eval '(handler-bind (#+sbcl (sb-kernel:redefinition-warning #'''muffle-warning)) (format t "ll~%") (load "asdf.lisp"))' --eval '(quit-on-error (push #p"/Users/rpg/lisp/asdf/test/" asdf:*central-registry*) (princ "te") (asdf:oos '''asdf:load-op :test-module-depend :verbose t))'
Caught PACKAGE-ERROR while processing --eval option "(handler-bind ((warning #'muffle-warning)) (load "tmp/asdf-1.369.lisp"))": The symbol PATHNAME-SANS-NAME+TYPE is not present in package ASDF. upgrade FAILED
I can't reproduce this failure using ABCL 1.0.0.
Hm. It's robust for me. I did it using
setenv lisp abcl # I'm old school make test-upgrade
and got the same error
Testing upgrade from ASDF 1.369 + abcl -noinit --noinform --load test/script-support --eval '(handler-bind ((warning #'''muffle-warning)) (load "tmp/asdf-1.369.lisp"))' --eval '(handler-bind (#+sbcl (sb-kernel:redefinition-warning #'''muffle-warning)) (format t "ll~%") (load "asdf.lisp"))' --eval '(quit-on-error (push #p"/Users/rpg/lisp/asdf/test/" asdf:*central-registry*) (princ "te") (asdf:oos '''asdf:load-op :test-module-depend :verbose t))'
Caught PACKAGE-ERROR while processing --eval option "(handler-bind ((warning #'muffle-warning)) (load "tmp/asdf-1.369.lisp"))": The symbol PATHNAME-SANS-NAME+TYPE is not present in package ASDF. upgrade FAILED make: *** [test-upgrade] Error 1
This is ABCL 1.0.0 from Mac Ports on Mac OS X 10.6.8.
I tried it interactively, too, and when I do I get the same error:
CL-USER(4): (handler-bind ((warning #'(lambda (w) (muffle-warning w)))) (load "tmp/asdf-1.369.lisp")) Error loading /Users/rpg/lisp/asdf/tmp/asdf-1.369.lisp at line 153 (offset 5510) #<THREAD "interpreter" {53DDBCB1}>: Debugger invoked on condition of type PACKAGE-ERROR The symbol PATHNAME-SANS-NAME+TYPE is not present in package ASDF.
I am looking at asdf-1.369.lisp and PATHNAME-SANS-NAME+TYPE is definitely there.
The backtrace indicates a problem with system::ensure-available-symbols:
0: (SYSTEM:BACKTRACE) 1: (INVOKE-DEBUGGER #<PACKAGE-ERROR {4E69048B}>) 2: (ERROR PACKAGE-ERROR "The symbol ~A is not present in package ~A." "PATHNAME-SANS-NAME+TYPE" "ASDF") 3: (#<FUNCTION {50A969E4}> "PATHNAME-SANS-NAME+TYPE") 4: (#<FUNCTION {2267211B}> ("ASDF" "COERCE-NAME" "SYSTEM-REGISTERED-P" "ASDF-MESSAGE" "RESOLVE-SYMLINKS" "PATHNAME-SANS-NAME+TYPE")) 5: (SYSTEM::ENSURE-AVAILABLE-SYMBOLS (("ASDF" "COERCE-NAME" "SYSTEM-REGISTERED-P" "ASDF-MESSAGE" "RESOLVE-SYMLINKS" "PATHNAME-SANS-NAME+TYPE"))) 6: (SYSTEM::%LOAD #P"/Users/rpg/lisp/asdf/tmp/asdf-1.369.lisp" NIL NIL T) 7: (LOAD "tmp/asdf-1.369.lisp") [1] CL-USER(14):
I am not sure how this is triggered; looks like it's inside DEFPACKAGE ASDF-EXTENSIONS. If so, then it's the INTERN inside the DEFPACKAGE of ASDF that's somehow not functioning. If I can, I will noodle around some more (macroexpand DEFPACKAGE, etc.) and try to figure out what's going wrong.