Comments (2)
Also hit this (in nix):
$ which tar
/nix/store/j02fnkid82a80vr8hgh9mq169gcvcb87-gnutar-1.34/bin/tar
INFO: Repository bsd_tar_host instantiated at:
/Users/pcj/go/src/github.com/Omnistac/unity/WORKSPACE:161:37: in <toplevel>
/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/repositories.bzl:326:28: in aspect_bazel_lib_register_toolchains
/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/repositories.bzl:95:27: in register_tar_toolchains
Repository rule bsdtar_binary_repo defined at:
/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/private/tar_toolchain.bzl:165:37: in <toplevel>
ERROR: An error occurred during the fetch of repository 'bsd_tar_host':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/private/tar_toolchain.bzl", line 125, column 38, in _bsdtar_binary_repo
tar = _find_usable_system_tar(rctx, tar_name)
File "/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/private/tar_toolchain.bzl", line 110, column 9, in _find_usable_system_tar
fail("tar isn't a BSD tar")
Error in fail: tar isn't a BSD tar
ERROR: /Users/pcj/go/src/github.com/Omnistac/unity/WORKSPACE:161:37: fetching bsdtar_binary_repo rule //external:bsd_tar_host: Traceback (most recent call last):
File "/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/private/tar_toolchain.bzl", line 125, column 38, in _bsdtar_binary_repo
tar = _find_usable_system_tar(rctx, tar_name)
File "/private/var/tmp/_bazel_pcj/d7e82b68b84ece06dc82c3639a1eabcf/external/aspect_bazel_lib/lib/private/tar_toolchain.bzl", line 110, column 9, in _find_usable_system_tar
fail("tar isn't a BSD tar")
Error in fail: tar isn't a BSD tar
from bazel-lib.
We'll use https://github.com/dzbarsky/bsdtar/releases/tag/v3.7.2 which includes darwin binaries to fix this.
from bazel-lib.
Related Issues (20)
- [FR]: Add support for runtime_toolchain_type for jq/yq/... HOT 2
- `copy_to_directory` includes all files as runfiles HOT 3
- [Bug]: mtree_spec line order affects tar directory structure HOT 4
- [FR]: Add option to `copy_to_directory` to flatten the output tree structure
- [Bug]: tar toolchain downloads from a mutable registry HOT 1
- [FR]: Propagate Tags to Tar HOT 1
- [FR]: write_source_files and write_source_file shall support select()
- [FR]: Tar should add !gzip:timestamp option when compress = gzip
- [FR]: Support Expanding a filegroup via a rule HOT 2
- [Bug]: `mtree_spec` rule does not encode filenames with special characters HOT 7
- [FR]: Update libarchive to >= 3.7.1 HOT 1
- [Bug]: tar generates incorrect mtree for aspect_rules_js runfiles HOT 1
- [Bug]: unable to use expand_template in v2 HOT 1
- [Bug]: Cannot define custom `coreutils_toolchain`
- [Bug]: xz not found with new statically linked bsdtar HOT 5
- [Bug]: expand_template FORMATTED_DATE
- [FR]: `squash_tars` rule HOT 2
- [FR]: use sha256 instead of sha386 for integrity?
- [Bug]: 2.7.3 broke coreutils on x86 MacOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-lib.