Bug#723977: missing symlink in /usr/share/common-lisp/systems

Faré fahree at gmail.com
Mon Sep 23 04:19:54 UTC 2013


Diogo is correct that symlinks are (1) not needed anymore (2) frowned upon.

Indeed, unless you export XDG_DATA_DIRS or some weird shit like that,
then

(asdf::default-source-registry)

will end with

(:TREE #P"/usr/share/common-lisp/source/")

So that it should find systems under there even without any symlink to systems/

And indeed when I

HOME=/tmp sbcl --noinform --non-interactive --eval '(require :asdf)'
--eval '(format t "~A~%" (asdf:system-source-directory :cl-ppcre))'
/usr/share/common-lisp/source/cl-ppcre/

(The HOME=/tmp is so it won't use my personal configuration files)

I blame your misconfiguration.

If you don't use XDG_DATA_DIRS, do you have something in your configuration
that uses :ignore-inherited-configuration
then goes on to register /usr/share/common-lisp/systems ?

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
There is no such thing as a "necessary evil". If it's necessary, then
it cannot be evil, neither can it be good: it's a datum.        — Faré


On Sat, Sep 21, 2013 at 9:45 PM, Diogo F. S. Ramos <diogofsr at gmail.com> wrote:
>> diogofsr at gmail.com (Diogo F. S. Ramos) writes:
>>> Is this still necessary?
>>>
>>> My understanding is that one does not need to symlink to
>>> `/usr/share/common-list/systems/<package>.asd' anymore.
>>>
>>> See
>>> <http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/2012-September/003238.html>.
>>
>> Well the thing is, asdf does not seem to be able to locate the systems
>> and after adding the symlink it does again. So either asdf is broken in
>> this regard or the symlinks are still/again needed
>
> Indeed.
>
> I tried loading alexandria and ppcre but I couldn't.
>
> Unfortunately I don't know enough of SBCL/ASDF/Debian to track this
> down, but I can confirm that just installing the systems is not enough
> for loading them.
>
> _______________________________________________
> pkg-common-lisp-devel mailing list
> pkg-common-lisp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-common-lisp-devel



More information about the pkg-common-lisp-devel mailing list