Bug#577210: tries to write FASL in wrong directory

Faré fahree at gmail.com
Sat Apr 10 15:53:36 UTC 2010


Oh, I think I know: the image is dumped without having run
(asdf:clear-output-translations) and (asdf:clear-source-registry). Oops.
Workaround: run (asdf:initialize-output-translations) in your Lisp at
the beginning,
or re-dump an image with the clear-* at the end of
common-lisp-controller:init-common-lisp-controller-v4 and/or in a new
function called by every dump script *after* the user-code in
lisp-config.lisp, because that file might be using ASDF.

While we're at it, there are other embarrassing small bugs in ASDF
1.627 (such as the failure to directorify $SBCL_HOME) that make me
recommend upgrading to 1.673 for the next C-L-C.

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
There is no reason ever to have the same thought twice,
unless you like having that thought — David Allen, "Getting Things Done"




On 10 April 2010 14:38, Pierre THIERRY <nowhere.man at levallois.eu.org> wrote:
> Package: common-lisp-controller
> Version: 7.1
> Severity: grave
>
> Although I'm not user with UID 0, CLC tries to write in
> /var/cache/c-l-c/0, which is owned by root:
>
> --------------8<-----------------------8<-------------------------------
> pierre at pape:~$ id
> uid=1000(pierre) gid=1000(pierre) groupes=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),108(netdev),114(fuse),119(kvm),1000(pierre)
> pierre at pape:~$ sbcl --eval "(asdf:oos 'asdf:load-op :cl-utilities)"
> This is SBCL 1.0.34.0.debian, an implementation of ANSI Common Lisp.
> More information about SBCL is available at <http://www.sbcl.org/>.
>
> SBCL is free software, provided as is, with absolutely no warranty.
> It is mostly in the public domain; some portions are provided under
> BSD-style licenses.  See the CREDITS and COPYING files in the
> distribution for more information.
> ; loading system definition from
> ; /usr/share/common-lisp/systems/cl-utilities.asd into #<PACKAGE "ASDF0">
> ; registering #<SYSTEM CL-UTILITIES {10034BABD1}> as CL-UTILITIES
>
> debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #<THREAD
>                                                           "initial thread" RUNNING
>                                                           {10031FB1C1}>:
>  can't create directory /var/cache/common-lisp-controller/0/SBCL/
>
> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
>  0: [RETRY          ] Retry directory creation.
>  1: [CONTINUE       ] Continue as if directory creation was successful.
>  2: [TRY-RECOMPILING] Try recompiling package
>  3: [RETRY          ] Retry performing #<ASDF:COMPILE-OP NIL {1003A8B811}> on
>                       #<ASDF:CL-SOURCE-FILE "package" {10034C9341}>.
>  4: [ACCEPT         ] Continue, treating #<ASDF:COMPILE-OP NIL {1003A8B811}>
>                       on #<ASDF:CL-SOURCE-FILE "package" {10034C9341}> as
>                       having been successful.
>  5:                   Ignore runtime option --eval "(asdf:oos 'asdf:load-op :cl-utilities)".
>  6: [ABORT          ] Skip rest of --eval and --load options.
>  7:                   Skip to toplevel READ/EVAL/PRINT loop.
>  8: [QUIT           ] Quit SBCL (calling #'QUIT, killing the process).
>
> (ENSURE-DIRECTORIES-EXIST
>  #P"/var/cache/common-lisp-controller/0/SBCL/usr/share/common-lisp/source/cl-utilities/package.fasl")[:EXTERNAL]
> 0] ;
> ; compilation unit aborted
> ;   caught 1 fatal ERROR condition
> * pierre at pape:~$
> --------------8<-----------------------8<-------------------------------
>
> -- System Information:
> Debian Release: squeeze/sid
>  APT prefers testing
>  APT policy: (990, 'testing'), (900, 'stable'), (600, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages common-lisp-controller depends on:
> ii  adduser                       3.112      add and remove users and groups
> ii  bash                          4.1-2      The GNU Bourne Again SHell
> ii  cl-asdf                       2:1.627-1  Another System Definition Facility
> ii  debconf [debconf-2.0]         1.5.30     Debian configuration management sy
> ii  debianutils                   3.2.2      Miscellaneous utilities specific t
> ii  perl                          5.10.1-11  Larry Wall's Practical Extraction
> ii  realpath                      1.15       Return the canonicalized absolute
>
> common-lisp-controller recommends no packages.
>
> Versions of packages common-lisp-controller suggests:
> ii  sbcl                        1:1.0.34.0-1 A Common Lisp compiler and develop
>
> -- debconf information:
>  common-lisp-controller/short-site-name: Inconnu
>  common-lisp-controller/long-site-name: Nom de site indéfini
>
>
>
> _______________________________________________
> pkg-common-lisp-devel mailing list
> pkg-common-lisp-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-common-lisp-devel
>





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