[cl-debian] Bug#329675: marked as done (cl-webactions: With SBCL, fails to serve pages.)

Debian Bug Tracking System owner at bugs.debian.org
Tue Oct 4 09:33:18 UTC 2005


Your message dated Tue, 04 Oct 2005 02:17:07 -0700
with message-id <E1EMiv5-0005yu-00 at spohr.debian.org>
and subject line Bug#329675: fixed in cl-portable-aserve 1.2.42+cvs.2005.08.05-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Sep 2005 16:53:20 +0000
>From qdsmgbm02 at sneakemail.com Thu Sep 22 09:53:20 2005
Return-path: <qdsmgbm02 at sneakemail.com>
Received: from smtp3-g19.free.fr [212.27.42.29] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EIUJz-0004LV-00; Thu, 22 Sep 2005 09:53:19 -0700
Received: from kloug (nor75-11-82-66-224-145.fbx.proxad.net [82.66.224.145])
	by smtp3-g19.free.fr (Postfix) with ESMTP id 50C6624B39;
	Thu, 22 Sep 2005 18:53:17 +0200 (CEST)
Received: from kmkaplan by kloug with local (Exim 4.52)
	id 1EIUJx-00028i-7W; Thu, 22 Sep 2005 18:53:17 +0200
Content-Type: multipart/mixed; boundary="===============0213032128=="
MIME-Version: 1.0
From: Kim Minh Kaplan <qdsmgbm02 at sneakemail.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: cl-webactions: With SBCL, fails to serve pages.
X-Mailer: reportbug 3.17
Date: Thu, 22 Sep 2005 18:53:17 +0200
Message-Id: <E1EIUJx-00028i-7W at kloug>
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.2 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,
	HAS_PACKAGE,UPPERCASE_25_50 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0213032128==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: cl-webactions
Version: 1.2.42+cvs.2005.08.05-4
Severity: important
Tags: patch


When running with SBCL, the function NET.ASERVE::FILESYS-INODE does not 
work properly: it calls SB-UNIX:UNIX-LSTAT with a SIMPLE-STRING argument 
while it only works for SIMPLE-BASE-STRING.

The attached patch works around the problem.  It does not solve it for 
non ASCII filenames.

Here is a sample of the bug:

$ sbcl --eval '(clc:clc-require :webactions)' \
>     --eval '(net.aserve:start :port 7000)' \
>     --eval '(net.aserve:webaction-project "foo" :index "index")'
This is SBCL 0.9.3.72, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
STYLE-WARNING: redefining INPUT-FILES (COMPILE-OP UNIX-DSO) in DEFMETHOD
STYLE-WARNING: redefining OUTPUT-FILES (COMPILE-OP UNIX-DSO) in DEFMETHOD
STYLE-WARNING: redefining PERFORM :AFTER (COMPILE-OP UNIX-DSO) in DEFMETHOD
STYLE-WARNING: redefining OUTPUT-FILES (COMPILE-OP C-SOURCE-FILE) in DEFMETHOD
STYLE-WARNING: redefining PERFORM (COMPILE-OP C-SOURCE-FILE) in DEFMETHOD
STYLE-WARNING: redefining PERFORM (LOAD-OP C-SOURCE-FILE) in DEFMETHOD
STYLE-WARNING: redefining PERFORM (LOAD-OP UNIX-DSO) in DEFMETHOD
STYLE-WARNING: implicitly creating new generic function URI-P
STYLE-WARNING: implicitly creating new generic function URI-PARSED-PATH
STYLE-WARNING: implicitly creating new generic function (SETF URI-PARSED-PATH)
STYLE-WARNING: implicitly creating new generic function URI
STYLE-WARNING: implicitly creating new generic function MERGE-URIS
STYLE-WARNING: implicitly creating new generic function ENOUGH-URI
STYLE-WARNING: implicitly creating new generic function INTERN-URI
STYLE-WARNING: implicitly creating new generic function RECEIVE-FROM
STYLE-WARNING: implicitly creating new generic function SEND-TO
STYLE-WARNING: implicitly creating new generic function GET-REQUEST-BODY
STYLE-WARNING: implicitly creating new generic function START-MULTIPART-CAPTURE
STYLE-WARNING: implicitly creating new generic function GET-MULTIPART-HEADER
STYLE-WARNING: implicitly creating new generic function GET-MULTIPART-SEQUENCE
STYLE-WARNING: implicitly creating new generic function REQUEST-QUERY
STYLE-WARNING: implicitly creating new generic function GET-BASIC-AUTHORIZATION
STYLE-WARNING: implicitly creating new generic function SET-BASIC-AUTHORIZATION
STYLE-WARNING:
   defining *HEADER-BLOCK-SIZE* as a constant, even though the name follows
the usual naming convention (names like *FOO*) for special variables
STYLE-WARNING:
   defining *HEADER-BLOCK-USED-SIZE-INDEX* as a constant, even though the name follows
the usual naming convention (names like *FOO*) for special variables
STYLE-WARNING:
   defining *HEADER-BLOCK-DATA-START-INDEX* as a constant, even though the name follows
the usual naming convention (names like *FOO*) for special variables
STYLE-WARNING:
   defining *HEADERS-COUNT* as a constant, even though the name follows
the usual naming convention (names like *FOO*) for special variables
STYLE-WARNING: implicitly creating new generic function LOOKUP-MIME-TYPE
STYLE-WARNING: implicitly creating new generic function CONTENT-LENGTH
STYLE-WARNING: implicitly creating new generic function TRANSFER-MODE
STYLE-WARNING: implicitly creating new generic function PUBLISH-ENTITY
STYLE-WARNING: implicitly creating new generic function UNPUBLISH-ENTITY
STYLE-WARNING: implicitly creating new generic function HANDLE-REQUEST
STYLE-WARNING: implicitly creating new generic function FAILED-REQUEST
STYLE-WARNING: implicitly creating new generic function DENIED-REQUEST
STYLE-WARNING: implicitly creating new generic function STANDARD-LOCATOR
STYLE-WARNING: implicitly creating new generic function UNPUBLISH-LOCATOR
STYLE-WARNING: implicitly creating new generic function MAP-ENTITIES
STYLE-WARNING: implicitly creating new generic function PROCESS-ENTITY
STYLE-WARNING: implicitly creating new generic function COMPUTE-STRATEGY
STYLE-WARNING: implicitly creating new generic function SEND-RESPONSE-HEADERS
STYLE-WARNING: implicitly creating new generic function COMPUTE-RESPONSE-STREAM
STYLE-WARNING: implicitly creating new generic function SET-COOKIE-HEADER
STYLE-WARNING: implicitly creating new generic function TIMEDOUT-RESPONSE
STYLE-WARNING: implicitly creating new generic function AUTHORIZE
STYLE-WARNING: implicitly creating new generic function LOGMESS
STYLE-WARNING: implicitly creating new generic function LOGMESS-STREAM
STYLE-WARNING: implicitly creating new generic function BRIEF-LOGMESS
STYLE-WARNING: implicitly creating new generic function LOG-REQUEST
STYLE-WARNING:
   implicitly creating new generic function READ-CLIENT-RESPONSE-HEADERS
STYLE-WARNING:
   implicitly creating new generic function CLIENT-REQUEST-READ-SEQUENCE
STYLE-WARNING: implicitly creating new generic function CLIENT-REQUEST-CLOSE
STYLE-WARNING:
   implicitly creating new generic function CLIENT-RESPONSE-HEADER-VALUE
STYLE-WARNING: implicitly creating new generic function SAVE-COOKIE
STYLE-WARNING: implicitly creating new generic function COMPUTE-COOKIE-STRING
STYLE-WARNING:
   defining *BROWSER-LEVEL* as a constant, even though the name follows
the usual naming convention (names like *FOO*) for special variables
STYLE-WARNING: implicitly creating new generic function FIND-URI-INFO
STYLE-WARNING: redefining MAKE-LOAD-FORM (URI) in DEFMETHOD
;;; Please wait, recompiling library...
STYLE-WARNING:
   implicitly creating new generic function INITIALIZE-WEBSESSION-MASTER
STYLE-WARNING: implicitly creating new generic function NEXT-WEBSESSION-ID
STYLE-WARNING:
   implicitly creating new generic function NOTE-WEBSESSION-REFERENCED
STYLE-WARNING: redefining REQUEST-VARIABLE-VALUE in DEFUN
STYLE-WARNING: redefining .INV-REQUEST-VARIABLE-VALUE in DEFUN
* 5-aserve-worker: 09/22/05 - 18:43:52 - while processing command "GET /index HTTP/1.1"
got error The value "." is not of type (SIMPLE-ARRAY BASE-CHAR (*)).

In another window I did:

$ telnet localhost 7000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET /index HTTP/1.1
Host: localhost

To get this error.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages cl-webactions depends on:
ii  cl-aserve        1.2.42+cvs.2005.08.05-4 Portable Aserve
ii  common-lisp-cont 4.18                    This is a Common Lisp source and c

cl-webactions recommends no packages.

-- no debconf information

--===============0213032128==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="acl-compat.diff"

--- acl-compat/sbcl/acl-excl.lisp	2005/09/22 16:22:02	1.1
+++ acl-compat/sbcl/acl-excl.lisp	2005/09/22 16:50:27
@@ -26,11 +26,14 @@
   (error "unix-signal not implemented in acl-excl-sbcl.lisp"))
 
 (defun filesys-inode (path)
+  ;; FIXME: How do we handle non ASCII paths?
+  (let ((path (coerce path 'simple-base-string)))
   (multiple-value-bind (found ign inode)
       (sb-unix::unix-lstat path)
     (if found
         inode
         (error "path ~s does not exist" path))))
+  )
 
 (defun cl-internal-real-time ()
   (round (/ (get-internal-real-time) internal-time-units-per-second)))

--===============0213032128==--

---------------------------------------
Received: (at 329675-close) by bugs.debian.org; 4 Oct 2005 09:18:11 +0000
>From katie at spohr.debian.org Tue Oct 04 02:18:11 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EMiv5-0005yu-00; Tue, 04 Oct 2005 02:17:07 -0700
From: Peter Van Eynde <pvaneynd at debian.org>
To: 329675-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#329675: fixed in cl-portable-aserve 1.2.42+cvs.2005.08.05-5
Message-Id: <E1EMiv5-0005yu-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Tue, 04 Oct 2005 02:17:07 -0700
Delivered-To: 329675-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: cl-portable-aserve
Source-Version: 1.2.42+cvs.2005.08.05-5

We believe that the bug you reported is fixed in the latest version of
cl-portable-aserve, which is due to be installed in the Debian FTP archive:

cl-acl-compat_1.2.42+cvs.2005.08.05-5_all.deb
  to pool/main/c/cl-portable-aserve/cl-acl-compat_1.2.42+cvs.2005.08.05-5_all.deb
cl-aserve_1.2.42+cvs.2005.08.05-5_all.deb
  to pool/main/c/cl-portable-aserve/cl-aserve_1.2.42+cvs.2005.08.05-5_all.deb
cl-htmlgen_1.2.42+cvs.2005.08.05-5_all.deb
  to pool/main/c/cl-portable-aserve/cl-htmlgen_1.2.42+cvs.2005.08.05-5_all.deb
cl-portable-aserve_1.2.42+cvs.2005.08.05-5.diff.gz
  to pool/main/c/cl-portable-aserve/cl-portable-aserve_1.2.42+cvs.2005.08.05-5.diff.gz
cl-portable-aserve_1.2.42+cvs.2005.08.05-5.dsc
  to pool/main/c/cl-portable-aserve/cl-portable-aserve_1.2.42+cvs.2005.08.05-5.dsc
cl-webactions_1.2.42+cvs.2005.08.05-5_all.deb
  to pool/main/c/cl-portable-aserve/cl-webactions_1.2.42+cvs.2005.08.05-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 329675 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Van Eynde <pvaneynd at debian.org> (supplier of updated cl-portable-aserve package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  3 Oct 2005 12:02:26 +0200
Source: cl-portable-aserve
Binary: cl-acl-compat cl-webactions cl-htmlgen cl-aserve
Architecture: source all
Version: 1.2.42+cvs.2005.08.05-5
Distribution: unstable
Urgency: low
Maintainer: Peter Van Eynde <pvaneynd at debian.org>
Changed-By: Peter Van Eynde <pvaneynd at debian.org>
Description: 
 cl-acl-compat - Compatibility layer for Allegro Common Lisp
 cl-aserve  - Portable Aserve
 cl-htmlgen - HTML generation library for Common Lisp programs
 cl-webactions - HTTP dispatch library for cl-aserve
Closes: 329125 329675
Changes: 
 cl-portable-aserve (1.2.42+cvs.2005.08.05-5) unstable; urgency=low
 .
   * removed redundant write-vector definition for cmucl
     (Closes: #329125)
   * fixed unicode problem with sbcl (Closes: #329675)
Files: 
 d1f768f2d7f5df4dbbf837eedbf6a747 707 web optional cl-portable-aserve_1.2.42+cvs.2005.08.05-5.dsc
 3971ace886baf547e4721449e65389e3 3024 web optional cl-portable-aserve_1.2.42+cvs.2005.08.05-5.diff.gz
 1f3d11b8b800419a2286d9382eb8d5a2 416922 web optional cl-aserve_1.2.42+cvs.2005.08.05-5_all.deb
 3a5e4062ea64419c615eae7c50072700 64414 web optional cl-acl-compat_1.2.42+cvs.2005.08.05-5_all.deb
 b2830933c4c587d68a6b71c0035a802d 31592 web optional cl-htmlgen_1.2.42+cvs.2005.08.05-5_all.deb
 6ffe4b49c0d2267fd959de37a69f4cec 35310 web optional cl-webactions_1.2.42+cvs.2005.08.05-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDQT3v11ldN0tyliURAnyjAKDAehJcXCOamo7KAg5sE9jRrQnaSgCfWLDn
NsiQSSEnMNZnMuEmN2nMEE0=
=JCLx
-----END PGP SIGNATURE-----





More information about the Cl-debian mailing list