Summary: | stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | [OLD] Development | Assignee: | Common Lisp Bugs <common-lisp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, ppc, rose, ruitra |
Priority: | High | Keywords: | STABLEREQ |
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 | ||
Attachments: |
adhoc patch for compilation
2.41-linux-headers.patch |
Description
Ulrich Müller
2007-04-01 21:06:16 UTC
The same here. 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. 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.
The patch works for me. Thanks. (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. Created attachment 119855 [details, diff]
2.41-linux-headers.patch
Official patch from upstream. Joshua, may I commit this?
(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. *** Bug 191198 has been marked as a duplicate of this bug. *** We need this stabilized for current stable linux headers. Reopen. Adding ppc-macos so they can reconsider their keyword. x86 stable (In reply to comment #10) > Adding ppc-macos so they can reconsider their keyword. Wrong bug. :( Sorry for the bug spam. 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 (In reply to comment #13) > doesn't seem to like fastcgi on ppc: Same on x86 with USE=fastcgi. (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. O.K., so bug #154889 is fixed now (no revbump). ppc: please retry. x86: maybe you should also check again with USE=fastcgi. x86 happy Fixed on ppc too, marked ppc stable. Closing since we're the last arch. |