This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mcepl
Recipients benjamin.peterson, christian.heimes, cstratak, mcepl, vstinner
Date 2018-07-05.17:50:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1530813036.95.0.56676864532.issue32521@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2018-07-05 17:50:37mceplsetrecipients: + mcepl, vstinner, christian.heimes, benjamin.peterson, cstratak
2018-07-05 17:50:36mceplsetmessageid: <1530813036.95.0.56676864532.issue32521@psf.upfronthosting.co.za>
2018-07-05 17:50:36mcepllinkissue32521 messages
2018-07-05 17:50:36mceplcreate