[issue45404] Undefined I_* macros of stropts.h when building Python 3.10 on Ubuntu: fail to build the fcntl module

Serhiy Storchaka report at bugs.python.org
Fri Oct 8 11:57:01 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It is not defined on my Ubuntu 20.04 either. But stropts.h could be installed by some Ubuntu package not installed on my computer, or came from some non-standard source.

On my computer:

$ dlocate stropts.h
manpages-posix-dev: /usr/share/man/man7/stropts.h.7posix.gz
python3-pycparser: /usr/share/python3-pycparser/fake_libc_include/stropts.h
python-pycparser: /usr/share/python-pycparser/fake_libc_include/stropts.h

$ locate stropts.h
/usr/share/man/man7/stropts.h.7posix.gz
/usr/share/python-pycparser/fake_libc_include/stropts.h
/usr/share/python3-pycparser/fake_libc_include/stropts.h

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45404>
_______________________________________


More information about the Python-bugs-list mailing list