Skip to content

Does not build on Arch Linux #7540

@agamsingh9

Description

@agamsingh9

Description

Using paru -S opencode

==> Making package: opencode 1.1.10-1 (Fri 09 Jan 2026 04:50:30 PM CST)
==> Retrieving sources...
  -> Downloading opencode-1.1.10.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0
100 70.02M 100 70.02M   0      0 25.75M      0   00:02   00:02         28.22M
==> Validating source files with sha256sums...
    opencode-1.1.10.tar.gz ... Skipped
==> Making package: opencode 1.1.10-1 (Fri 09 Jan 2026 04:50:34 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found opencode-1.1.10.tar.gz
==> Validating source files with sha256sums...
    opencode-1.1.10.tar.gz ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting opencode-1.1.10.tar.gz with bsdtar
==> Sources are ready.
opencode-1.1.10-1: parsing pkg list...
==> Making package: opencode 1.1.10-1 (Fri 09 Jan 2026 04:50:42 PM CST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
bun install v1.3.5-canary.1 (fa5a5bbe)
error: Workspace dependency "@opencode-ai/plugin" not found

Searched in "./*"

Workspace documentation: https://bun.com/docs/install/workspaces


error: Workspace dependency "@opencode-ai/script" not found

Searched in "./*"

Workspace documentation: https://bun.com/docs/install/workspaces

error: @opencode-ai/plugin@workspace:* failed to resolve
error: @opencode-ai/script@workspace:* failed to resolve
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'opencode-1.1.10-1':
error: packages failed to build: opencode-1.1.10-1

Using paru -S opencode-bin

Opencode installs sucessfully, but running opencode hangs forever.

Running opencode run 'hi' returns

Error: Unexpected error, check log file at /home/agam/.local/share/opencode/log/2026-01-09T225528.log for more details

error: Cannot find module '../../runtime/encrypt.js' from '/home/agam/.cache/opencode/node_modules/jose/dist/browser/jwe/flattened/encrypt.js'

Plugins

No response

OpenCode version

1.1.10-1

Steps to reproduce

paru -S opencode

Screenshot and/or share link

No response

Operating System

Arch Linux (virtual machine)

Terminal

tty (/dev/pts/0) through ssh from iTerm2

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingnix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions