When emerging clisp it gets quite far into the process but fails with a compilation error. Reproducible: Always Steps to Reproduce: 1. emerge clisp Actual Results: After getting a long way into the compilation I get: Wrote file /var/tmp/portage/clisp-2.33.2/work/clisp-2.33.2/build/bindings/glibc/linux.fas Wrote file /var/tmp/portage/clisp-2.33.2/work/clisp-2.33.2/build/bindings/glibc/linux.c 0 errors, 0 warnings gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DDYNAMIC_FFI -I. -I../../ -c linux.c linux.c: In function `module__linux__init_function_2': linux.c:434: error: `sigpause' undeclared (first use in this function) linux.c:434: error: (Each undeclared identifier is reported only once linux.c:434: error: for each function it appears in.) make[1]: *** [linux.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/clisp-2.33.2/work/clisp-2.33.2/build/bindings/glibc' make: *** [bindings/glibc] Error 2 !!! ERROR: dev-lisp/clisp-2.33.2 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! (no error message) Expected Results: Build and tests to complete successfully. The URL given is of a person who looked like they might have been experiencing the same problem as me. He came to the conclusion that it was his glibc snapshot that was screwing things up. I currently have glibc-2.3.4.20040619 with nptl. emerge --info: -------------- Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7) ================================================================= System uname: 2.6.7 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.5.1 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -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/lib/mozilla/defaults/pref /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="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo http://mirror.pacific.net.au/gentoo http://gentoo.oregonstate.edu http://www.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.au.gentoo.org/gentoo-portage" USE="3dnow 3dnow2 X aalib alsa apm arts avi berkdb bonobo cdr crypt cups directfb encode esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc mpeg nas ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex theora truetype x86 xml2 xmms xv xvid zlib"
For what it's worth, I tried emerging previous versions. I had to go all the way back to clisp-2.30 (2.30-r1 also did not work).
Created attachment 36266 [details] New ebuild and patch to fix compile problem. Untar in /usr/local/portage to use. Make sure you copy in *.sh from clisp/files and the patch in clisp/files/2.33.2 to get this to work.
The problem fixed by the patch above seems to be created by a glibc change. Using sigpause now requires choosing which one you want.
Thanks Matt, works great!
Anyone still watching this bug?
I am :) Should it be marked as fixed now?
It's not fixed until it's in portage.
Oh fair enough
I noticed today that this hasn't been fixed in portage yet... just FYI.
re-assigning per request.
Matthew -- thanks for the patch. This has been incorporated into dev-lisp/clisp-2.33.2-r1.