Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173050 - stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2
Summary: stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: STABLEREQ
: 191198 (view as bug list)
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-04-01 21:06 UTC by Ulrich Müller
Modified: 2007-09-09 17:56 UTC (History)
4 users (show)

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


Attachments
adhoc patch for compilation (clisp-2.41-shmlba.patch,647 bytes, patch)
2007-04-29 17:21 UTC, OKUMURA N. Shin-ya
Details | Diff
2.41-linux-headers.patch (2.41-linux-headers.patch,1.41 KB, patch)
2007-05-20 23:44 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-04-01 21:06:16 UTC
dev-lisp/clisp-2.41 fails to compile due to a missing include file /usr/include/asm/page.h:

gcc  -march=pentium4 -O2 -pipe -mfpmath=sse -fforce-addr -W -Wswitch -Wcomment -
Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare
 -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -I. -
c spvw.c
In file included from lispbibl.d:1979,
                 from spvw.d:24:
unix.d:178:56: error: asm/page.h: No such file or directory
In file included from spvw.d:24:
lispbibl.d:9115: warning: register used for two global register variables
make: *** [spvw.o] Error 1
Comment 1 Juergen Rose 2007-04-03 14:07:19 UTC
The same here.

Comment 2 Trevor Schellhorn 2007-04-03 23:40:38 UTC
This will also fail with sys-kernel/linux-headers-2.6.20-r1 as that ebuild doesn't install the asm/page.h file. sys-kernel/linux-headers-2.6.20 works.
Comment 3 OKUMURA N. Shin-ya 2007-04-29 17:21:44 UTC
Created attachment 117650 [details, diff]
adhoc patch for compilation

This patch enables to emerge clisp-2.41.
It probably works with 2.6.x kernel, but not confirmed (I have tested with linux-headers-2.6.20-r2).
It might work with 2.4.x header as well, but the version checking is 2.6.0 or higher.
Comment 4 Tassilo Horn 2007-04-30 07:42:18 UTC
The patch works for me. Thanks.
Comment 5 Ulrich Müller gentoo-dev 2007-05-20 19:59:22 UTC
(In reply to comment #3)
> Created an attachment (id=117650) [edit]
> adhoc patch for compilation

I've contacted upstream: <asm/page.h> can simply be omitted since SHMLBA is already defined in <sys/shm.h> (which is included a few lines above). So no need to include <linux/shm.h> again.
Comment 6 Ulrich Müller gentoo-dev 2007-05-20 23:44:40 UTC
Created attachment 119855 [details, diff]
2.41-linux-headers.patch

Official patch from upstream. Joshua, may I commit this?
Comment 7 Ulrich Müller gentoo-dev 2007-05-21 18:26:02 UTC
(In reply to comment #6)
> Created an attachment (id=119855) [edit]
> 2.41-linux-headers.patch
> Official patch from upstream. Joshua, may I commit this?

Fixed.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 23:36:57 UTC
*** Bug 191198 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-09-03 23:38:47 UTC
We need this stabilized for current stable linux headers. Reopen.
Comment 10 Ulrich Müller gentoo-dev 2007-09-04 11:51:33 UTC
Adding ppc-macos so they can reconsider their keyword.
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-04 19:43:13 UTC
x86 stable
Comment 12 Ulrich Müller gentoo-dev 2007-09-05 05:13:40 UTC
(In reply to comment #10)
> Adding ppc-macos so they can reconsider their keyword.

Wrong bug. :(
Sorry for the bug spam.
Comment 13 nixnut (RETIRED) gentoo-dev 2007-09-08 09:04:19 UTC
doesn't seem to like fastcgi on ppc:

CLISP="`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc" ; cd fastcgi ; dots=`echo fastcgi/ | sed -e 's,[^/][^/]*//*,../,g' -e 's,/$,,g'` ; gmake clisp-module CC="gcc" CPPFLAGS="" CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -DDYNAMIC_FFI -I." INCLUDES="$dots" CLFLAGS="-x none" LIBS="libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl   -L/usr/lib -lsigsegv -L/usr/lib -lc" RANLIB="ranlib" CLISP="$CLISP -q"
gmake[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi'
/var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/lisp.run -M /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/lispinit.mem -B /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build -N /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/locale -E 1:1 -Efile 
UTF-8 -Eterminal UTF-8 -norc -q -c fastcgi.lisp
;; Compiling file /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi/fastcgi.lisp ...
WARNING in CHECK-ACTIVE-REQUEST in lines 141..144 :
variable FUNC is not used.
Misspelled or missing IGNORE declaration?
;; Wrote file /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi/fastcgi.fas
;; Wrote file /var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi/fastcgi.c
0 errors, 1 warning
gcc  -O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O2 -DUNICODE -DDYNAMIC_FFI -I. -I.. -I.. -c fastcgi.c
fastcgi.c: In function 'module__fastcgi__init_function_2':
fastcgi.c:27: error: 'fcgi_getenv' undeclared (first use in this function)
fastcgi.c:27: error: (Each undeclared identifier is reported only once
fastcgi.c:27: error: for each function it appears in.)
fastcgi.c:28: error: 'fcgi_env' undeclared (first use in this function)
fastcgi.c:29: error: 'fcgi_read_stdin' undeclared (first use in this function)
fastcgi.c:30: error: 'fcgi_write_stdout' undeclared (first use in this function)
fastcgi.c:31: error: 'fcgi_write_stderr' undeclared (first use in this function)
fastcgi.c:32: error: 'fcgi_accept_wrapper' undeclared (first use in this function)
fastcgi.c:33: error: 'fcgi_finish_wrapper' undeclared (first use in this function)
fastcgi.c:34: error: 'fcgi_is_cgi_wrapper' undeclared (first use in this function)
gmake[1]: *** [fastcgi.o] Error 1
Comment 14 Ulrich Müller gentoo-dev 2007-09-08 09:42:23 UTC
(In reply to comment #13)
> doesn't seem to like fastcgi on ppc:

Same on x86 with USE=fastcgi.
Comment 15 Ulrich Müller gentoo-dev 2007-09-08 10:13:10 UTC
(In reply to comment #14)
> > doesn't seem to like fastcgi on ppc:
> Same on x86 with USE=fastcgi.

The patch attached to bug #154889 (replaces 2.41-fastcgi-Makefile-gentoo.patch) fixes the problem for me.
Comment 16 Ulrich Müller gentoo-dev 2007-09-08 20:05:46 UTC
O.K., so bug #154889 is fixed now (no revbump).
ppc: please retry.
x86: maybe you should also check again with USE=fastcgi.
Comment 17 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-08 21:47:59 UTC
x86 happy
Comment 18 Joe Jezak (RETIRED) gentoo-dev 2007-09-09 17:56:04 UTC
Fixed on ppc too, marked ppc stable.  Closing since we're the last arch.