Skip to content

TUI fails on Alpine Linux (musl) in 1.14.50: getcontext symbol not found #27589

@ncopa

Description

@ncopa

Description

Regression: worked in 1.14.48, broken in 1.14.50

Failed to initialize OpenTUI render library: Failed to open library "...so": 
  Error relocating ...: getcontext: symbol not found

Plugins

No response

OpenCode version

1.14.50

Steps to reproduce

  1. Install and run opencode 1.14.48 in Alpine Linux (docker or VM)
  2. verify that the TUI works
  3. upgrade to 1.14.50
  4. run opencode --print-logs 2>&1

Screenshot and/or share link

INFO  2026-05-14T18:48:28 +127ms service=default version=1.14.50 args=["--print-logs"] process_role=main run_id=324593bb-64f2-4fb3-a21a-e00683ffa955 opencode
ERROR 2026-05-14T18:48:28 +155ms service=default e=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.fbffafbee54fffb2-00000001.so": Error relocating /tmp/.fbffafbee54fffb2-00000001.so: getcontext: symbol not found rejection
ERROR 2026-05-14T18:48:28 +0ms service=default error=Failed to initialize OpenTUI render library: Failed to open library "/tmp/.fbffafbee54fffb2-00000001.so": Error relocating /tmp/.fbffafbee54fffb2-00000001.so: getcontext: symbol not found process error

Operating System

Alpine Linix edge x86_64

Terminal

xfce4-terminal + tmux

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions