Broken 'knotty' UI on Fedora 43
Hi,
when running recent bitbake master (2c6c40bda) under Fedora 43, the knotty UI is broken. While building, it eats previous lines when a new task is started so that every output (Build Configuration, warnings) is removed at the end.
Downgrading 3.14.0-1.fc43 to 3.13.9-1.fc42 restores the old behavior. Seen with 'screen' and 'xterm' $TERM.
Enrico
"Enrico Scholz via lists.openembedded.org"
Quoted 7 lines · <[email protected]> writes:
when running recent bitbake master (
2c6c40bda) under Fedora 43, the knotty UI is broken. While building, it eats previous lines when a new task is started so that every output (Build Configuration, warnings) is removed at the end.Downgrading 3.14.0-1.fc43 to 3.13.9-1.fc42 restores the old behavior. Seen with 'screen' and 'xterm' $TERM.
Problem is
| cr = struct.unpack('hh', fcntl.ioctl(fd, self.termios.TIOCGWINSZ, '1234'))
which is accepted by old python but fails now with
| struct.unpack('hh', fcntl.ioctl(0, termios.TIOCGWINSZ, '1234'))
| ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| SystemError: buffer overflowI will provide a patch...
Enrico