RipgrepExtractionFailedError: tar uknow option include #2808

Open
opened 2026-02-16 17:37:20 -05:00 by yindo · 2 comments
Owner

Originally created by @iljabauer on GitHub (Nov 12, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Running any command causes, for example opencode run hello --print-logs:
INFO 2025-11-12T12:43:01 +0ms service=session.prompt session=ses_587e8bda3ffe2sGjdo4JsEpSlK sessionID=ses_587e8bda3ffe2sGjdo4JsEpSlK unlocking
152 | stderr: "pipe",
153 | stdout: "pipe",
154 | })
155 | await proc.exited
156 | if (proc.exitCode !== 0)
157 | throw new ExtractionFailedError({
^
RipgrepExtractionFailedError: RipgrepExtractionFailedError
data: {
filepath: "/Users/ibauer/.local/share/opencode/bin/rg",
stderr: "tar: Unbekannte Option „--include=*/rg“\n„tar --help“ oder „tar --usage“ gibt weitere Informationen.\n",
},

  at <anonymous> (src/file/ripgrep.ts:157:17)

ERROR 2025-11-12T12:43:01 +35ms service=acp-command promise={} reason=RipgrepExtractionFailedError Unhandled rejection
ERROR 2025-11-12T12:43:01 +0ms service=default e=RipgrepExtractionFailedError rejection

OpenCode version

1.0.61

Steps to reproduce

  • Install opencode via npm
  • Added custom provider
  • run opencode run hello --print-logs`

Screenshot and/or share link

No response

Operating System

macos 26.1

Terminal

iTerm2, Ghosty

Originally created by @iljabauer on GitHub (Nov 12, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Running any command causes, for example `opencode run hello --print-logs`: INFO 2025-11-12T12:43:01 +0ms service=session.prompt session=ses_587e8bda3ffe2sGjdo4JsEpSlK sessionID=ses_587e8bda3ffe2sGjdo4JsEpSlK unlocking 152 | stderr: "pipe", 153 | stdout: "pipe", 154 | }) 155 | await proc.exited 156 | if (proc.exitCode !== 0) 157 | throw new ExtractionFailedError({ ^ RipgrepExtractionFailedError: RipgrepExtractionFailedError data: { filepath: "/Users/ibauer/.local/share/opencode/bin/rg", stderr: "tar: Unbekannte Option „--include=*/rg“\n„tar --help“ oder „tar --usage“ gibt weitere Informationen.\n", }, at <anonymous> (src/file/ripgrep.ts:157:17) ERROR 2025-11-12T12:43:01 +35ms service=acp-command promise={} reason=RipgrepExtractionFailedError Unhandled rejection ERROR 2025-11-12T12:43:01 +0ms service=default e=RipgrepExtractionFailedError rejection ### OpenCode version 1.0.61 ### Steps to reproduce - Install opencode via npm - Added custom provider - run opencode run hello --print-logs` ### Screenshot and/or share link _No response_ ### Operating System macos 26.1 ### Terminal iTerm2, Ghosty
yindo added the bug label 2026-02-16 17:37:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2025):

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

  • #1713: Same RipgrepExtractionFailedError with tar --include option (has a workaround: manually install ripgrep)
  • #874: Similar tar option compatibility issue with bsdtar

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

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #1713: Same RipgrepExtractionFailedError with tar --include option (has a workaround: manually install ripgrep) - #874: Similar tar option compatibility issue with bsdtar Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

will fix

@rekram1-node commented on GitHub (Nov 12, 2025): will fix
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2808