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

Bug#471869: [new check] order of dh_* calls



Lucas Nussbaum <lucas@lucas-nussbaum.net> writes:

> Package: lintian
> Severity: wishlist
>
> I ran into a bug in libspf, where dh_makeshlibs was called *after*
> dh_installdeb.
>
> Would lintian be a good place to test that dh_* scripts are called in a
> coherent order?

Yes, definitely.  checks/rules should be able to help with that.  Another
common mistake is to call dh_strip before dh_fixperms; strip fails on
non-writable files, such as the default installation mode of Perl modules.
A third is to call dh_shlibdeps before dh_makeshlibs.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: