[cl-debian] Bug#462087: clisp-dev: Includes unnecessary library references

Package: clisp-dev Version: 1:2.43-1 Severity: normal Hi, clisp-link includes the option -lSM and -lICE in a linking call, but dpkg-shlibdeps complains that the binary uses no symbols from this libraries. I tried to remove both options in /usr/lib/clisp-2.43/full/makevars and everything goes fine. Please, remove these flags from LIBS in makevars or make it possible to exclude them at runtime. Bye, Jörg. -- System Information: Debian Release: unstable/experimental APT prefers unstable APT policy: (900, 'unstable'), (700, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.24-rc6 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages clisp-dev depends on: ii bison 1:2.3.dfsg-5 A parser generator that is compati ii clisp 1:2.43-1 GNU CLISP, a Common Lisp implement ii debhelper 6.0.2 helper programs for debian/rules ii gettext 0.17-2 GNU Internationalization utilities ii groff 1.18.1.1-15 GNU troff text-formatting system ii libc6-dev 2.7-6 GNU C Library: Development Librari ii libncurses5-dev 5.6+20080105-1 Developer's libraries and docs for ii libreadline5-dev 5.2-3 GNU readline and history libraries ii libsigsegv-dev 2.5-1 Library for handling page faults i ii libx11-dev 2:1.0.3-7 X11 client-side library (developme ii libxext-dev 1:1.0.3-2 X11 miscellaneous extensions libra ii libxpm-dev 1:3.5.7-1 X11 pixmap library (development he ii libxt-dev 1:1.0.5-3 X11 toolkit intrinsics library (de ii xutils 1:7.3+10 X Window System utility programs m clisp-dev recommends no packages. -- no debconf information

tags 462087 + help thanks Hi Jörg! On Tue, 22 Jan 2008 14:01:43 +0100, Jörg Sommer wrote:
clisp-link includes the option -lSM and -lICE in a linking call, but dpkg-shlibdeps complains that the binary uses no symbols from this libraries. I tried to remove both options in /usr/lib/clisp-2.43/full/makevars and everything goes fine.
Actually, the Debian package doesn't directly depend on libICE [1] nor libSM [2], but it depends on libXt [3] instead, which pulls libSM and so libICE, too. The libXt dependency was added to solve bug #342552 [4], but as I explained at [5], xmkmf seems not to be used anymore on the Debian CLISP package. On my sid-amd64, I built CLISP without depending on libXt and it seems to work fine, even when using the CLX module with StumpWM [6], i.e. a CL program which interfaces with X. However, while the resulting "non-libxt"-compiled /usr/bin/clisp doesn't show any difference WRT the shared libraries it depends on when checked with ldd, the "non-libxt"-compiled /usr/lib/clisp-2.44.1/full/lisp.run indeed doesn't depend anymore on libICE and libSM. Note that ldd shows no shared libXt dependency, in both cases, i.e. when compiled with or without libXt. I'd say it's safe to remove the libXt dependency, but since I'm not yet a CLISP nor an X11 expert, I'd wait for some advice.
Please, remove these flags from LIBS in makevars or make it possible to exclude them at runtime.
Removing the libXt dependency will remove these flags from LIBS in makevars as well. However, if CLISP must depend on libXt, in that case your request will be an upstream wishlist ;-) Thx, bye, Gismo / Luca Footnotes: [1] http://packages.debian.org/libice-dev [2] http://packages.debian.org/libsm-dev [3] http://packages.debian.org/libxt-dev [4] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342552 [5] http://lists.alioth.debian.org/pipermail/pkg-common-lisp-devel/2008-June/000... [6] http://www.nongnu.org/stumpwm/

Processing commands for control@bugs.debian.org:
tags 462087 + help Bug#462087: clisp-dev: Includes unnecessary library references There were no tags set. Tags added: help
thanks Stopping processing here.
Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)

Your message dated Mon, 21 Jul 2008 01:02:08 +0000 with message-id <E1KKjmy-0002Zb-Qi@ries.debian.org> and subject line Bug#462087: fixed in clisp 1:2.44.1-3 has caused the Debian Bug report #462087, regarding clisp-dev: Includes unnecessary library references 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 462087: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462087 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
participants (3)
-
Jörg Sommer
-
Luca Capello
-
owner@bugs.debian.org