[xml/sgml-pkgs] Bug#864328: libxml2: building for multiple supported python versions does not work

Scott Kitterman debian at kitterman.com
Tue Jul 4 18:10:49 UTC 2017


On Mon, 3 Jul 2017 06:06:25 +0800 Aron Xu <happyaron.xu at gmail.com> wrote:
> On Tue, Jun 20, 2017 at 7:16 AM, YunQiang Su <wzssyqa at gmail.com> wrote:
> > On Thu, 15 Jun 2017 20:17:41 +0800 Aron Xu <happyaron.xu at gmail.com> wrote:
> >> Hi,
> >>
> >> Thanks for the report, we don't want to build for only one version of
> >> Python 3 of course, will have a look later.
> >>
> >
> > This patch should build modules for all python3 versions.
> > can you reivew it?
> >
> 
> Seems the patch is malformed:
> 
> $ patch -p1 < /tmp/python3-all.diff
> patching file debian/control
> patching file debian/rules
> patch: **** malformed patch at line 80:

Just remove the last hunk of the patch.  It's spurious.

After removing that part, the patch applies and produces a correct build.  
>From a local test:


 Package: python3-libxml2
 Depends: ... python3 (<< 3.7), python3 (>= 3.5~), python3:any (>= 3.3.2-2~)
 Provides: python3.5-libxml2, python3.6-libxml2
...
 ./
 ./usr/
 ./usr/lib/
 ./usr/lib/python3/
 ./usr/lib/python3/dist-packages/
 ./usr/lib/python3/dist-packages/drv_libxml2.py
 ./usr/lib/python3/dist-packages/libxml2.py
 ./usr/lib/python3/dist-packages/libxml2mod.cpython-35m-x86_64-linux-gnu.so
 ./usr/lib/python3/dist-packages/libxml2mod.cpython-36m-x86_64-linux-gnu.so

Also, please remove " Provides: python3.5-libxml2, python3.6-libxml2".  That's 
never been valid for python3.

It would be a help to the python3.6 transition if this could be uploaded soon.

Thanks,

Scott K



More information about the debian-xml-sgml-pkgs mailing list