*posix-argv* in undefined in core.test.sh

Bug #440052 reported by Robert Brown on 2009-10-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When I compile recent sbcl versions (I believe is one I tried) and
then run tests on my Linux system, I get an error about *posix-argv* being
undefined when core.test.sh is run.

*posix-argv* is present in package sb-ext. Other sb-ext symbols in core.test.sh
are referenced using the package name. When I change *posix-argv* to
sb-ext:*posix-argv* the tests pass.

I've included a patch.


Robert Brown (robert-brown) wrote :
  • x Edit (947 bytes, text/plain)
Nikodemus Siivola (nikodemus) wrote :

Something funky going on there. As SB-EXT is being used by CL-USER, the prefix should not be needed -- and indeed, the test works fine here.

Aha! It's not an issue if prefix, but rather of --no-userinit missing: I bet your userinit file does something interesting with the default package setup, eg. (unuse-package :sb-ext)?

Fixed in

Changed in sbcl:
status: New → Fix Committed
Robert Brown (robert-brown) wrote :

In my .sbclrc I do:

(defpackage #:bob
  (:use #:common-lisp #:common-lisp-user)
  (:export ....))

(in-package #:bob)

My intent was to recreate the common-lisp-user environment, but in
a separate package. Evidently using cl-user is not enough to gain
access to the symbols it uses.

Thanks for committing a fix.

Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers