Bugzilla – Bug 1152793
[python3] There is no stropts.h available with glibc 2.30 but pyconfig.h defines it!
Last modified: 2019-10-09 07:47:10 UTC
glibc 2.30 removed stropt.h So if your configure step checks for stropt.h and doesn't find it and your code protects the inclusion with #ifdef HAVE_STROPTS_H #include <stropts.h> #endif the compilation fails if you have #include <Python.h>, because of: /usr/include/python3.7m/pyconfig.h 986:#define HAVE_STROPTS_H 1 This is really bad, why aren't those defines prefixed with PY_ if this is included in a public library?
Fixed.