leostera / leostera/rules_reason

Building on osx: Usage of tar --transform flag

Open
#4 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
19
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When trying to build on a mac, it failed to due the missing --transform flag on the bsd tar the ships with mac. I ended up installing gtar and linking it in /usr/local. Perhaps these genrules can be rewritten to either not depend on that feature, or use a packaged version of tar?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the genrules that invoke tar and reproduce the build on macOS with the system BSD tar, checking the failure around the unsupported --transform flag. Compare avoiding that feature with using a packaged tar; done means the project builds on macOS without manually installing and linking GNU tar.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, shell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.