Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Juan Manuel Méndez Rey
Tue, 17 Nov 2026 21:40
Bug#1154253: jline4: JNI terminal hangs on ppc64el, wrong termios constants
Author: Juan Manuel Méndez Rey
Date: Tue, 17 Nov 2026 21:40
Date: Tue, 17 Nov 2026 21:40
23 lines
2662 bytes
2662 bytes
Package: libjline4-java Version: 4.0.14+ds2-1 Severity: important Tags: patch User: debian-powerpc@lists.debian.org Usertags: ppc64el The readline autopkgtest times out on ppc64el and passes on the other architectures, which blocks migration: https://ci.debian.net/packages/j/jline4/testing/ppc64el/77889897/ It hangs when it opens a system terminal with the JNI provider on a pty. LinuxNativePty hard-codes the x86 Linux termios values. Linux on powerpc has another layout: VMIN is 5 and VTIME is 7 (6 and 5 on x86), ICANON is 0x100 and ISIG is 0x80 (0x2 and 0x1), and 54 more constants differ. So on ppc64el JLine sets wrong terminal attributes and a read can block for ever. Reproduced under qemu with a ppc64el unstable chroot: the test times out after 3600 s. With the powerpc values from glibc's termios.h the same test passes in 15 s. The fix is ready in 4.0.14+ds2-2. Upstream master (4.7.0) has the same problem in LinuxTermiosMapping.java; I am sending them the fix.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads