[opensuse-packaging] SLE12 python3 missing xmlrpc
Hi! I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module: [ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed. What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing. Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, On 02/16/2018 07:15 AM, John Paul Adrian Glaubitz wrote:
Hi!
I am currently trying to build python-M2Crypto for SLE-12:Update and the build fails with python3 unable to import the "xmlrpc" module:
[ 121s] File "/usr/lib64/python3.4/_import_failed/xmlrpc.py", line 17, in <module> [ 121s] to install it.""".format(__name__, package)) [ 121s] ImportError: Module 'xmlrpc' is not installed.
What's strange about this is that xmlrpc is normally a module that is shipped with Python's standard library. However, looking into the standard library path for python3.4, /usr/lib64/python3.4, the folder "xmlrpc" is missing.
On openSUSE Leap 42.3 # rpm -qf /usr/lib64/python3.4/xmlrpc/server.py python3-3.4.6-11.1.x86_64
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
Maybe python3 is not part of your BuildRequiers and you only have python3-base? Later, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU Distinguished Architect LINUX Team Lead Public Cloud rjschwei@suse.com IRC: robjo
On 02/16/2018 01:31 PM, Robert Schweikert wrote:
On openSUSE Leap 42.3
# rpm -qf /usr/lib64/python3.4/xmlrpc/server.py python3-3.4.6-11.1.x86_64
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
Maybe python3 is not part of your BuildRequiers and you only have python3-base?
Yes, that helps indeed. However, is having just "BuildRequires: python3" acceptable here? I would have expected that python3 is implicitly installed through transitive build dependencies, e.g. through %{python_module devel}. Adrian -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 02/16/2018 07:39 AM, John Paul Adrian Glaubitz wrote:
On 02/16/2018 01:31 PM, Robert Schweikert wrote:
On openSUSE Leap 42.3
# rpm -qf /usr/lib64/python3.4/xmlrpc/server.py python3-3.4.6-11.1.x86_64
Anyone knows what I am overlooking? I had a look at Debian and sure enough, xmlrpc is present in the standard library in the python3.4 package.
Maybe python3 is not part of your BuildRequiers and you only have python3-base?
Yes, that helps indeed.
However, is having just "BuildRequires: python3" acceptable here? I would have expected that python3 is implicitly installed through transitive build dependencies, e.g. through %{python_module devel}.
Well that certainly works for SLES 12 SP3 in OBS as M2Crypto build succeeds there [1] Sounds like this is an SUSE IBS issue, in which case the discussion on the opensuse-packaging list would be misplaced => lets stop poluting the list with internal stuff. Later, Robert [1] https://build.opensuse.org/package/show/devel:languages:python/python-M2Cryp... -- Robert Schweikert MAY THE SOURCE BE WITH YOU Distinguished Architect LINUX Team Lead Public Cloud rjschwei@suse.com IRC: robjo
participants (2)
-
John Paul Adrian Glaubitz
-
Robert Schweikert