Fix Firecrawl install: add ccache dependency for koffi native build - #16746
Merged
Conversation
MickLesk
previously approved these changes
Aug 25, 2026
CrazyWolf13
reviewed
Aug 25, 2026
CrazyWolf13
approved these changes
Aug 25, 2026
MickLesk
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✍️ Description
The Firecrawl install fails during
pnpm install --frozen-lockfilewhile building the nativekoffi@2.9.0module. On the Debian 13 (Proxmox 9.1) template, koffi has no prebuilt binary for Node 22 / linux_x64, so it builds from source. Its build script (cnoke/builder.js) auto-detectsccacheand passes-DCMAKE_C_COMPILER_LAUNCHER=ccacheto CMake, but a usableccachebinary isn't present whengmakeruns, so every compile fails with error 127 (ccache: No such file or directory) and CMake reports the C compiler as broken.The compiler (
gcc-14/cc) itself is fine — the Go cgo library and Rust both build successfully earlier in the script. Only the ccache launcher breaks the build. Fix: addccacheto the apt dependency list so koffi's auto-detected compiler launcher works.Authored with AI assistance: Claude Opus 4.8 (Claude Code), high reasoning level.
🔗 Related Issue
Fixes #16744
✅ Prerequisites (X in brackets)
🤖 AI Assistance (X in brackets)
AGENTS.mdand.github/agents/pve-script-creator.agent.mdas guidance, and the output has been reviewed and corrected to match those guidelines.🛠️ Type of Change (X in brackets)
README,AppName.md,CONTRIBUTING.md, or other docs.💥 Breaking Change Advisory (only if you checked "Breaking change")
If this PR changes existing behaviour in a way that may require action before an
update, add a
breaking-changeadvisory block to this PR body. The website andthe in-container update guard read it to tell operators exactly what to expect,
what to do first, and — with
action: block— to stop an update until it'shandled. Every field is optional; the advisory auto-expires 30 days after merge.
Copy the block out of the comment below, fill it in, and paste it here: