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

Bug#178203: xlibs: shlibs generate two xlibs dependencies with dpkg-shlibdeps



retitle 178203 dpkg-gencontrol should report only the strictest of multiple versioned dependencies on the same package
thanks

On Fri, Jan 24, 2003 at 05:05:24PM -0500, Branden Robinson wrote:
> Another fix is to have dpkg-shlibdeps attempt more comprehension of what
> it's doing before it generates output.

Actually, this problem is more broad than only within shlibdeps. For
example, my package for a certain reason _requires_ libbaz (>= 2.2), but
shlibdeps gives >=2.1. Then I specify:

Depends: libbaz (>= 2.2), ${shlibs:Depends}

with yields duplicates. More commonly occurs if you have
${misc:Depends}, which typically adds a certain debhelper version, but
you might be for any other reason requiring an even newer one.

So, I propose to add code to dpkg-gencontrol, which does the substvar
substitution which causes those duplicates, to handle this issue, which
also very likely leads to a more clean solution.
 
--Jeroen

-- 
Jeroen van Wolffelaar
jeroen@wolffelaar.nl
http://jeroen.A-Eskwadraat.nl



Reply to: