Skip to content

OpenBSD tar is not detected #33

@blackgnezdo

Description

@blackgnezdo

When running stack I get this error:

2021-05-09 21:20:54.625664: [debug] Run process within /tmp/with-repo54077/cloned: /bin/tar --version
2021-05-09 21:20:54.975595: [error] Received ExitFailure 1 when running
Raw command: /bin/tar --version
Run from: /tmp/with-repo54077/cloned
Standard error:

tar: unknown option -- -
usage: tar {crtux}[014578befHhjLmNOoPpqsvwXZz]
           [blocking-factor | archive | replstr] [-C directory] [-I file]
           [file ...]
       tar {-crtux} [-014578eHhjLmNOoPpqvwXZz] [-b blocking-factor]
           [-C directory] [-f archive] [-I file] [-s replstr] [file ...]

I suspect this is due to pantry trying to work out the tar version. I doubt --version is in any relevant standard that OpenBSD follows, so tar exits with error code 1 in such cases.

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