Bug 173050 - stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2
|
Bug#:
173050
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: common-lisp@gentoo.org
|
Reported By: ulm@gentoo.org
|
|
Component: Development
|
|
|
URL:
|
|
Summary: stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2
|
|
Keywords: STABLEREQ
|
|
Status Whiteboard:
|
|
Opened: 2007-04-01 21:06 0000
|
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
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 an attachment (id=117650) [details]
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] [details]
> 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.
*** 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.
(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.
Fixed on ppc too, marked ppc stable. Closing since we're the last arch.