Subject: ecl: ecl not working after installation without libgmp3-dev
From: Nuutti Kotivuori <[email-masked]>
To: Debian Bug Tracking System <[email-masked]>
Date: Mon, 03 Apr 2006 14:24:35 +0300

Package: ecl
Version: 0.9h-20060216-2
Severity: normal

Installing the ecl package on a system does not fail, but prints error
messages during installation:

,----
| /usr/lib/common-lisp/bin/ecl.sh loading and dumping clc.
| ;;; Loading "/usr/lib/ecl/install-clc.lisp"
| ;;; Loading #P"/usr/lib/ecl/cmp.fas"
| ;;; Loading #P"/usr/lib/ecl/sysfun.lsp"
| 
| In file included from /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:2:
| /usr/lib/ecl//h/ecl-cmp.h:60:17: error: gmp.h: No such file or directory
| In file included from /usr/lib/ecl//h/ecl-cmp.h:62,
|                  from /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:2:
| /usr/lib/ecl//h/object.h:99: error: syntax error before 'mpz_t'
| /usr/lib/ecl//h/object.h:495: error: field 'big' has incomplete type
| In file included from /usr/lib/ecl//h/ecl-cmp.h:67,
|                  from /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:2:
| /usr/lib/ecl//h/external.h:96: error: syntax error before 'mp_limb_t'
| /usr/lib/ecl//h/external.h:106: error: syntax error before '}' token
| /usr/lib/ecl//h/external.h:302: error: syntax error before 'hi'
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c: In function 'LC2appendf':
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:20: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:27: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:29: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:31: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:33: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:35: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:37: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c: In function 'L8compile_common_lisp_controller_v5':
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:182: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c: In function 'LC6fasl_filename':
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:222: error: dereferencing pointer to incomplete type
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c: In function 'LC5system_fasl_filename':
| /var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c:240: error: dereferencing pointer to incomplete type
| An error occurred during initialization:
| (SYSTEM "i486-linux-gnu-gcc  -I../include -g -O2 -fPIC -D_THREAD_SAFE -fstrict-aliasing -Dlinux -O \"-I/usr/lib/ecl//h\" -w -c \"/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c\" -o \"/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.o\"") returned non-zero value 1.
| Saving to new-ecl...
`----

After this, there is no /usr/bin/ecl binary.

If libgmp3-dev package is installed and ecl is reconfigured, the
compilation succeeds without errors and /usr/bin/ecl package is
available.

Please include libgmp3-dev in dependencies as well. I am not sure if
other package would also be needed in the dependencies as obviously
there is C compilation going on and gcc isn't depended.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-aka-1
Locale: LANG=C, LC_CTYPE=fi_FI@euro (charmap=ISO-8859-15)

Versions of packages ecl depends on:
ii  common-lisp-controller        5.13       This is a Common Lisp source and c
ii  libc6                         2.3.5-12   GNU C Library: Shared libraries an
ii  libgmp3c2                     4.1.4-11   Multiprecision arithmetic library

ecl recommends no packages.

-- no debconf information