[Pkg-sssd-devel] Bug#697186: Missing dependency on libcollection-dev

Asbjørn Sloth Tønnesen asbjorn at asbjorn.biz
Wed Jan 2 11:05:50 UTC 2013


Package: libini-config-dev
Version: 0.1.3-1
Severity: serious
Tags: patch

In /usr/include/ini_config.h there is a dependency on libcollection-dev
> #include "collection.h"

However it only depends on its own binary:
> Depends: libini-config2 (= 0.1.3-1)

Marked serious for violation of Debian Policy section 3.5 Dependencies:
> Every package must specify the dependency information about other
> packages that are required for the first to work correctly.

I will suggest that libcollection-dev be added to the "Depends"
entry in the control file, as done in the following patch:

diff --git a/debian/control b/debian/control
index 0bb7179..dfc43cb 100644
--- a/debian/control
+++ b/debian/control
@@ -113,7 +113,7 @@ Description: refcounted array for C
 Package: libini-config-dev
 Section: libdevel
 Architecture: any
-Depends: libini-config2 (= ${binary:Version}), ${misc:Depends}
+Depends: libini-config2 (= ${binary:Version}), libcollection-dev (= ${binary:Version}), ${misc:Depends}
 Description: Development files for libini_config
  Library to process config files in INI format into a libcollection data
  structure. Development files.

-- 
Best regards
Asbjørn Sloth Tønnesen
asbjorn.biz



More information about the Pkg-sssd-devel mailing list