Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 173050
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Common Lisp Bugs <common-lisp@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ulrich Müller <ulm@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
clisp-2.41-shmlba.patch adhoc patch for compilation patch OKUMURA N. Shin-ya 2007-04-29 17:21 0000 647 bytes Details | Diff
2.41-linux-headers.patch 2.41-linux-headers.patch patch Ulrich Müller 2007-05-20 23:44 0000 1.41 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173050 depends on: Show dependency tree
Bug 173050 blocks: 159304
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Juergen Rose 2007-04-03 14:07:19 0000 -------
The same here.

------- Comment #2 From Trevor Schellhorn 2007-04-03 23:40:38 0000 -------
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 From OKUMURA N. Shin-ya 2007-04-29 17:21:44 0000 -------
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.

------- Comment #4 From Tassilo Horn 2007-04-30 07:42:18 0000 -------
The patch works for me. Thanks.

------- Comment #5 From Ulrich Müller 2007-05-20 19:59:22 0000 -------
(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.

------- Comment #6 From Ulrich Müller 2007-05-20 23:44:40 0000 -------
Created an attachment (id=119855) [details]
2.41-linux-headers.patch

Official patch from upstream. Joshua, may I commit this?

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

Fixed.

------- Comment #8 From Jakub Moc (RETIRED) 2007-09-03 23:36:57 0000 -------
*** Bug 191198 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2007-09-03 23:38:47 0000 -------
We need this stabilized for current stable linux headers. Reopen.

------- Comment #10 From Ulrich Müller 2007-09-04 11:51:33 0000 -------
Adding ppc-macos so they can reconsider their keyword.

------- Comment #11 From Christian Faulhammer 2007-09-04 19:43:13 0000 -------
x86 stable

------- Comment #12 From Ulrich Müller 2007-09-05 05:13:40 0000 -------
(In reply to comment #10)
> Adding ppc-macos so they can reconsider their keyword.

Wrong bug. :(
Sorry for the bug spam.

------- Comment #13 From nixnut 2007-09-08 09:04:19 0000 -------
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 From Ulrich Müller 2007-09-08 09:42:23 0000 -------
(In reply to comment #13)
> doesn't seem to like fastcgi on ppc:

Same on x86 with USE=fastcgi.

------- Comment #15 From Ulrich Müller 2007-09-08 10:13:10 0000 -------
(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 From Ulrich Müller 2007-09-08 20:05:46 0000 -------
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 From Christian Faulhammer 2007-09-08 21:47:59 0000 -------
x86 happy

------- Comment #18 From Joe Jezak 2007-09-09 17:56:04 0000 -------
Fixed on ppc too, marked ppc stable.  Closing since we're the last arch.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug