Bug 13691 - Building Poky with MUSL results in xterm not working
Summary: Building Poky with MUSL results in xterm not working
Status: RESOLVED FIXED
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 3.0
Hardware: All Multiple
: Medium+ normal
Target Milestone: 3.1 M3
Assignee: Khem Raj
QA Contact:
URL:
Whiteboard: with backport
Depends on:
Blocks:
 
Reported: 2019-12-07 13:40 UTC by anon2313
Modified: 2020-02-13 16:09 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
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 anon2313 2019-12-07 13:40:57 UTC
The setup I am trying to use is:
Poky Zeus and meta-openembedded Zeus

Add these lines to local.conf:
MACHINE = "genericx86-64"
IMAGE_INSTALL_append = " xterm"
TCLIBC = "musl"

Then build core-image-x11 and run it on a regular PC.

When starting xterm it will print to the console an endless loop of I/O errors.
"open ttydev:  I/O error"

This works correctly if you don't set TCLIBC when building the system.
Comment 1 Ross Burton 2019-12-10 11:19:55 UTC
Khem, seen this before?
Comment 2 Khem Raj 2019-12-10 18:31:42 UTC
(In reply to comment #1)
> Khem, seen this before?

Not directly. core-image-x11 worked fine. xterm might be a different story can you try this patch

https://gist.github.com/kraj/d30b2a07b7e2255420a024afb77a1a95
Comment 3 anon2313 2019-12-10 23:21:05 UTC
Thanks, that fixed it.
Comment 4 Ross Burton 2019-12-12 16:00:18 UTC
Khem, can you submit this patch?
Comment 5 Khem Raj 2019-12-12 20:23:47 UTC
patch sent for review
Comment 6 Randy MacLeod 2020-02-13 16:07:46 UTC
Khem, merged?
Comment 7 Khem Raj 2020-02-13 16:09:48 UTC
Yes it can be closed I think