Source: libxml2
Severity: normal
Tags: patch
User: debian-pyt...@lists.debian.org

Dear Maintainer,

Apologies for the slightly vague report. It turns out that when multiple python
versions are supported, the resulting python3-libxml package only contains the
extension module for the default version. Rather than try to figure out what is
going on, I just uploaded a change to Ubuntu that does not try at all to support
multiple supported versions of Python 3 (attached, but I guess that's not really
acceptable for Debian).

Cheers,
mwh

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (400, 'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-78-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
diff -Nru libxml2-2.9.4+dfsg1/debian/changelog libxml2-2.9.4+dfsg1/debian/changelog
--- libxml2-2.9.4+dfsg1/debian/changelog	2017-05-11 23:47:33.000000000 +0000
+++ libxml2-2.9.4+dfsg1/debian/changelog	2017-05-16 03:02:59.000000000 +0000
@@ -1,3 +1,9 @@
+libxml2 (2.9.4+dfsg1-2.2ubuntu1) artful; urgency=medium
+
+  * Only build for the default version of Python. 
+
+ -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Tue, 16 May 2017 14:45:03 +1200
+
 libxml2 (2.9.4+dfsg1-2.2build1) artful; urgency=medium
 
   * No change rebuild to add Python 3.6 support.
diff -Nru libxml2-2.9.4+dfsg1/debian/control libxml2-2.9.4+dfsg1/debian/control
--- libxml2-2.9.4+dfsg1/debian/control	2017-01-14 14:07:44.000000000 +0000
+++ libxml2-2.9.4+dfsg1/debian/control	2017-05-16 03:02:36.000000000 +0000
@@ -1,14 +1,15 @@
 Source: libxml2
 Priority: optional
 Section: libs
-Maintainer: Debian XML/SGML Group <debian-xml-sgml-p...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian XML/SGML Group <debian-xml-sgml-p...@lists.alioth.debian.org>
 Uploaders: Aron Xu <a...@debian.org>, YunQiang Su <wzss...@gmail.com>
 Standards-Version: 3.9.8
 Build-Depends: debhelper (>= 9), dh-autoreconf, autotools-dev, pkg-config,
  libpython-all-dev, libpython-all-dbg,
  python-all-dev:any (>= 2.7.5-5~), python-all-dbg:any,
- libpython3-all-dev, libpython3-all-dbg,
- python3-all-dev:any (>= 3.5), python3-all-dbg:any,
+ libpython3-dev, libpython3-dbg,
+ python3-dev:any (>= 3.5), python3-dbg:any,
  zlib1g-dev | libz-dev, liblzma-dev, libicu-dev
 Homepage: http://xmlsoft.org/
 Vcs-Git: git://anonscm.debian.org/debian-xml-sgml/libxml2.git
diff -Nru libxml2-2.9.4+dfsg1/debian/rules libxml2-2.9.4+dfsg1/debian/rules
--- libxml2-2.9.4+dfsg1/debian/rules	2017-01-14 14:07:44.000000000 +0000
+++ libxml2-2.9.4+dfsg1/debian/rules	2017-05-16 02:45:46.000000000 +0000
@@ -7,6 +7,8 @@
 # The current default version of python
 PYVER=$(shell pyversions -d)
 PY3VER=$(shell py3versions -d)
+# Pretend the default version of Python 3 is the only supported version for now.
+PY3VERS=$(PY3VER)
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)

Reply via email to