Skip to content

Linux desktop build bundles wrong architecture opencode-cli (aarch64 in x86_64 package) #16813

@deefoor

Description

@deefoor

Description

[v1.2.24] Linux desktop release appears to bundle the wrong architecture
for the CLI sidecar.

Environment

  • OS: Arch / CachyOS
  • CPU: x86_64

Logs show:
Sidecar path resolved: resources/opencode-cli
Process exited with code 126
Exec format error

Inspection of the bundled binary:

file resources/opencode-cli

Result:
ELF 64-bit LSB executable, ARM aarch64

Expected:
x86_64 binary

[v1.2.23] works correctly,
while [v1.2.24] contains the wrong sidecar. Occurs in both .deb and .AppImage

Plugins

No response

OpenCode version

1.2.24 Linux Desktop (AppImage + Deb)

Steps to reproduce

  1. Download opencode-electron-linux-x86_64.AppImage
  2. Launch app
  3. GUI starts but backend fails

Screenshot and/or share link

No response

Operating System

Linux

Terminal

No response

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