Package: gphoto2-cffi
Version: 0.2-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Hi Aigars,

The gphoto2-cffi package has a build-dependency on python3-dev, but tries to
build for all supported versions of python3.  This causes a build failure
when there is more than one version of python3 in the "supported" set,
because since python3-all-dev is missing the C headers are unavailable.

The attached trivial patch fixed the bug in Ubuntu.

As there is a transition to python3.5 coming soon in Debian, I expect the
severity of this bug to increase shortly.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru gphoto2-cffi-0.2/debian/control gphoto2-cffi-0.2/debian/control
--- gphoto2-cffi-0.2/debian/control	2015-06-25 12:05:02.000000000 -0700
+++ gphoto2-cffi-0.2/debian/control	2015-07-22 14:30:36.000000000 -0700
@@ -2,7 +2,7 @@
 Maintainer: Aigars Mahinovs <aigar...@debian.org>
 Section: python
 Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-enum34, python-all (>= 2.6.6-3), python3-all, debhelper (>= 9), dh-python, python-cffi, python3-cffi, python-dev, python3-dev, libgphoto2-dev
+Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-enum34, python-all (>= 2.6.6-3), python3-all, debhelper (>= 9), dh-python, python-cffi, python3-cffi, python-dev, python3-all-dev, libgphoto2-dev
 Standards-Version: 3.9.6
 
 Package: python-gphoto2

Reply via email to