[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796124: marked as done (lintian: check for duplicate calls to ldconfig)



Your message dated Mon, 15 Feb 2016 21:52:57 +0000
with message-id <56C248B9.2000502@thykier.net>
and subject line Re: lintian: check for duplicate calls to ldconfig
has caused the Debian Bug report #796124,
regarding lintian: check for duplicate calls to ldconfig
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.)


-- 
796124: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796124
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.36.1
Severity: wishlist

Some packages calls ldconfig twice in their postinst/postrm scripts. For example libx11-xcb1 postinst reads:

#!/bin/sh
set -e
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
       ldconfig
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
       ldconfig
fi
# End automatically added section


It would be nice if Lintian could detect such mistakes.

--
Jakub Wilk

--- End Message ---
--- Begin Message ---
On Wed, 19 Aug 2015 18:31:52 +0200 Jakub Wilk <jwilk@debian.org> wrote:
> Package: lintian
> Version: 2.5.36.1
> Severity: wishlist
> 
> Some packages calls ldconfig twice in their postinst/postrm scripts. For 
> example libx11-xcb1 postinst reads:
> 
> #!/bin/sh
> set -e
> # Automatically added by dh_makeshlibs
> if [ "$1" = "configure" ]; then
>         ldconfig
> fi
> # End automatically added section
> # Automatically added by dh_makeshlibs
> if [ "$1" = "configure" ]; then
>         ldconfig
> fi
> # End automatically added section
> 
> 
> It would be nice if Lintian could detect such mistakes.
> 
> -- 
> Jakub Wilk
> 
> 

I believe this is fixed in debhelper, which now uses triggers (and
should be able to avoid duplicating the trigger).

Thanks,
~Niels

--- End Message ---

Reply to: