tags 553122 + patch thanks On Thu, Oct 29, 2009 at 12:36:20AM -0500, Manoj Srivastava wrote: > Package: libtcl-chiark-1 > Version: 1.1.0+nmu1 > Severity: serious > Justification: The package installs shared libraries in a directory controlled > User: lintian-ma...@debian.org > Usertags: postinst-must-call-ldconfig
This bug is in the same situation of #553109: it does ship *.so under /usr/lib/, but those *.so are only used by the Tcl interpreter to load C code stubs binding a C library to Tcl. It is in theory possible for users to link against it (actually, maintainer claims it is not, [probably, my bet, due to some missing symbols which are available only inside the Tcl interpreter]: see the lintian overrides in the package, I haven't actually checked which is the case). Still it should not be the rule. So, once more, we can fix this with proper ldconfig invocation in postinst or we can move those *.so in a different place. The former solution is likely to require a change in the Tcl interpreter to look for objects elsewhere. Manoj: what is the -policy stance on this? Should we fix that by actually invoking ldconfig no matter what? If this is the case, I attach a patch offering an NMU in that direction. Please Cc me if you want me to actually do the NMU (otherwise I'll eventually get back to this bug log, maybe ...). Cheers. -- Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7 z...@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/ Dietro un grande uomo c'è ..| . |. Et ne m'en veux pas si je te tutoie sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime
diff -Nru chiark-tcl-1.1.0+nmu1/debian/changelog chiark-tcl-1.1.0+nmu2/debian/changelog --- chiark-tcl-1.1.0+nmu1/debian/changelog 2009-07-19 18:34:52.000000000 +0200 +++ chiark-tcl-1.1.0+nmu2/debian/changelog 2009-11-19 09:55:21.000000000 +0100 @@ -1,3 +1,13 @@ +chiark-tcl (1.1.0+nmu2) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: add invocation of dh_makeshlibs and dh_installdeb, so + that ldconfig is invoked in postinst (Closes: #553122) + * debian/control: replace libnettle-dev by nettle-dev (which replaces + the former) in build-dependencies + + -- Stefano Zacchiroli <z...@debian.org> Thu, 19 Nov 2009 09:09:57 +0100 + chiark-tcl (1.1.0+nmu1) unstable; urgency=medium * Non-maintainer upload. diff -Nru chiark-tcl-1.1.0+nmu1/debian/control chiark-tcl-1.1.0+nmu2/debian/control --- chiark-tcl-1.1.0+nmu1/debian/control 2006-10-18 17:50:54.000000000 +0200 +++ chiark-tcl-1.1.0+nmu2/debian/control 2009-11-19 09:54:58.000000000 +0100 @@ -3,7 +3,7 @@ Priority: optional Section: interpreters Standards-Version: 3.6.2 -Build-Depends: libadns1-dev (>= 1.2), libnettle-dev, libcdb-dev | tinycdb (<= 0.75), tcl8.4-dev | tcl8.3-dev | tcl8.2-dev, debhelper (>= 3) +Build-Depends: libadns1-dev (>= 1.2), nettle-dev, libcdb-dev | tinycdb (<= 0.75), tcl8.4-dev | tcl8.3-dev | tcl8.2-dev, debhelper (>= 3) Package: libtcl-chiark-1 Architecture: any diff -Nru chiark-tcl-1.1.0+nmu1/debian/rules chiark-tcl-1.1.0+nmu2/debian/rules --- chiark-tcl-1.1.0+nmu1/debian/rules 2006-08-10 00:59:42.000000000 +0200 +++ chiark-tcl-1.1.0+nmu2/debian/rules 2009-11-19 10:01:34.000000000 +0100 @@ -68,12 +68,14 @@ dh_installchangelogs dh_strip + dh_makeshlibs dh_shlibdeps -Xchiark_tcl_adns -Xchiark_tcl_crypto # be consistent about what we compress: dh_compress -X.c.txt -X.h.txt dh_fixperms + dh_installdeb dh_gencontrol dh_md5sums dh_builddeb