On 25. 04. 25 17:42, Florian Weimer wrote:
With the update to glibc-2.41.9000-11.fc43, <termio.h> is no longer
there, and some historic terminal-related baggage is no longer included
in <sys/ioctl.h>. These terminal interfaces were alread obsolete when
Linux was first released, so glibc upstream did not issue a formal
deprecation issue.
If something includes <termio.h>, it's reasonable to assume that it's a
spelling error for <termios.h> and just switch to that.
I couldn't find any users of the <termio.h> functionality that's
actually compiled into executables (as opposed to merely dormant in the
sources), but it's ioctl-based, so it doesn't leave good traces.
This change is in preparation for supporting flexible baud rates in
<termios.h>, which will likely require macro definitions that are
incompatible with legacy <termio.h> and its ioctl-based interface.
Is this possibly related?
From ppc64le https://koschei.fedoraproject.org/package/python3.14
==================================================================
In file included from /usr/include/asm/ioctl.h:12,
from /usr/include/asm/ioctls.h:5,
from /usr/include/bits/ioctls.h:23,
from /usr/include/sys/ioctl.h:26,
from
/builddir/build/BUILD/python3.14-3.14.0_a7-build/Python-3.14.0a7/Modules/termios.c:13:
/builddir/build/BUILD/python3.14-3.14.0_a7-build/Python-3.14.0a7/Modules/termios.c:1119:16:
error: invalid application of ‘sizeof’ to incomplete type ‘struct termio’
1119 | {"TCGETA", TCGETA},
| ^~~~~~
/builddir/build/BUILD/python3.14-3.14.0_a7-build/Python-3.14.0a7/Modules/termios.c:1131:16:
error: invalid application of ‘sizeof’ to incomplete type ‘struct termio’
1131 | {"TCSETA", TCSETA},
| ^~~~~~
/builddir/build/BUILD/python3.14-3.14.0_a7-build/Python-3.14.0a7/Modules/termios.c:1134:17:
error: invalid application of ‘sizeof’ to incomplete type ‘struct termio’
1134 | {"TCSETAF", TCSETAF},
| ^~~~~~~
/builddir/build/BUILD/python3.14-3.14.0_a7-build/Python-3.14.0a7/Modules/termios.c:1137:17:
error: invalid application of ‘sizeof’ to incomplete type ‘struct termio’
1137 | {"TCSETAW", TCSETAW},
| ^~~~~~~
make: *** [Makefile:3589: Modules/termios.o] Error 1
==================================================================
--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue