Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57155 - clisp-2.33.2 fails to compile
Summary: clisp-2.33.2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Lisp Project
URL: https://sourceforge.net/tracker/?func...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 04:02 UTC by Michael Knight
Modified: 2004-09-07 19:40 UTC (History)
1 user (show)

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


Attachments
New ebuild and patch to fix compile problem. (clisp-2.33.2-r1.tar.bz2,2.45 KB, application/octet-stream)
2004-07-27 09:25 UTC, Matthew Schulkind
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Knight 2004-07-15 04:02:48 UTC
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"
Comment 1 Michael Knight 2004-07-24 04:07:33 UTC
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).
Comment 2 Matthew Schulkind 2004-07-27 09:25:49 UTC
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.
Comment 3 Matthew Schulkind 2004-07-27 09:27:34 UTC
The problem fixed by the patch above seems to be created by a glibc change. Using sigpause now requires choosing which one you want.
Comment 4 Michael Knight 2004-07-28 00:44:36 UTC
Thanks Matt, works great!

Comment 5 Matthew Schulkind 2004-08-18 18:11:54 UTC
Anyone still watching this bug?
Comment 6 Michael Knight 2004-08-18 19:13:08 UTC
I am :) Should it be marked as fixed now?
Comment 7 Matthew Schulkind 2004-08-19 18:47:10 UTC
It's not fixed until it's in portage.
Comment 8 Michael Knight 2004-08-19 20:05:57 UTC
Oh fair enough
Comment 9 Benjamin Collins 2004-09-04 10:56:40 UTC
I noticed today that this hasn't been fixed in portage yet...

just FYI.
Comment 10 Kurt Lieber (RETIRED) gentoo-dev 2004-09-07 16:38:26 UTC
re-assigning per request.
Comment 11 Matthew Kennedy (RETIRED) gentoo-dev 2004-09-07 19:40:00 UTC
Matthew -- thanks for the patch.  This has been incorporated into dev-lisp/clisp-2.33.2-r1.