<div dir="ltr">Package: common-lisp-controller<br>Version: 7.10<br>Severity: important<br><br>Dear Maintainer,<br><br>1) Objective<br><br>Would like to use common-lisp-controller to load libraries such as getopt.<br><br>2) Test code<br><br>#!/usr/bin/clisp -ansi -q -q<br>(print *features*)<br>(print "1 - loading common-lisp-controller")<br>(load<br>#P"/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp")<br>(print "2 - initializing common-lisp-controller")<br>(common-lisp-controller:init-common-lisp-controller-v4 "clisp")<br>(print "3 - loading library")<br>(clc:clc-require :getopt)<br>(print "4 - loading module")<br>(require "clx")<br><br>3) Test output<br><br>(:READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP<br>:ANSI-CL<br> :COMMON-LISP :LISP=CL :INTERPRETER :SOCKETS :GENERIC-STREAMS<br> :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER<br> :WORD-SIZE=64 :PC386 :UNIX)<br>"1 - loading common-lisp-controller"<br>"2 - initializing common-lisp-controller"<br>WARNING: Replacing method<br>         #<STANDARD-METHOD (#<BUILT-IN-CLASS FUNCTION> #<BUILT-IN-CLASS T>)><br>         in #<STANDARD-GENERIC-FUNCTION SLURP-INPUT-STREAM><br>----<snip>----<br>WARNING: Replacing method<br>          #<STANDARD-METHOD<br>            (#<STANDARD-CLASS PACKAGE-INFERRED-SYSTEM-MISSING-PACKAGE-ERROR><br>             #<BUILT-IN-CLASS T>)><br>         in #<STANDARD-GENERIC-FUNCTION PRINT-OBJECT><br>*** - OPEN: File #P"/usr/share/common-lisp/source/cl-asdf/wild-modules.lisp"<br>      does not exist<br><br>4) Analysis<br><br>Fatal error because wild-modules.lisp was moved to a subdirectory that<br>is not searched.<br><br>5) Workaround #1<br><br>Set a symbolic link from directory that is searched:<br><br>(rootshell) cd /usr/share/common-lisp/source/cl-asdf/<br>(rootshell) ln -s contrib/wild-modules.lisp wild-modules.lisp<br><br>The test code now runs without fatal error.<br>Flood of WARNING messages is still there.<br><br>6) Workaround #2<br><br>Use cl-asdf instead of common-lisp-controller:<br><br>Replace these lines:<br><br>(load<br>#P"/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp")<br>(common-lisp-controller:init-common-lisp-controller-v4 "clisp")<br>(clc:clc-require :getopt)<br><br>with these lines:<br><br>(load #P"/usr/share/common-lisp/source/cl-asdf/asdf.lisp")<br>(asdf:load-system :getopt)<br><br>This runs.<br>Only one WARNING message is thrown when getopt is loaded:<br><br>WARNING: The generic function #<STANDARD-GENERIC-FUNCTION PERFORM> is being<br>         modified, but has already been called.<br><br>-- System Information:<br>Debian Release: 8.1<br>  APT prefers stable-updates<br>  APT policy: (500, 'stable-updates'), (500, 'stable')<br>Architecture: amd64 (x86_64)<br><br>Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)<br>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)<br>Shell: /bin/sh linked to /bin/dash<br>Init: systemd (via /run/systemd/system)<br><br>Versions of packages common-lisp-controller depends on:<br>ii  adduser                3.113+nmu3<br>ii  bash                   4.3-11+b1<br>ii  cl-asdf                2:3.1.4-1<br>ii  debconf [debconf-2.0]  1.5.56<br>ii  debianutils            4.4+b1<br>ii  perl                   5.20.2-3+deb8u1<br>ii  realpath               8.23-4<br><br>common-lisp-controller recommends no packages.<br><br>Versions of packages common-lisp-controller suggests:<br>pn  darcs  <none><br>ii  sbcl   2:1.2.4-2<br><br>-- debconf information excluded<br><br></div>