[PKG-Openstack-devel] BUG fix-py3-compat.patch not working in python-os-xenapi package
Michal Arbet
michal.arbet at ultimum.io
Mon Jan 22 12:05:45 UTC 2018
Hello guys,
It seems that fix-py3-compat.patch not working correctly in
python-os-xenapi package, caused by using sixer to add python3 support to
python-os-xenapi .
Sixer replaced unicode=1 to six.text_type=1 on bad place :) ...
When I try to install package, there is a bug :
Unpacking python-os-xenapi (0.2.0-1) over (0.2.0-1) ...
Setting up python-os-xenapi (0.2.0-1) ...
File
"/usr/lib/python2.7/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/netwrap.py",
line 26
gettext.install('neutron', six.text_type=1)
SyntaxError: keyword can't be an expression
dpkg: error processing package python-os-xenapi (--install):
subprocess installed post-installation script returned error exit status
101
Errors were encountered while processing:
python-os-xenapi
I've already pushed fixed patch.
And one question on the end ..
When I succesfully build and install package , content of package is
different as in package >>
https://packages.debian.org/buster/python-os-xenapi
In my built package in os_xenapi directory is these dirs and init :
.
- client0
- dom0
- tests
__init_.py
/usr/lib/python2.7/dist-packages/os_xenapi/
And in
https://packages.debian.org/buster/python-os-xenapi
without dom0 directory ...
>>
/usr/lib/python2.7/dist-packages/os_xenapi/
.
- client0
- tests
__init_.py
Could you please check these findings ?
Thanks,
Michal Arbet ( Kevin )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20180122/0c146e03/attachment.html>
More information about the Openstack-devel
mailing list