[pkg-bacula-devel] maintainer-script-should-not-use-dpkg-maintscript-helper matched valid calls

Sven Hartge sven at svenhartge.de
Fri Jan 11 17:32:28 GMT 2019


retitle 917567 maintainer-script-should-not-use-dpkg-maintscript-helper
matched valid calls
found 917567 2.5.121
reopen 917567
thanks

On 11.01.19 17:59, Chris Lamb wrote:
> Hi Sven,
> 
>> While routinely checking the bacula sources
>> https://salsa.debian.org/bacula-team/bacula with the new lintian, I now
>> get a warning for *every* (post|pre)(inst|rm) script containing a call
>> to dpkg-maintscript-helper.
> 
> So I just checked a bacula_9.4.1-2_amd64.changes that I built
> myself and do not see this. Can you clarify exactly what sources
> you are running this on, which version of Lintian, which flags,
> etc. etc. Usual things.
> 
> If you can still reproduce, please reopen and retitle.

I am using Lintian v2.5.121 on Sid.

Building from the current GIT master of Bacula via "gbp buildpackage" in
a clean Sid cowbuilder chroot.

lintian command-line is:
lintian --color always -EvIL +pedantic --profile debian/main --info
bacula_9.4.1-3_amd64.changes

The output is attached.

It for example matches on debian-common-pgsql postinst4:

#!/bin/sh
set -e
# Automatically added by dh_installdeb/12
dpkg-maintscript-helper dir_to_symlink
/usr/share/doc/bacula-common-pgsql bacula-common 7.0.5\+dfsg-4\~ -- "$@"
# End automatically added section

But this line was not added manually but by dh_installdeb instead via
bacula-common-pgsql.maintscript, as one is supposed to do this.

Grüße,
Sven.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lintian_bacula_9.4.1-3_amd64.log
Type: text/x-log
Size: 13779 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20190111/a3d1337d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-bacula-devel/attachments/20190111/a3d1337d/attachment-0001.sig>


More information about the pkg-bacula-devel mailing list