Skip to content

"Unexpected" error building project with dependencies #23187

Open
@pvande

Description

@pvande

Zig Version

0.14.0

Steps to Reproduce and Observed Behavior

Preconditions:

  • macOS 15
  • project/build.zig.zon, which points to project/child/build.zig.zon by .path
  • project/child/build.zig.zon, which points to additional dependencies by .url

Run:

  • zig build

Result:

error: unable to rename temporary directory '/Users/username/.cache/zig/tmp/a76822d382aec5fc' into package cache directory '/Users/username/.cache/zig/p/N-V-__8AAKmsPQrl1anK5hm8jzXt1sWUly2hH5fCdP1IiAau': Unexpected

(Running mv ${source} ${dest} in the terminal succeeds without issue.)

Expected Behavior

I ideally would expect Zig to build the project successfully, or not fail a simple rename, or to at least provide an actionable error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions