[pypy-issue] Issue #2808: crypt() not defined in unistd.h breaks build on Fedora 28 (pypy/pypy)
issues-reply at bitbucket.org
Wed Apr 25 09:05:27 EDT 2018
New issue 2808: crypt() not defined in unistd.h breaks build on Fedora 28
Apparently Fedora (and probably also other systems) are using libxcrypt instead of glibc crypt(). This breaks pypy's crypt module build (translation fails with c compilation error), since crypt() is defined in crypt.h and no longer in unistd.h.
Not sure how pypy handles system-specific includes, probably just adding `includes=["crypt.h"]` is not the right thing on all systems.
More information about the pypy-issue