<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>173050</bug_id>
          
          <creation_ts>2007-04-01 21:06 0000</creation_ts>
          <short_desc>stabilise dev-lisp/clisp-2.41 for linux-headers-2.6.20-r2</short_desc>
          <delta_ts>2007-09-09 17:56:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Development</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>STABLEREQ</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>159304</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulm@gentoo.org</reporter>
          <assigned_to>common-lisp@gentoo.org</assigned_to>
          <cc>gentoo@skinnayt.ca</cc>
    
    <cc>ppc@gentoo.org</cc>
    
    <cc>rose@rz.uni-potsdam.de</cc>
    
    <cc>ruitra@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-04-01 21:06:16 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rose@rz.uni-potsdam.de</who>
            <bug_when>2007-04-03 14:07:19 0000</bug_when>
            <thetext>The same here.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@skinnayt.ca</who>
            <bug_when>2007-04-03 23:40:38 0000</bug_when>
            <thetext>This will also fail with sys-kernel/linux-headers-2.6.20-r1 as that ebuild doesn&apos;t install the asm/page.h file. sys-kernel/linux-headers-2.6.20 works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>oku.ns@dream.com</who>
            <bug_when>2007-04-29 17:21:44 0000</bug_when>
            <thetext>Created an attachment (id=117650)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tassilo@member.fsf.org</who>
            <bug_when>2007-04-30 07:42:18 0000</bug_when>
            <thetext>The patch works for me. Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-05-20 19:59:22 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; Created an attachment (id=117650) [edit]
&gt; adhoc patch for compilation

I&apos;ve contacted upstream: &lt;asm/page.h&gt; can simply be omitted since SHMLBA is already defined in &lt;sys/shm.h&gt; (which is included a few lines above). So no need to include &lt;linux/shm.h&gt; again.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-05-20 23:44:40 0000</bug_when>
            <thetext>Created an attachment (id=119855)
2.41-linux-headers.patch

Official patch from upstream. Joshua, may I commit this?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-05-21 18:26:02 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Created an attachment (id=119855) [edit]
&gt; 2.41-linux-headers.patch
&gt; Official patch from upstream. Joshua, may I commit this?

Fixed.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-03 23:36:57 0000</bug_when>
            <thetext>*** Bug 191198 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2007-09-03 23:38:47 0000</bug_when>
            <thetext>We need this stabilized for current stable linux headers. Reopen.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-04 11:51:33 0000</bug_when>
            <thetext>Adding ppc-macos so they can reconsider their keyword.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-09-04 19:43:13 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-05 05:13:40 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; Adding ppc-macos so they can reconsider their keyword.

Wrong bug. :(
Sorry for the bug spam.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nixnut@gentoo.org</who>
            <bug_when>2007-09-08 09:04:19 0000</bug_when>
            <thetext>doesn&apos;t seem to like fastcgi on ppc:

CLISP=&quot;`pwd`/lisp.run -M `pwd`/lispinit.mem -B `pwd` -N `pwd`/locale -E 1:1 -Efile UTF-8 -Eterminal UTF-8 -norc&quot; ; cd fastcgi ; dots=`echo fastcgi/ | sed -e &apos;s,[^/][^/]*//*,../,g&apos; -e &apos;s,/$,,g&apos;` ; gmake clisp-module CC=&quot;gcc&quot; CPPFLAGS=&quot;&quot; CFLAGS=&quot;-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.&quot; INCLUDES=&quot;$dots&quot; CLFLAGS=&quot;-x none&quot; LIBS=&quot;libcharset.a libavcall.a libcallback.a /usr/lib/libreadline.so -lncurses -ldl   -L/usr/lib -lsigsegv -L/usr/lib -lc&quot; RANLIB=&quot;ranlib&quot; CLISP=&quot;$CLISP -q&quot;
gmake[1]: Entering directory `/var/tmp/portage/dev-lisp/clisp-2.41/work/clisp-2.41/build/fastcgi&apos;
/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 &apos;module__fastcgi__init_function_2&apos;:
fastcgi.c:27: error: &apos;fcgi_getenv&apos; 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: &apos;fcgi_env&apos; undeclared (first use in this function)
fastcgi.c:29: error: &apos;fcgi_read_stdin&apos; undeclared (first use in this function)
fastcgi.c:30: error: &apos;fcgi_write_stdout&apos; undeclared (first use in this function)
fastcgi.c:31: error: &apos;fcgi_write_stderr&apos; undeclared (first use in this function)
fastcgi.c:32: error: &apos;fcgi_accept_wrapper&apos; undeclared (first use in this function)
fastcgi.c:33: error: &apos;fcgi_finish_wrapper&apos; undeclared (first use in this function)
fastcgi.c:34: error: &apos;fcgi_is_cgi_wrapper&apos; undeclared (first use in this function)
gmake[1]: *** [fastcgi.o] Error 1
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-08 09:42:23 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; doesn&apos;t seem to like fastcgi on ppc:

Same on x86 with USE=fastcgi.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-08 10:13:10 0000</bug_when>
            <thetext>(In reply to comment #14)
&gt; &gt; doesn&apos;t seem to like fastcgi on ppc:
&gt; Same on x86 with USE=fastcgi.

The patch attached to bug #154889 (replaces 2.41-fastcgi-Makefile-gentoo.patch) fixes the problem for me.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ulm@gentoo.org</who>
            <bug_when>2007-09-08 20:05:46 0000</bug_when>
            <thetext>O.K., so bug #154889 is fixed now (no revbump).
ppc: please retry.
x86: maybe you should also check again with USE=fastcgi.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2007-09-08 21:47:59 0000</bug_when>
            <thetext>x86 happy</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>josejx@gentoo.org</who>
            <bug_when>2007-09-09 17:56:04 0000</bug_when>
            <thetext>Fixed on ppc too, marked ppc stable.  Closing since we&apos;re the last arch.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>117650</attachid>
            <date>2007-04-29 17:21 0000</date>
            <desc>adhoc patch for compilation</desc>
            <filename>clisp-2.41-shmlba.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGNsaXNwLTIuNDEvc3JjL3VuaXguZC5vcmlnCTIwMDctMDQtMzAgMDE6NDc6NTEuMDAwMDAw
MDAwICswOTAwCisrKyBjbGlzcC0yLjQxL3NyYy91bml4LmQJMjAwNy0wNC0zMCAwMTozODozMi4w
MDAwMDAwMDAgKzA5MDAKQEAgLTE3NSw3ICsxNzUsMTIgQEAKICAgICAjaW5jbHVkZSA8c3lzL21t
dS5oPiAvKiBmb3IgU0hNTEJBICovCiAgICNlbmRpZgogICAjaWZkZWYgVU5JWF9MSU5VWAotICAg
ICNpbmNsdWRlIDxhc20vcGFnZS5oPiAvKiBmb3IgU0hNTEJBIG9uIExpbnV4IDIuMCAqLworICAg
ICNpbmNsdWRlIDxsaW51eC92ZXJzaW9uLmg+CisgICAgI2lmIExJTlVYX1ZFUlNJT05fQ09ERSA8
IEtFUk5FTF9WRVJTSU9OKDIsNiwwKQorICAgICAgI2luY2x1ZGUgPGFzbS9wYWdlLmg+IC8qIGZv
ciBTSE1MQkEgb24gTGludXggMi4wICovCisgICAgI3RoZW4KKyAgICAgICNpbmNsdWRlIDxsaW51
eC9zaG0uaD4gLyogZm9yIFNITUxCQSBvbiBMaW51eCAyLjYgKi8KKyAgICAjZW5kaWYKICAgI2Vu
ZGlmCiAgICNpZiBkZWZpbmVkKFVOSVhfU1VOT1M0KSB8fCBkZWZpbmVkKFVOSVhfU1VOT1M1KQog
ICAgICNkZWZpbmUgU0hNTUFYICAweDEwMDAwMCAvKiBtYXhpbXVtIHNoYXJlZCBtZW1vcnkgc2Vn
bWVudCBzaXplID0gMSBNQiAqLwo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>119855</attachid>
            <date>2007-05-20 23:44 0000</date>
            <desc>2.41-linux-headers.patch</desc>
            <filename>2.41-linux-headers.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">MjAwNy0wNS0yMCAgQnJ1bm8gSGFpYmxlICA8YnJ1bm9AY2xpc3Aub3JnPgoKCSogdW5peC5kIFtV
TklYX0xJTlVYICYmIFVOSVhfR05VXTogRG9uJ3QgaW5jbHVkZSA8YXNtL3BhZ2UuaD4uCgkqIGxp
c3BiaWJsLmQgKFVOSVhfR05VKTogTW92ZSBkZWZpbml0aW9uIGRvd24uCglSZXBvcnRlZCBieSBV
bHJpY2ggTcO8bGxlciA8dWxtQGdlbnRvby5vcmc+LgoKLS0tIHNyYy91bml4LmQJMjAwNi8wNS8y
MyAxMjozMjoyNQkxLjc2CisrKyBzcmMvdW5peC5kCTIwMDcvMDUvMjAgMTM6NTk6NDMJMS43NwpA
QCAtMTc0LDcgKzE3NCw3IEBACiAgICNpZmRlZiBVTklYX0FVWAogICAgICNpbmNsdWRlIDxzeXMv
bW11Lmg+IC8qIGZvciBTSE1MQkEgKi8KICAgI2VuZGlmCi0gICNpZmRlZiBVTklYX0xJTlVYCisg
ICNpZiBkZWZpbmVkKFVOSVhfTElOVVgpICYmICFkZWZpbmVkKFVOSVhfR05VKQogICAgICNpbmNs
dWRlIDxhc20vcGFnZS5oPiAvKiBmb3IgU0hNTEJBIG9uIExpbnV4IDIuMCAqLwogICAjZW5kaWYK
ICAgI2lmIGRlZmluZWQoVU5JWF9TVU5PUzQpIHx8IGRlZmluZWQoVU5JWF9TVU5PUzUpCi0tLSBz
cmMvbGlzcGJpYmwuZAkyMDA3LzA0LzA1IDAxOjU2OjQ3CTEuNzE4CisrKyBzcmMvbGlzcGJpYmwu
ZAkyMDA3LzA1LzIwIDIyOjQ5OjU5CTEuNzE5CkBAIC0zNzYsOSArMzc2LDYgQEAKICNpZiBkZWZp
bmVkKFVOSVhfTUFDT1NYKSAmJiBkZWZpbmVkKEhBVkVfTVNZTkMpCiAgICNkZWZpbmUgVU5JWF9E
QVJXSU4gICMgTWFjT1MgWC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