[Pkg-varnish-devel] Bug#865420: libvarnishapi-dev: not installable for foreign architectures

Helmut Grohne helmut at subdivi.de
Wed Jun 21 10:31:28 UTC 2017


Package: libvarnishapi-dev
Version: 5.0.0-7
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Control: affects -1 + src:collectd src:nagios-plugins-contrib src:varnish-agent src:varnish-modules

The packages listed under affects cannot be cross built, because they
depend on the host architecture python through libvarnishapi-dev. Python
is not installable for the host architecture. Looking into
libvarnishapi-dev, it seems that the dependency is meant to provide a
Python for running vmodtool.py. A host architecture python (if it could
be installed) cannot be executed though. Thus it seems likely, that
libvarnishapi-dev wants an executable Python and not a Python that
matches its own architecture. That is done by annotating the python
dependency with :any. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru varnish-5.0.0/debian/changelog varnish-5.0.0/debian/changelog
--- varnish-5.0.0/debian/changelog	2017-03-02 18:16:05.000000000 +0100
+++ varnish-5.0.0/debian/changelog	2017-06-21 12:26:29.000000000 +0200
@@ -1,3 +1,10 @@
+varnish (5.0.0-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Annotate python dependency of libvarnishapi-dev with :any (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 21 Jun 2017 12:26:29 +0200
+
 varnish (5.0.0-7) unstable; urgency=medium
 
   * Remove reload from varnish.service (Closes: #749272)
diff --minimal -Nru varnish-5.0.0/debian/control varnish-5.0.0/debian/control
--- varnish-5.0.0/debian/control	2017-03-02 18:16:05.000000000 +0100
+++ varnish-5.0.0/debian/control	2017-06-21 12:26:26.000000000 +0200
@@ -82,7 +82,7 @@
 Depends: ${shlibs:Depends},
          ${misc:Depends},
          libvarnishapi1 (= ${binary:Version}),
-         python
+         python:any
 Conflicts: libvarnish-dev
 Provides: libvarnish-dev
 Description: development files for Varnish


More information about the Pkg-varnish-devel mailing list