Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52142 - Slime fails to emerge due to errors in hyperspec.el and slime.el
Summary: Slime fails to emerge due to errors in hyperspec.el and slime.el
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 15:44 UTC by ElliottJohnson
Modified: 2004-09-06 20:49 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 ElliottJohnson 2004-05-26 15:44:05 UTC
Here's what I get-

Calculating dependencies ...done!
>>> emerge (1 of 1) app-emacs/slime-0.13 to /
>>> Downloading http://gentoo.oregonstate.edu/distfiles/slime-0.13.tar.bz2
--15:25:25--  http://gentoo.oregonstate.edu/distfiles/slime-0.13.tar.bz2
           => `/usr/portage/distfiles/slime-0.13.tar.bz2'
Resolving gentoo.oregonstate.edu... 128.193.0.3
Connecting to gentoo.oregonstate.edu[128.193.0.3]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 198,978 [application/x-tar]

100%[=================================================================================================>] 198,978       40.11K/s    ETA 00:00

15:25:30 (39.98 KB/s) - `/usr/portage/distfiles/slime-0.13.tar.bz2' saved [198978/198978]

>>> md5 src_uri ;-) slime-0.13.tar.bz2
>>> Unpacking source...
>>> Unpacking slime-0.13.tar.bz2 to /var/tmp/portage/slime-0.13/work
>>> Source unpacked.
While compiling toplevel forms in file /var/tmp/portage/slime-0.13/work/slime-0.13/hyperspec.el:
  !! Wrong type argument ((listp 2))
While compiling toplevel forms in file /var/tmp/portage/slime-0.13/work/slime-0.13/slime.el:
  !! Wrong type argument ((listp 73))
Done

!!! ERROR: app-emacs/slime-0.13 failed.
!!! Function src_compile, Line 24, Exitcode 1
!!! (no error message)

At first I thought I might be having trouble with Emacs, since a grep of both files gave me a referance to the string "listp", not the symbol.  After re-emergeing emacs, the error remained.  It seems strange.  Here's some more information on my system.  Any info would be good, even a "hey you're running a really unstable, over optimized system!!" ;)

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r1, 2.6.6-love4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(tm) 
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr -fomit-frame-pointer -falign-functions=4 -funroll-loops -ftracer -fweb"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr -fomit-frame-pointer -falign-functions=4 -funroll-loops -ftracer -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/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="3dfx 3dnow X aalib alsa apm avi berkdb cdr crypt cups directfb dvd dvdr emacs encode f77 fbcon foomaticdb gdbm ggi gif gpm gtk gtk2 imlib jpeg leim libg++ libwww live mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl tcpd tiff truetype x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1.Emerge slime
2.
3.

Actual Results:  
Immediate failure of ebuild process

Expected Results:  
the Ebuild to successfully build :)
Comment 1 ElliottJohnson 2004-05-26 18:14:45 UTC
I've played with it some more and have concluded that emacs is the culprit.  I dl'ed the source and loaded it by hand, only to get a seg fault.  I'll try tone'n down the cflags. 
Comment 2 ElliottJohnson 2004-05-26 18:15:28 UTC
I've played with it some more and have concluded that emacs is the culprit.  I dl'ed the source and loaded it by hand, only to get a seg fault.  I'll try tone'n down the cflags. 
Comment 3 Benjamin Collins 2004-09-04 23:09:34 UTC
I have additional problems in the same place.  I don't know if it's related or not:

yoda ~ # emerge slime
Calculating dependencies ...done!
>>> emerge (1 of 1) app-emacs/slime-1.0_beta to /
>>> md5 src_uri ;-) slime-1.0beta.tar.gz
>>> Unpacking source...
>>> Unpacking slime-1.0beta.tar.gz to /var/tmp/portage/slime-1.0_beta/work
>>> Source unpacked.
Fatal error (11)./usr/portage/app-emacs/slime/slime-1.0_beta.ebuild: line 24: 25860 Segmentation fault      emacs --batch -q -l script -f batch-byte-compile hyperspec.el slime.el

!!! ERROR: app-emacs/slime-1.0_beta failed.
!!! Function src_compile, Line 26, Exitcode 139
!!! (no error message)
Comment 4 Benjamin Collins 2004-09-06 20:49:02 UTC
It appears that remerging emacs with USE="-Os" seems to fix the problem.  Apparently the optimizations make emacs unhappy with some of its lispiness.