Bug#553111: baycomepp: postinst-must-call-ldconfig /usr/lib/baycomfpga_init.so by the dynamic library loader. Therefore, the package must call "ldconfig" in its postinst script.

View: New views
2 Messages — Rating Filter:   Alert me  

Bug#553111: baycomepp: postinst-must-call-ldconfig /usr/lib/baycomfpga_init.so by the dynamic library loader. Therefore, the package must call "ldconfig" in its postinst script.

by Manoj Srivastava :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: baycomepp
Version: 0.10-12
Severity: serious
Justification: The package installs shared libraries in a directory controlled
User: lintian-maint@...
Usertags: postinst-must-call-ldconfig

Refer to Debian Policy Manual section 8.1.1 (ldconfig) for details.

,----[ 8.1.1 ldconfig ]
| Any package installing shared libraries in one of the default library
| directories of the dynamic linker (which are currently /usr/lib and /lib) or a
| directory that is listed in /etc/ld.so.conf[47] must use ldconfig to update the
| shared library system.
|
| The package maintainer scripts must only call ldconfig under these circumstances:
|
|  * When the postinst script is run with a first argument of configure, the
|    script must call ldconfig, and may optionally invoke ldconfig at other times.
|  * When the postrm script is run with a first argument of remove, the script
|    should call ldconfig.
`----

        manoj


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31.4-anzu-2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages baycomepp depends on:
ii  libc6                         2.10.1-2   GNU C Library: Shared libraries

baycomepp recommends no packages.

baycomepp suggests no packages.



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#553111: baycomepp: postinst-must-call-ldconfig /usr/lib/baycomfpga_init.so

by gregor herrmann-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 28 Oct 2009 23:49:35 -0500, Manoj Srivastava wrote:

> Package: baycomepp
> Version: 0.10-12
> Severity: serious
> Justification: The package installs shared libraries in a directory controlled
> User: lintian-maint@...
> Usertags: postinst-must-call-ldconfig
>
> Refer to Debian Policy Manual section 8.1.1 (ldconfig) for details.

The attached patch fixes this bug, but the output of dpkg-shlibdeps
doesn't make me happy:

dpkg-shlibdeps: warning: symbol sig_usr2 used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol parport_direct_emul_ops used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol logging used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol parport_ops used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol pp_direct_flags used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol sighandler used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol pp_direct_iobase used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol state used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol parport_direct_ops used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: symbol errprintf used by debian/baycomepp/usr/lib/baycomfpga_init.so found in none of the libraries.
dpkg-shlibdeps: warning: 8 other similar warnings have been skipped (use -v to see them all).

Cheers,
gregor
--
 .''`.   http://info.comodo.priv.at/ -- GPG Key IDs: 0x00F3CFE4, 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    BOFH excuse #273:  The cord jumped over and hit the power switch.


diff -u baycomepp-0.10/debian/changelog baycomepp-0.10/debian/changelog
--- baycomepp-0.10/debian/changelog
+++ baycomepp-0.10/debian/changelog
@@ -1,3 +1,11 @@
+baycomepp (0.10-12.2) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "postinst-must-call-ldconfig /usr/lib/baycomfpga_init.so"
+    by adding minimal debian/{postinst,postrm} (closes: #553111).
+
+ -- gregor herrmann <gregoa@...>  Sat, 28 Nov 2009 18:06:20 +0100
+
 baycomepp (0.10-12.1) unstable; urgency=low
 
   * Retiring - remove myself from the uploaders list.
only in patch2:
unchanged:
--- baycomepp-0.10.orig/debian/postrm
+++ baycomepp-0.10/debian/postrm
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ remove)
+ ldconfig
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#
only in patch2:
unchanged:
--- baycomepp-0.10.orig/debian/postinst
+++ baycomepp-0.10/debian/postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ ldconfig
+ ;;
+ *)
+ ;;
+esac
+
+#DEBHELPER#



signature.asc (853 bytes) Download Attachment