[issue32521] NIS module fails to build due to the removal of interfaces related to Sun RPC from glibc.
Matej Cepl
report at bugs.python.org
Thu Jul 5 13:50:36 EDT 2018
Matej Cepl <mcepl at cepl.eu> added the comment:
> Matej is this about Python 2?
I am currently ONLY on building python 3.7.0, nothing else bothers me at the moment.
Let me summarize my findings, or what I think is the situation (of course, I could be completely wrong):
* See https://build.opensuse.org/package/show/devel:languages:python:Factory/python3 ... Tumbleweed and Leap 15 (which all have libnsl) fail to be build with libnsl-devel installed. It seems to me that it somehow tries to build nismodule.c, but fails in configure (see above), so it doesn't end up well.
I think the problem is that the Python build system expects libnsl to be the one which is found in Solaris and so it looks for its API. Except, the Linux one is different and doesn't provide the same API. And from there, it goes all down to hell.
With Leap 42.3 (which has glibc-2.27-4.1, but no libnsl, so I guess NIS API is still inside of glibc; is it possible?), nis builds correctly and so it is included.
* Concerning Python 2. I don't see any problems with it. https://build.opensuse.org/package/show/devel:languages:python:Factory/python shows https://is.gd/sbwIf6 that glibc is the same glibc-2.27-4.1, libnsl-devel-1.2.0-2.1, ./configure still fails, but http://download.opensuse.org/repositories/devel:/languages:/python:/Factory/openSUSE_Tumbleweed/x86_64/python-base-2.7.15-112.1.x86_64.rpm still contains /usr/lib64/python2.7/lib-dynload/nis.so module.
OK, so I have no clue and it is all complete mess.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32521>
_______________________________________
More information about the Python-bugs-list
mailing list