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

mathgl: missing-dependency-on-libc needed



Hello,
During packaging the latest upstream version 2.1.2 of mathgl, I came across 
the following lintian error and description:

E: mathgl: missing-dependency-on-libc needed by usr/bin/mgl.cgi and 2 others
N: 
N:    The listed file appears to be linked against the C library, but the
N:    package doesn't depend on the C library package. Normally this indicates
N:    that ${shlibs:Depends} was omitted from the Depends line for this
N:    package in debian/control.
N:    
N:    All shared libraries and compiled binaries must be run through
N:    dpkg-shlibdeps to find out any libraries they are linked against (often
N:    via the dh_shlibdeps debhelper command). The package containing these
N:    files must then depend on ${shlibs:Depends} in debian/control to get the
N:    proper package dependencies for those libraries.
N:    
N:    Refer to Debian Policy Manual section 8.6 (Dependencies between the
N:    library and other packages - the shlibs system) for details.
N:    
N:    Severity: serious, Certainty: possible
N:    
N:    Check: binaries, Type: binary, udeb

However, ${shlibs:Depends} is included in the Depends field of the mathgl 
binary package. Also, an attempt to include libc6 explicitely in the Depends 
field of the mathgl binary package, cancelled the lintian error but raised a 
lintian warning that this should not be done.

Any suggestion on how to overcome this?

Thanks
Dimitris


Reply to: