Bug#769309: ecl: This version does not compile backend.lisp file of cl-swank package with Emacs24 in amd64.

José Roberto B. de A. Monteiro jordeam at gmail.com
Wed Nov 12 18:02:43 UTC 2014


Package: ecl
Version: 13.5.1+dfsg2-4.2
Severity: normal
Tags: upstream

Dear Maintainer,

Calling slime from Emacs 24 is given a compilation error due to innapropriate
library path include when calling gcc to generate backend.fas from
backend.lisp. The calling function where:

(RUN-PROGRAM "gcc" '("-o" ".cache/common-lisp/ecl-13.5.1-unknown-
linux-x64/usr/share/common-lisp/source/slime/swank/swank/fasl/ecl-13.5.1-linux-
x86_64/backend.fas" "/home/jrm/.cache/common-lisp/ecl-13.5.1-unknown-
linux-x64/usr/share/common-lisp/source/slime/swank/swank/fasl/ecl-13.5.1-linux-
x86_64/backend.o" "-Wl,--rpath,/usr/lib/" "-shared" "-lecl" "-lgmp" "-lgc"
"-lffi" "-lpthread" "-ldl" "-lm"))

The line above has "-L/usr/lib/x86_64-linux-gnu" missing. So, the correct
compile command would be:

(RUN-PROGRAM "gcc" '("-o" ".cache/common-lisp/ecl-13.5.1-unknown-
linux-x64/usr/share/common-lisp/source/slime/swank/swank/fasl/ecl-13.5.1-linux-
x86_64/backend.fas" "-L/usr/lib/" "-L/usr/lib/x86_64-linux-gnu"
"/home/jrm/.cache/common-lisp/ecl-13.5.1-unknown-linux-x64/usr/share/common-
lisp/source/slime/swank/swank/fasl/ecl-13.5.1-linux-x86_64/backend.o" "-Wl,--
rpath,/usr/lib/" "-shared" "-lecl" "-lgmp" "-lgc" "-lffi" "-lpthread" "-ldl"
"-lm"))

Running the command by hand, backend.fas is generated and slime works well in
Emacs24.

Regards,

J. Roberto




-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ecl depends on:
ii  gcc              4:4.9.1-5
ii  libc6            2.19-12
ii  libffi6          3.1-2
ii  libgc-dev        1:7.2d-6.4
ii  libgc1c2         1:7.2d-6.4
ii  libgmp10         2:6.0.0+dfsg-6
ii  libgmp3-dev      2:6.0.0+dfsg-6
ii  libncurses5-dev  5.9+20140913-1

ecl recommends no packages.

Versions of packages ecl suggests:
pn  ecl-doc  <none>
ii  slime    2:2.10.1-2

-- no debconf information



More information about the pkg-common-lisp-devel mailing list