[RFC][PATCH 0/1][all] clean up shlibs:Depends warnings

Kamal Mostafa kamal at canonical.com
Tue Jul 10 19:17:38 UTC 2018


Our kernel builds (all?) emit a handful of warnings like:

    dpkg-gencontrol: warning: Depends field of package PACKAGE:
        unknown substitution variable ${shlibs:Depends}

for those packages {image, modules, modules-extra} which don't have any shared
library dependencies*.  I propose that we clean up those warnings by simply
removing those references from the control file stub.

It makes sense to do so only if we can state that those packages could never
have shared library dependencies anyway -- which I think is true.

Any thoughts about applying this to bionic, and a similar delta to all the
rest?

 -Kamal

*I discovered that the similar variable misc:Depends gets set to an empty
string when there are no "misc" dependencies (so it does not yield any annoying
warning).  But sadly shlibs:Depends does not get set at all when there are no
shilbs dependencies (so we get the warning about 'unknown').

---

Kamal Mostafa (1):
  UBUNTU: [Packaging] do not use ${shlibs:Depends} for image or modules

 debian.master/control.d/flavour-control.stub | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list