Skip to content

AUR install cannot run because it cannot run stat ./opencode #3929

Closed

Description

@samhwang

Description

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 in package().
    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 in package().
    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.

Screenshot and/or share link

No response

Operating System

Arch Linux

Terminal

Ghostty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 5, 2025
  2. github-actions commented on Nov 5, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. thdxr commented on Nov 6, 2025

    @thdxr
    Member

    fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions