Cannot build Pkl without permissions to write to cache dir #297

Closed
opened 2025-12-30 01:23:15 +01:00 by adam · 0 comments
Owner

Originally created by @bioball on GitHub (Mar 1, 2025).

The build fails with file system exceptions, due to native-image attempting to create folders there

This is causing homebrew to fail the build: https://github.com/Homebrew/homebrew-core/actions/runs/13549918432/job/37876670696?pr=209038#step:3:246

Should allow builds to configure the cache dir (native-image has flag -Dpolyglot.engine.userResourceCache=writableFolder for this).

(Yay 1000!)

Originally created by @bioball on GitHub (Mar 1, 2025). The build fails with file system exceptions, due to native-image attempting to create folders there This is causing homebrew to fail the build: https://github.com/Homebrew/homebrew-core/actions/runs/13549918432/job/37876670696?pr=209038#step:3:246 Should allow builds to configure the cache dir (native-image has flag `-Dpolyglot.engine.userResourceCache=writableFolder` for this). (Yay 1000!)
adam closed this issue 2025-12-30 01:23:15 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#297