Bug 16155 - backport TIOCGWINSZ knotty patches to scarthgap
Summary: backport TIOCGWINSZ knotty patches to scarthgap
Status: RESOLVED FIXED
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 5.0.16
Assignee: Yoann Congal
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-02-02 18:56 UTC by Enrico Scholz
Modified: 2026-03-06 17:04 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Scholz 2026-02-02 18:56:26 UTC
please backport

| commit 415e9e329cf8cc0c2caa01cba80c21cfac9e2414
| Author: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
| Date:   Wed Nov 12 12:48:47 2025 +0100
|
|     knotty: fix TIOCGWINSZ call for Python 3.14 and later


| commit a4e0b6f8077276a0bfb9d05c759bc752a84d1f76
| Author: Zoltan Boszormenyi <zboszor@gmail.com>
| Date:   Wed Nov 5 11:59:36 2025 +0100
| 
|     knotty: Make sure getTerminalColumns() returns two integers

to the scarthgap branch (2.8).


Without at least one of them, knotty is heavily broken on Fedora 43.
Comment 1 Randy MacLeod 2026-02-05 15:40:41 UTC
Even if this issue is addressed, there could be problems with python-3.14 on older releases. Yoann agrees to try it and see how it goes.
Comment 2 Yoann Congal 2026-03-06 17:04:48 UTC
Backport patches merged on the 2.8/scarthgap branch:
knotty: fix TIOCGWINSZ call for Python 3.14 and later - bitbake - Bitbake Development tree
https://git.openembedded.org/bitbake/commit/?h=2.8&id=9127359eb116827a1e0debe69f84e57717436847
knotty: Make sure getTerminalColumns() returns two integers - bitbake - Bitbake Development tree
https://git.openembedded.org/bitbake/commit/?h=2.8&id=10118785e4a670bce4980e1044c0888a8b6e84af