Sébastien Villemot <sebastien.ville...@ens.fr> writes:

> Package: ecl
> Version: 9.6.1-1squeeze2
>
> The bug is still present in 9.6.1-1squeeze2.
>
> In my squeeze chroot, I get the following:
>
>
> (squeeze)sebastien@brouzouf:~$ sudo apt-get install ecl
[...]
> Setting up ecl (9.6.1-1squeeze2) ...
> /usr/lib/common-lisp/bin/ecl.sh loading and dumping clc.
> ;;; Loading "/usr/lib/ecl/install-clc.lisp"
> ;;; Loading #P"/usr/lib/ecl-9.6.1/cmp.fas"
> ;;; Loading #P"/usr/lib/ecl-9.6.1/sysfun.lsp"
>
> Saving to new-ecl...;;; Warning: The function proclamation (SETF 
> MODULE-COMPONENTS-BY-NAME) ((T T) T) is not valid.
> (squeeze)sebastien@brouzouf:~$ ecl
> bash: ecl: command not found

More information on this bug:

The /usr/bin/ecl binary is not created by /usr/lib/ecl/install-clc.lisp,
as it ought to be. This latter script fails silently.

The cause of the failure is a failure to compile cl-asdf, for two reasons:

a) asdf.lisp calls function ext:lisp-implementation-vcs-id, which is not
   implemented in ecl 9.6.1 (it was implemented in a later version)

b) the form (declaim (ftype (function (t t) t) (setf 
module-components-by-name)))
   is considered illegal by ecl, and the compilation aborts

If the two above issues are worked around (for example by manually
editing asdf.lisp), then /usr/bin/ecl is correctly created.

It therefore looks like the version of cl-asdf in squeeze is too recent
for the version of ecl there.

I am not sure how to fix this bug. (a) is easy to fix by backporting the
function from later versions of ecl (I have done it locally and it seems
to work). I don't know what to do for (b).

Also note that the removal of the potsrm script in 9.6.1-1squeeze2 was
not useless since it ensures that the upgrade from squeeze to wheezy is
smooth (in wheezy, /usr/bin/ecl is directly shipped in the package, and
would otherwise have been removed by the postrm script). However, if a
new upload to squeeze is done, then /usr/bin/ecl should be removed by
the prerm script (this won't break the upgrade path to wheezy, and will
ensure a correct removal of the package).

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: pgpWzuKPAfsLM.pgp
Description: PGP signature

_______________________________________________
pkg-common-lisp-devel mailing list
pkg-common-lisp-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-common-lisp-devel

Reply via email to