Your message dated Sun, 22 Jul 2007 19:17:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#433814: fixed in cl-uffi 1.6.0-1
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)
--- Begin Message ---
Package: cl-uffi
Version: 1.5.18-2
Severity: normal
Tags: patch
On CMUCL, the uffi:load-foreign-library function attempts to use
sys::load-object-file to load .so files (rather than falling back to
alien:load-foreign as it does for other types). However, unlike
alien:load-foreign, sys::load-object-file reports errors (e.g., failure to
find the library in question) by returning nil. UFFI ignores this
return value (resumably assuming that it would signal an error), and
assumes it succeeded.
The following patch fixes the problem for me.
--- /usr/share/common-lisp/source/uffi/src/libraries.lisp 2006-09-03
03:31:58.000000000 +0100
+++ /tmp/mwooding/libraries.lisp 2007-07-19 17:12:39.000000000 +0100
@@ -96,7 +96,9 @@
#+cmu
(let ((type (pathname-type (parse-namestring filename))))
(if (string-equal type "so")
- (sys::load-object-file filename)
+ (multiple-value-bind (workp whinge)
+ (sys::load-object-file filename)
+ (unless workp (error "~A" whinge)))
(alien:load-foreign filename
:libraries
(convert-supporting-libraries-to-string
This bug makes attempts to load clsql-uffi fail, reporting inability to
find the symbol atol64.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages cl-uffi depends on:
ii common-lisp-controller 6.10 This is a Common Lisp source and c
Versions of packages cl-uffi recommends:
pn cl-uffi-tests <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cl-uffi
Source-Version: 1.6.0-1
We believe that the bug you reported is fixed in the latest version of
cl-uffi, which is due to be installed in the Debian FTP archive:
cl-uffi-tests_1.6.0-1_amd64.deb
to pool/main/c/cl-uffi/cl-uffi-tests_1.6.0-1_amd64.deb
cl-uffi_1.6.0-1.diff.gz
to pool/main/c/cl-uffi/cl-uffi_1.6.0-1.diff.gz
cl-uffi_1.6.0-1.dsc
to pool/main/c/cl-uffi/cl-uffi_1.6.0-1.dsc
cl-uffi_1.6.0-1_all.deb
to pool/main/c/cl-uffi/cl-uffi_1.6.0-1_all.deb
cl-uffi_1.6.0.orig.tar.gz
to pool/main/c/cl-uffi/cl-uffi_1.6.0.orig.tar.gz
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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kevin M. Rosenberg <[EMAIL PROTECTED]> (supplier of updated cl-uffi 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 22 Jul 2007 12:39:49 -0600
Source: cl-uffi
Binary: cl-uffi-tests cl-uffi
Architecture: source all amd64
Version: 1.6.0-1
Distribution: unstable
Urgency: low
Maintainer: Kevin M. Rosenberg <[EMAIL PROTECTED]>
Changed-By: Kevin M. Rosenberg <[EMAIL PROTECTED]>
Description:
cl-uffi - Universal Foreign Function Library for Common Lisp
cl-uffi-tests - Regression tests for UFFI Common Lisp Library
Closes: 433814
Changes:
cl-uffi (1.6.0-1) unstable; urgency=low
.
* New upstream (closes: 433814)
Files:
b79c893bc9c2cd148e1a295aec95ea0d 592 devel optional cl-uffi_1.6.0-1.dsc
00f07bd2fb7baf68bc3b03986a0bb117 145873 devel optional
cl-uffi_1.6.0.orig.tar.gz
9aab0695d060b49a5b8300893afe23d3 8000 devel optional cl-uffi_1.6.0-1.diff.gz
830007ce287e60661ae3fa982fff61ec 114710 devel optional cl-uffi_1.6.0-1_all.deb
2f18471dced223e44b77b10ff52257c6 25686 devel optional
cl-uffi-tests_1.6.0-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGo6vEES7N8sSjgj4RAoGoAJwPViRpSFiGtwlEVGKK8uoNuOk3kgCfRVec
Gv+oeCOPxPtQEc0CsPlDfAQ=
=fdaT
-----END PGP SIGNATURE-----
--- End Message ---