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

Bug#571776: debian-policy: Libraries should be allowed to not provide shlibs when they provide symbols file

On Fri, Aug 27, 2010 at 07:08:08PM -0400, Felipe Sateler wrote:
> > AFAIK, the current version of dpkg in stable supports symbols files, so
> > I think it is time we loosen the requirement for shlibs files when
> > symbols files are present.
> > 
> > Requiring shlibs when there is a symbols file also is error-prone,
> > as when the symbols file is updated, the shlibs may not be bumped.
> dpkg-shlibdeps(1) says:
> > Then, for each library, it looks up either  the
> > symbols  file,  or  the  shlibs file (if the former doesn't exist or if
> > debian/shlibs.local contains the relevant dependency).
> So if you have a symbols file, the shlibs file is redundant.

Except if you use an old dpkg-shlibdeps, in which case if the shlibs is
not updated correctly, you get the wrong info. But my point was that an
old enough dpkg-shlibdeps is already old, and that it's time to maybe
change the rules and get rid of shlibs when there is a symbols file.


Reply to: