Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
Emerging clisp-2.29 fails with the following error message: Compilation of file /var/tmp/portage/clisp-2.29/work/clisp/src/bindings/linuxlibc6/linux.lisp is finished. 0 errors, 0 warnings make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/bindings/linuxlibc6' make: *** [bindings/linuxlibc6] Error 2 make: *** Waiting for unfinished jobs.... ./genclx > clx.e rm -f genclx.c rm -f genclx echo "#line 1 \"clx.e\"" > clx.temp sed -e 's,//.*$,,' -e 's,/\*[^/]*\*/, ,g' -e 's,/\*[^*]*\*/, ,g' -e 's,\(/\*.*\)`,\1,g' < clx.e >> clx.temp ./e2d clx clx.temp clx.d ;Converting module `clx' (clx.temp --> clx.d) Notice: Signature (9, 0, norest, nokey) for function 'XLIB:COPY-AREA' will be emulated. Notice: Signature (10, 0, norest, nokey) for function 'XLIB:COPY-PLANE' will be emulated. Notice: Signature (6, 1, norest, nokey) for function 'XLIB:DRAW-LINE' will be emulated. Notice: Signature (6, 1, norest, nokey) for function 'XLIB:DRAW-RECTANGLE' will be emulated. Notice: Signature (5, 0, norest, key) for function 'XLIB:DRAW-GLYPH' will be emulated. Notice: Signature (5, 0, norest, key) for function 'XLIB:DRAW-GLYPHS' will be emulated. Notice: Signature (5, 0, norest, key) for function 'XLIB:DRAW-IMAGE-GLYPH' will be emulated. Notice: Signature (5, 0, norest, key) for function 'XLIB:DRAW-IMAGE-GLYPHS' will be emulated. Notice: Signature (5, 0, norest, key) for function 'XLIB:CHANGE-PROPERTY' will be emulated. Notice: Signature (3, 2, norest, nokey) for function 'XLIB:CONVERT-SELECTION' will be emulated. Notice: Signature (6, 2, norest, nokey) for function 'XLIB:WARP-POINTER-IF-INSIDE' will be emulated. Notice: Signature (5, 2, norest, nokey) for function 'XLIB:WARP-POINTER-RELATIVE-IF-INSIDE' will be emulated. ;Used packages: XPM, XLIB. rm -f clx.temp ../../comment5 clx.d | ../../ansidecl > clx.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I/usr/X11R6/include -I../../ -c clx.c clx.e: In function `C_xlib_open_display': clx.e:2353: warning: implicit declaration of function `sprintf' make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/clx/new-clx' !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 17, Exitcode 2 !!! (no error message) Here are the values of my USE flag and compiler flags: USE="mmx sse gphoto2 X fbcon kde qt qtmt arts gnome gtk gtkhtml motif tcltk imlib ncurses readline lcms gif jpeg png tiff avi mpeg quicktime alsa esd mikmod nas xmms oggvorbis encode pam ssl crypt imap tcpd mozilla truetype spell xml xml2 pdflib plotutils tetex guile python libg++ samba" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -O3 -pipe" CXXFLAGS="-mcpu=i686 -O3 -pipe"
Fixed, emerge rsync to try the revised edition. Didn't revision bump.
This is what I get when I try to emerge clisp-2.29: mkdir locale (cd gettext/po && make && make install datadir=../.. localedir='$(datadir)/locale' INSTALL_DATA=ln) || (rm -rf locale ; exit 1) make[1]: Entering directory `/var/tmp/portage/clisp-2.29/work/clisp/src/gettext/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/gettext/po' make[1]: Entering directory `/var/tmp/portage/clisp-2.29/work/clisp/src/gettext/po' installing en.gmo as ../../locale/en/LC_MESSAGES/clisp.mo installing clisplow_en.gmo as ../../locale/en/LC_MESSAGES/clisplow.mo installing de.gmo as ../../locale/de/LC_MESSAGES/clisp.mo installing clisplow_de.gmo as ../../locale/de/LC_MESSAGES/clisplow.mo installing fr.gmo as ../../locale/fr/LC_MESSAGES/clisp.mo installing clisplow_fr.gmo as ../../locale/fr/LC_MESSAGES/clisplow.mo installing es.gmo as ../../locale/es/LC_MESSAGES/clisp.mo installing clisplow_es.gmo as ../../locale/es/LC_MESSAGES/clisplow.mo installing nl.gmo as ../../locale/nl/LC_MESSAGES/clisp.mo installing clisplow_nl.gmo as ../../locale/nl/LC_MESSAGES/clisplow.mo make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/gettext/po' rm -f data/* mkdir data cd data && ln -s ../../utils/unicode/ftp.unicode.org/UnicodeData.txt . cd data && ln -s ../../src/clhs.txt . gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -x none -Wl,-export-dynamic spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o posixmisc.o ari80386.o modules.o libsigsegv.a libintl.a libiconv.a libreadline.a libavcall.a libcallback.a -lncurses -ldl -lm -o lisp.run sync ./lisp.run -B . -N locale -Efile UTF-8 -norc -m 750KW -x "(load \"init.lisp\") (sys::%saveinitmem) (exit)" Cannot map memory to address 0x680B2000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... Cannot map memory to address 0x680B2000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... Cannot map memory to address 0x680B2000 . errno = ENOMEM: Not enough memory. Trying to make room through a GC... make: *** [interpreted.mem] Segmentation fault !!! ERROR: dev-lisp/clisp-2.29 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message) clisp has already been emerged on this system but when I try to run it I get: deepblue root Alive # clisp Cannot map memory to address 0x6808A000 . errno = ENOMEM: Not enough memory. /usr/lib/clisp/base/lisp.run: not enough memory for initialization Help! I noticed previous problems were fixed quickly so here's hoping this will be ;) Thanks.
Oh yeah, my use vars: USE="X gtk gnome cups -alsa avi esd encode ssl -arts sdl dvd tcltk truetype oggvorbis -qt -java tetex pdflib samba crypt nfs -doc apache2" my cflags: CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4" CXXFLAGS="${CFLAGS}"
The package builds fine for me, so why don't you try eliminating your CFLAGS one by one and try to determine if the problem is in the different compiler flags?
it also fails for me make[1]: Entering directory `/var/tmp/portage/clisp-2.29/work/clisp/src/wildcard' /var/tmp/portage/clisp-2.29/work/clisp/src/lisp.run -M /var/tmp/portage/clisp-2.29/work/clisp/src/lispinit.mem -B /var/tmp/portage/clisp-2.29/work/clisp/src -N /var/tmp/portage/clisp-2.29/work/clisp/src/locale -Efile UTF-8 -norc -q -c wildcard.lisp Compiling file /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard/wildcard.lisp ... Compilation of file /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard/wildcard.lisp is finished. 0 errors, 0 warnings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I../ -c wildcard.c gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DEXPORT_SYSCALLS -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -I. -DHAVE_CONFIG_H -D_LIBC -c fnmatch.c In file included from /usr/include/features.h:314, from /usr/include/errno.h:29, from fnmatch.c:27: /usr/include/gnu/stubs.h:7:3: #error Applications may not define the macro _LIBC make[1]: *** [fnmatch.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/clisp-2.29/work/clisp/src/wildcard' make: *** [wildcard] Error 2 my emerge info: Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) Processor USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tcltk java X sdl gpm tcpd pam libwww ssl python imlib oggvorbis gtk qt kde motif opengl aalib acpi alsa apache2 cdr dga esd flash gd -gnome innodb jikes maildir mozilla mysql nocardbus oav perl samba sasl slp -svga tetex tiff usb wmf xface zeo" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-tbird -O2 -pipe" CXXFLAGS="-mcpu=athlon-tbird -O2 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" FEATURES="sandbox ccache"
I can't get around to fixing this anytime soon, I'm afraid.
how about 2.30
please get back to us with clisp 2.30 results.
I fixed this by in clisp 2.29 by: 1. cd /var/tmp/portage/clisp-2.29/work/clisp/src/wildcard 2. emacs Makefile.in 3. Delete the "-D_LIBC" on line 27 4. Then restart the emerge It seems that glibc 3.2 doesn't like applications defining "_LIBC"
I was having trouble compiling clisp 2.29 also, then I tried Van Gale suggestions and the problem was gone. By the way, clisp 2.30/clisp 2.31 do emerge fine, but app-sci/maxima needs clisp 2.29, because it crashes during compile time if you have clisp 2.30/2.31. I think Van Gale's suggestion should be added as a patch to the clisp 2.29 ebuild.
fixed already it seems