Git Product home page Git Product logo

Comments (2)

pcj avatar pcj commented on June 3, 2024

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.

alexeagle avatar alexeagle commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.