ASDF loads system config files during contrib build

Bug #659105 reported by Alastair Bridgewater
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Undecided
Unassigned

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
                                   {50BA00A1}>:
  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: contribs
tags: added: contribs
Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

In 1.0.43.58.

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.