You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AUR install cannot run because it cannot run stat ./opencode #3929
At first I thought this was a paru issue, but then I realized I can reproduce this using yay.
Terminal output for paru -S opencode:
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat './opencode': No such file or directory
==> ERROR: A failure occurred inpackage().
Aborting...
error: failed to build 'opencode-1.0.24-1':
error: packages failed to build: opencode-1.0.24-1
Terminal output for yay -S opencode:
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat './opencode': No such file or directory
==> ERROR: A failure occurred inpackage().
Aborting...
-> error making: opencode-exit status 4
-> Failed to install the following packages. Manual intervention is required:
opencode - exit status 4
OpenCode version
1.0.24
Steps to reproduce
In an Arch Linux install, run either yay opencode or paru opencode and choose aur/opencode.
This issue might be a duplicate of existing issues. Please check:
Packaging Guidance Request for v1.x #3739: Discusses how the AUR PKGBUILD still uses outdated Go-based build instructions that no longer exist in v1.x (moved to OpenTUI architecture)
Activity
github-actions commentedon Nov 5, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
thdxr commentedon Nov 6, 2025
fixed