[Debian-med-packaging] Bug#808477: src:libsbml: Please follow Debian CLI library packaging guidelines (missing dependencies)
Andreas Tille
andreas at an3as.eu
Sun Dec 20 16:40:50 UTC 2015
Hi Jo.
thanks for this bug report.
On Sun, Dec 20, 2015 at 01:46:32PM +0000, Jo Shields wrote:
> Package: src:libsbml
> Version: 5.10.0+dfsg-1
> Severity: normal
>
> Dear Maintainer,
>
> libsbml5-cil does not have any valid dependencies, because it is not correctly
> setting them. Please see:
>
> http://pkg-mono.alioth.debian.org/cli-policy/ch-appendix.html#s-dh_clideps
I tried to follow this via
diff --git a/debian/control b/debian/control
index 542629a..e70ba65 100644
--- a/debian/control
+++ b/debian/control
@@ -141,6 +141,7 @@ Architecture: any
Section: cli-mono
Depends: ${shlibs:Depends},
${misc:Depends},
+ ${cli:Depends},
libsbml5-dev
Provides: libsbml-cil
Description: System Biology Markup Language library - CLI bindings
diff --git a/debian/rules b/debian/rules
index 3a3d694..86e520b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,6 +31,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH), mips mipsel))
CMAKE_OPTS += -D'WITH_01_COMPILE:BOOL=ON'
endif
+include /usr/share/cli-common/cli.make
+
### let's do it ###
DEB_COMPRESS_EXCLUDE = .pdf
which leads to
dh_makeshlibs: warning: ignored unknown options in DH_OPTIONS
dh_shlibdeps -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_shlibdeps: warning: ignored unknown options in DH_OPTIONS
dh_clistrip -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_clistrip: warning: ignored unknown options in DH_OPTIONS
dh_cligacpolicy -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_cligacpolicy: warning: ignored unknown options in DH_OPTIONS
dh_cligacpolicy: Warning! No Build-Depends(-Indep) on cli-common-dev (>= 0.5.7)!
dh_makeclilibs -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_makeclilibs: warning: ignored unknown options in DH_OPTIONS
dh_makeclilibs: debian/libsbml5-cil/usr/lib/mono/libsbmlcsP/libsbmlcsP.dll has no signature, ignoring
dh_installcligac -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_installcligac: warning: ignored unknown options in DH_OPTIONS
dh_installcliframework -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_installcliframework: warning: ignored unknown options in DH_OPTIONS
dh_clideps -O--with-python2 -O--dbg-package=libsbml5-dbg
Unknown option: with
dh_clideps: warning: ignored unknown options in DH_OPTIONS
dh_clideps: Error: Could not resolve moduleref: libsbmlcs for: libsbmlcsP.dll!
dh_clideps: Error: unresolvable module references or missing shlibs entries, please check above errors!
debian/rules:41: recipe for target 'binary' failed
make: *** [binary] Error 2
I wonder whether you might be able to propose a sensible patch since
I seemed to have misinterpreted the policy you linked to.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list