ASDF loads system config files during contrib build

Bug #659105 reported by Alastair Bridgewater on 2010-10-12
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I had some stale config files on my Debian system (from an abortive installation of common-lisp-controller), which led to the following error when building some fourteen contribs:

/home/nyef/src/sbcl/sbcl-git/src/runtime/sbcl --noinform --core /home/nyef/src/sbcl/sbcl-git/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(defvar *system* "sb-rt")' --load ../asdf-stub.lisp --eval '(quit)'
unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "initial thread" RUNNING
  Not an absolute pathname #P"~/.clc/systems/"

The pathname in question came from a configuration file under /etc/common-lisp/. My workaround was "apt-get purge common-lisp-controller", which removed all of /etc/common-lisp (and good riddance), but this was a nasty surprise, and is not something a user should have to deal with.

A possible solution (AFAIK, untested) suggested on IRC:

<Fare> nyef: export CL_SOURCE_REGISTRY='(:source-registry :ignore-inherited-configuration)'
<Fare> maybe this ought to be in the build scripts.

tags: added: contribs
Nikodemus Siivola (nikodemus) wrote :


Changed in sbcl:
status: New → Fix Committed
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