Skip to content

error: unable to unpack tarball to temporary directory: TarComponentsOutsideStrippedPrefix #17779

@theoparis

Description

@theoparis

Zig Version

0.12.0 (gentoo 9999 version)

Steps to Reproduce and Observed Behavior

/home/theo/chromium/build.zig.zon:10:20: error: unable to unpack tarball to temporary directory: TarComponentsOutsideStrippedPrefix
.url = "https://chromium.googlesource.com/chromium/tools/depot_tools.git/+archive/refs/heads/main.tar.gz",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It seems like there may need to be some kind of way to set strip_components here.

Expected Behavior

The zig package manager should succesfully download depot_tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.zig build systemstd.Build, the build runner, `zig build` subcommand, package management

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions