[Pkg-openldap-devel] Bug#408987: Two dependancies on libldap-2.3-0 in the debian/control file
Russ Allbery
rra at debian.org
Sun Jun 3 22:10:58 UTC 2007
BTW, just for the record:
Steve Langasek <vorlon at debian.org> writes:
> A debian/shlibs.local file should override the shlibs declared under
> debian/libldap-2.3-0. That would save folks the trouble of updating the
> lintian suppressions for every upload, too. :) (You can even use the
> package version substitution within debian/shlibs.local, as I recall
> from one buggy package that managed to export ${Source-Version} in their
> *public* shlibs, which then had the variable expansion done at
> dpkg-shlibdeps runtime, hee...)
I looked at doing this and poked at it for a bit and ran into two
problems. First, more minorly, dh_shlibdeps with the -L flag passes -L to
dpkg-shlibdeps, which causes it to ignore shlibs.local. Second, if one
observes that the -L flag is pointless since we're overriding everything
in the libldap-2.3-0 shlibs file anyway, you run into the problem that I
noted earlier, namely that libldap-2.3-0 develops a dependency on itself
since libldap depends on liblber.
That's why I went with the sed solution.
--
Russ Allbery (rra at debian.org) <http://www.eyrie.org/~eagle/>
More information about the Pkg-openldap-devel
mailing list