Skip to content

.deb archives are incompatible with multitool #107

@HunterLarco

Description

@HunterLarco

.deb files fall under the "archive" flow which uses bazel's native download_and_extract (code). This is a problem because bazel's implementation of download_and_extract for .deb files only decompresses the outer ar archive layer and not the inner data.tar.* files (code).

This means after download_and_extract runs on a .deb, you'll get:

debian-binary
control.tar.gz   (or .xz, .zst)
data.tar.gz      (or .xz, .zst)

...not the actual unpacked files you probably want.

As a result, multitool is incompatible with deb archives because it cannot index into data.tar.gz to locate the executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions