Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 689080

Summary: x11-terms/xterm-351: fails to start with 'open ttydev: I/O error' on musl-libc
Product: Gentoo Linux Reporter: Yed <yedvilun>
Component: HardenedAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: major CC: johannes.geiss, johu
Priority: Normal Keywords: NeedPatch, PullRequest
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26523
Whiteboard:
Package list:
Runtime testing required: ---

Description Yed 2019-07-01 13:31:34 UTC
On a gentoo hardened musl new system, xterm fails to start.
There is a patch from alpine linux that fix the problem:

https://git.alpinelinux.org/aports/tree/community/xterm/posix-ptys.patch?h=3.10-stable
Comment 1 Max Tottenham 2020-05-03 22:46:27 UTC
Confirmed. I have been able to duplicate this issue. When started xterm produces:

open ttydev: I/O error
open ttydev: I/O error
open ttydev: I/O error
open ttydev: I/O error
....


With the applied patch xterm starts normally.
Comment 2 Michael 'veremitz' Everitt 2020-05-04 06:06:36 UTC
Verified same issue here also.

Patch fixes on -351 and -353.

@johu, do you might carrying patch in ::gentoo ? shouldn't affect glibc builds adversely.