Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155001 - dev-lisp/cmucl-19d_pre1 cannot find subsystems
Summary: dev-lisp/cmucl-19d_pre1 cannot find subsystems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-13 04:44 UTC by Hans Halvorson
Modified: 2006-11-14 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Halvorson 2006-11-13 04:44:28 UTC
(require :clx) gives the following error:

* (require :clx)


Error in function REQUIRE:  Don't know how to load CLX
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for help)

(REQUIRE :CLX NIL)
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:code/module.lisp.
0] 

== output of "emerge --info" ==

# emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 12 Nov 2006 11:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr elibc_glibc emacs emacs-w3 encode esd fam firefox fortran gdbm gif gnutls gpm gstreamer gtk hal iconv imagemagick input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kernel_linux ldap libg++ lm_sensors lua mad mikmod mime motif mozilla mp3 mpeg ncurses nptl nptlonly ocaml ogg opengl oss pam pcmcia pcre perl png ppds pppd python qt3 qt4 readline reflection samba sdl session sockets spell spl ssl tcpd tetex truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa vorbis wifi win32codecs xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

== ouput of "equery files cmucl" == 

# equery files cmucl
[ Searching for packages matching cmucl... ]
* Contents of dev-lisp/cmucl-19d_pre1:
/usr
/usr/bin
/usr/bin/lisp
/usr/lib
/usr/lib/cmucl
/usr/lib/cmucl/internals.h
/usr/lib/cmucl/internals.inc
/usr/lib/cmucl/lib
/usr/lib/cmucl/lib/XKeysymDB
/usr/lib/cmucl/lib/config
/usr/lib/cmucl/lib/config.lisp
/usr/lib/cmucl/lib/generic-site.lisp
/usr/lib/cmucl/lib/hemlock11.cursor
/usr/lib/cmucl/lib/hemlock11.mask
/usr/lib/cmucl/lib/lisp.core
/usr/lib/cmucl/lib/load-foreign.csh
/usr/lib/cmucl/lib/mh-scan
/usr/lib/cmucl/lib/motifd
/usr/lib/cmucl/lib/spell-dictionary.bin
/usr/lib/cmucl/lib/subsystems
/usr/lib/cmucl/lib/subsystems/clm-library.x86f
/usr/lib/cmucl/lib/subsystems/clx-library.x86f
/usr/lib/cmucl/lib/subsystems/gray-compat-library.x86f
/usr/lib/cmucl/lib/subsystems/gray-streams-library.x86f
/usr/lib/cmucl/lib/subsystems/hemlock-library.x86f
/usr/lib/cmucl/lib/subsystems/iodefs-library.x86f
/usr/lib/cmucl/lib/subsystems/simple-streams-library.x86f
/usr/lib/cmucl/lisp.map
/usr/lib/cmucl/lisp.nm
/usr/lib/cmucl/sample-wrapper
/usr/share
/usr/share/cmucl
/usr/share/cmucl/portage-timestamp-compensate
/usr/share/doc
/usr/share/doc/cmucl-19d_pre1
/usr/share/doc/cmucl-19d_pre1/cmucl
/usr/share/doc/cmucl-19d_pre1/cmucl/README
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/cmucl.1.gz
/usr/share/man/man1/lisp.1.gz
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-11-13 15:41:01 UTC
Really odd.  It looks exactly like my installation.  Could you please try the following for me:

1. CONFIG_PROTECT='-*' emerge --unmerge cmucl
2. check that /usr/lib/cmucl does not exist
3. check that /usr/share/cmucl/ does not exist
4. if /etc/common-lisp exists, delete it also

5. emerge cmucl
6. emerge strace

7. strace -e open,fstat64 lisp -noinit -nositeinit

For 7. could you attach the output to this bug report?
Comment 2 Hans Halvorson 2006-11-13 16:00:22 UTC
I followed step 1 exactly.  BUT, /usr/lib/cmucl still exists and is populated with many things!  Should I recursively delete everything in that directory manually?
Comment 3 Hans Halvorson 2006-11-13 16:05:04 UTC
PS to previous message: /etc/common-lisp/cmucl/ also exists, and contains a copy of site-init.lisp.
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-11-13 18:11:43 UTC
I think I know what's going on now, it's because of the timestamp hack we use to get around the fact that Portage installs everything with the same timestamp.

Looks like this is a migration issue between our cmucl-19c and cmucl-19d-pre1 ebuilds.

The work around is to 

1. unmerge cmucl
2. rm -rf /etc/common-lisp /usr/lib/cmucl /usr/share/cmucl
3. emerge cmucl

Let me know if the work around succeeds.  I'll work on a proper fix for the ebuild.
Comment 5 Hans Halvorson 2006-11-14 11:58:55 UTC
Yes, that fixed the problem.  Thanks!