It appears there are two things issues: 1) slime.el throws a bunch of complaints (don't know if slime.elc works) 2) swank rebuild fails I have dev-lisp/common-lisp-controller-3.82 and dev-lisp/sbcl-0.8.10 installed. Logged output from "emerge slime" pasted into Actual Results below. Reproducible: Always Steps to Reproduce: 1.emerge slime 2. 3. Actual Results: ]1; ]2;Started emerge on: May 24, 2004 08:40:26 ]1; ]2; *** emerge slime ]1; ]2; >>> emerge (1 of 1) app-emacs/slime-0.13 to / ]1; ]2; === (1 of 1) Cleaning (app-emacs/slime-0.13::/usr/portage/app-emacs/slime/slime-0.13.ebuild) ]1; ] 2; === (1 of 1) Compiling/Merging (app-emacs/slime-0.13::/usr/portage/app-emacs/slime/slime-0.13.ebuild) >>> Unpacking source... >>> Unpacking slime-0.13.tar.bz2 to /var/tmp/portage/slime-0.13/work >>> Source unpacked. Wrote /var/tmp/portage/slime-0.13/work/slime-0.13/hyperspec.elc While compiling slime-symbol-name-at-point in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-input-start-mark While compiling slime-read-port-and-connect-to-running-swank in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** assignment to free variable slime-state-name While compiling slime-disconnect in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-net-processes While compiling slime-net-close in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-default-connection ** assignment to free variable slime-default-connection While compiling slime-net-sentinel in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-default-connection ** assignment to free variable slime-state-name While compiling slime-set-connection-info in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable process While compiling slime-reading-p in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-read-mode While compiling slime-output-buffer in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-input-end-mark ** reference to free variable slime-repl-prompt-start-mark While compiling slime-show-last-output-region in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-input-start-mark While compiling slime-output-string in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-prompt-start-mark ** reference to free variable slime-repl-input-start-mark While compiling slime-repl-send-string in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-repl-read-mode While compiling slime-repl-abort-read in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** `(car (prog1 slime-read-string-threads (setq slime-read-string-threads (cdr slime-read-string-threads))))' called for effect ** `(car (prog1 slime-read-string-tags (setq slime-read-string-tags (cdr slime-read-string-tags))))' called for effect While compiling slime-list-compiler-notes in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** assignment to free variable slime-compiler-notes-saved-window-configuration While compiling slime-compiler-notes-quit in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable slime-compiler-notes-saved-window-configuration While compiling slime-display-completion-list in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable completion-set While compiling slime-apropos-summary in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable string While compiling slime-print-apropos in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable apropos-symbol-face While compiling slime-show-xrefs in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** assignment to free variable slime-next-location-function While compiling slime-repl-pop-directory in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** `(car (prog1 slime-repl-directory-stack (setq slime-repl-directory-stack (cdr slime-repl-directory-stack))))' called for effect ** `(car (prog1 slime-repl-directory-stack (setq slime-repl-directory-stack (cdr slime-repl-directory-stack))))' called for effect While compiling toplevel forms in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** `(car (prog1 slime-repl-directory-stack (setq slime-repl-directory-stack (cdr slime-repl-directory-stack))))' called for effect ** `(car (prog1 slime-repl-directory-stack (setq slime-repl-directory-stack (cdr slime-repl-directory-stack))))' called for effect ** `(car (prog1 slime-repl-package-stack (setq slime-repl-package-stack (cdr slime-repl-package-stack))))' called for effect ** `(car (prog1 slime-repl-package-stack (setq slime-repl-package-stack (cdr slime-repl-package-stack))))' called for effect While compiling toplevel forms in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** `(car (prog1 slime-repl-package-stack (setq slime-repl-package-stack (cdr slime-repl-package-stack))))' called for effect ** `(car (prog1 slime-repl-package-stack (setq slime-repl-package-stack (cdr slime-repl-package-stack))))' called for effect ** reference to free variable file.lisp While compiling toplevel forms in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el: ** reference to free variable file.lisp ** The following functions are not known to be defined: substring-no-properties, temp-directory, slime-message, temp-minibuffer-message, time-add, seconds-to-time, time-less-p Wrote /var/tmp/portage/slime-0.13/work/slime-0.13/slime.elc Done >>> Install slime-0.13 into /var/tmp/portage/slime-0.13/image/ category app-emacs /var/tmp/portage/slime-0.13/work/slime-0.13 /var/tmp/portage/slime-0.13/work/slime-0.13 /var/tmp/portage/slime-0.13/work/slime-0.13 man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/slime-0.13/image/ [32;01m* [0m Regenerating /usr/share/emacs/site-lisp/site-gentoo.el... [32;01m* [0m [32;01m* [0m Adding 70slime-gentoo.el... [32;01m* [0m [32;01m* [0m All site initialization for Gentoo-installed packages is now added to [32;01m* [0m /usr/share/emacs/site-lisp/site-gentoo.el; site-start.el is no longer [32;01m* [0m managed by Gentoo. You may want to remove the generated [32;01m* [0m site-start.el. [32;01m* [0m [32;01m* [0m In order for this site initialization to be loaded for all users [32;01m* [0m automatically, as was done previously, you can add a line like this: [32;01m* [0m [32;01m* [0m (load "/usr/share/emacs/site-lisp/site-gentoo") [32;01m* [0m [32;01m* [0m to /usr/share/emacs/site-lisp/site-start.el. Alternatively, that line [32;01m* [0m can be added by individual users to their initialization files, or for [32;01m* [0m greater flexibility, users can select which of the package-specific [32;01m* [0m initialization files in /usr/share/emacs/site-lisp to load. Recompiling package swank for implementation sbcl /usr/lib/common-lisp/bin/sbcl.sh rebuilding... rebuilding swank ; in: LAMBDA NIL ; (SB-KERNEL:FLOAT-WAIT) ; ; note: deleting unreachable code ; compilation unit finished ; printed 2 notes ; loading system definition from #P"/usr/lib/sbcl/systems/sb-bsd-sockets.asd" ; into #<PACKAGE "ASDF2899"> ; loading system definition from #P"/usr/lib/sbcl/systems/sb-grovel.asd" into ; #<PACKAGE "ASDF2900"> ; registering #<SYSTEM SB-GROVEL {95AF889}> as SB-GROVEL ; compilation unit aborted ; caught 1 fatal ERROR condition Build error: Build failure Error: Cannot recompile package: swank for implementation: sbcl register-common-lisp-source: Package swank installed [32;01m* [0m Regenerating /usr/share/emacs/site-lisp/site-gentoo.el... [32;01m* [0m [32;01m* [0m Adding 70slime-gentoo.el... [32;01m* [0m [32;01m* [0m All site initialization for Gentoo-installed packages is now added to [32;01m* [0m /usr/share/emacs/site-lisp/site-gentoo.el; site-start.el is no longer [32;01m* [0m managed by Gentoo. You may want to remove the generated [32;01m* [0m site-start.el. [32;01m* [0m [32;01m* [0m In order for this site initialization to be loaded for all users [32;01m* [0m automatically, as was done previously, you can add a line like this: [32;01m* [0m [32;01m* [0m (load "/usr/share/emacs/site-lisp/site-gentoo") [32;01m* [0m [32;01m* [0m to /usr/share/emacs/site-lisp/site-start.el. Alternatively, that line [32;01m* [0m can be added by individual users to their initialization files, or for [32;01m* [0m greater flexibility, users can select which of the package-specific [32;01m* [0m initialization files in /usr/share/emacs/site-lisp to load. [32;01m* [0m [32;01m* [0m SLIME notes for Gentoo [32;01m* [0m ---------------------- [32;01m* [0m [32;01m* [0m Gentoo's port for SLIME uses its own swank.asd so that it fits more [32;01m* [0m cleanly into the Gentoo Common Lisp Controller framework. For this [32;01m* [0m reason, DO NOT report problems to SLIME's upstream authors. Always [32;01m* [0m report problems to the Gentoo Bugzilla at http://bugs.gentoo.org [32;01m* [0m unless you are absolutely certain your problem it is not related to [32;01m* [0m the Gentoo port of SLIME. [32;01m* [0m [32;01m* [0m Matthew Kennedy <mkennedy@gentoo.org> [32;01m* [0m [32;01m* [0m Caching service dependencies... ]1; ]2; === (1 of 1) Post-Build Cleaning (app-emacs/slime-0.13::/usr/portage/app-emacs/slime/slime-0.13.ebuild) ]1; ] 2; >>> AUTOCLEAN: app-emacs/slime ]1; ]2; --- AUTOCLEAN: Nothing unmerged. ]1; ]2; ::: completed emerge (1 of 1) app-emacs/slime-0.13 to / ] 1; ]2; *** Finished. Cleaning up... ]1; ]2; *** exiting successfully. Calculating dependencies ...done! >>> emerge (1 of 1) app-emacs/slime-0.13 to / >>> md5 src_uri ;-) slime-0.13.tar.bz2 >>> Merging app-emacs/slime-0.13 to / --- /usr/ --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/slime-0.13/ >>> /usr/share/doc/slime-0.13/README.gz >>> /usr/share/doc/slime-0.13/ChangeLog.gz --- /usr/share/emacs/ --- /usr/share/emacs/site-lisp/ >>> /usr/share/emacs/site-lisp/70slime-gentoo.el --- /usr/share/emacs/site-lisp/slime/ >>> /usr/share/emacs/site-lisp/slime/hyperspec.el >>> /usr/share/emacs/site-lisp/slime/swank-loader.lisp >>> /usr/share/emacs/site-lisp/slime/slime.el >>> /usr/share/emacs/site-lisp/slime/slime.elc --- /usr/share/common-lisp/ --- /usr/share/common-lisp/systems/ >>> /usr/share/common-lisp/systems/swank.asd -> /usr/share/common-lisp/source/swank/swank.asd --- /usr/share/common-lisp/source/ --- /usr/share/common-lisp/source/swank/ >>> /usr/share/common-lisp/source/swank/swank-cmucl.lisp >>> /usr/share/common-lisp/source/swank/metering.lisp >>> /usr/share/common-lisp/source/swank/swank-source-path-parser.lisp >>> /usr/share/common-lisp/source/swank/swank-gray.lisp >>> /usr/share/common-lisp/source/swank/swank-loader.lisp >>> /usr/share/common-lisp/source/swank/swank.lisp >>> /usr/share/common-lisp/source/swank/swank.asd >>> /usr/share/common-lisp/source/swank/swank-lispworks.lisp >>> /usr/share/common-lisp/source/swank/swank-clisp.lisp >>> /usr/share/common-lisp/source/swank/nregex.lisp >>> /usr/share/common-lisp/source/swank/swank-allegro.lisp >>> /usr/share/common-lisp/source/swank/swank-sbcl.lisp >>> /usr/share/common-lisp/source/swank/xref.lisp >>> /usr/share/common-lisp/source/swank/swank-openmcl.lisp >>> /usr/share/common-lisp/source/swank/ChangeLog >>> /usr/share/common-lisp/source/swank/swank-backend.lisp >>> Safely unmerging already-installed instance... --- !mtime obj /usr/share/emacs/site-lisp/slime/swank-loader.lisp --- !mtime obj /usr/share/emacs/site-lisp/slime/slime.elc --- !mtime obj /usr/share/emacs/site-lisp/slime/slime.el --- !mtime obj /usr/share/emacs/site-lisp/slime/hyperspec.el --- !mtime obj /usr/share/emacs/site-lisp/70slime-gentoo.el --- !mtime obj /usr/share/doc/slime-0.13/README.gz --- !mtime obj /usr/share/doc/slime-0.13/ChangeLog.gz --- !mtime obj /usr/share/common-lisp/source/swank/xref.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank.asd --- !mtime obj /usr/share/common-lisp/source/swank/swank-source-path-parser.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-sbcl.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-openmcl.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-loader.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-lispworks.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-gray.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-cmucl.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-clisp.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-backend.lisp --- !mtime obj /usr/share/common-lisp/source/swank/swank-allegro.lisp --- !mtime obj /usr/share/common-lisp/source/swank/nregex.lisp --- !mtime obj /usr/share/common-lisp/source/swank/metering.lisp --- !mtime obj /usr/share/common-lisp/source/swank/ChangeLog --- !empty dir /usr/share/emacs/site-lisp/slime --- !empty dir /usr/share/emacs/site-lisp --- !empty dir /usr/share/emacs --- !empty dir /usr/share/doc/slime-0.13 --- !empty dir /usr/share/doc --- !empty dir /usr/share/common-lisp/systems --- !empty dir /usr/share/common-lisp/source/swank --- !empty dir /usr/share/common-lisp/source --- !empty dir /usr/share/common-lisp --- !empty dir /usr/share --- !empty dir /usr --- !targe sym /usr/share/common-lisp/systems/swank.asd >>> original instance of package unmerged safely. >>> app-emacs/slime-0.13 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ]1; ]2; *** terminating. ]1; ]2;xterm Expected Results: successful installation of slime environment with hyperspec, slime, and swank all working. Anecdotally, I had problems with SBCL (< 0.8.10) and the predecessor ebuild, slime-cvs, also. I succeeded in installing only once among many failed attempts. The success occurred when I ensured that FAIRLY-STABLE was chosen. I don't know if the difference between FAIRLY-STABLE and HEAD(??) is meaningful or simply a red herring. I mention it because I assume that the new slime ebuild is not getting FAIRLY-STABLE in the tarball. emerge info gives: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r2) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Pentium III (Katmai) Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Since the initial bug report I've "cleaned up" my gentoo installation and then reran "emerge slime" and swank installs succesfully. I think 51918 can be dismissed.