[Pkg-openmpi-maintainers] Bug#502232: Bug#502232: Bug#502232: Bug#502232: [Pkg-openmpi-commits] r141 - in /openmpi/trunk/debian: libopenmpi-dev.install rules

Dirk Eddelbuettel edd at debian.org
Tue Oct 28 00:30:47 UTC 2008


On 28 October 2008 at 00:07, Sylvestre Ledru wrote:
| 
| > Can you email the warnings and possibly what they say when piped into
| > lintian-info: 'lintian foo | lintian-info'
| I fixed one of them.
| There is still two:
| $ lintian -i *.deb
| W: libopenmpi-dev: postinst-has-useless-call-to-ldconfig
| N:
| N:   The postinst script calls ldconfig even though no shared libraries
| are
| N:   installed in a directory controlled by the dynamic library loader.
| N:   
| N:   Refer to Debian Policy Manual section 8.1.1 (ldconfig) for details.
| N:   
| N:   Severity: minor; Certainty: certain
| N:
| W: libopenmpi-dev: postrm-has-useless-call-to-ldconfig
| N:
| N:   The postrm script calls ldconfig even though no shared libraries
| are
| N:   installed in a directory controlled by the dynamic library loader.
| N:   
| N:   Refer to Debian Policy Manual section 8.1.1 (ldconfig) for details.
| N:   
| N:   Severity: minor; Certainty: certain

I've had that before. I think there is a debhelper option we can use. 
[ Goes searching ... ]  Yup.  Please try adding '-n' in the call to
dh_makeshlibs.  As per dh_makeshlibs(7):
 
      -n, --noscripts
           Do not modify postinst/postrm scripts.

with a predicate to make this on libopenmpi-dev, or alternatively try
dh_makeshlibs only on libopenmpi1 and not on all.

Dirk

-- 
Three out of two people have difficulties with fractions.






More information about the Pkg-openmpi-maintainers mailing list