Bug ID 1152793
Summary [python3] There is no stropts.h available with glibc 2.30 but pyconfig.h defines it!
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter asn@cryptomilk.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

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?


You are receiving this mail because: