Skip to content

deps: migrate away from aspect-bazel-lib#562

Closed
malt3 wants to merge 1 commit intocgrindel:mainfrom
malt3:prepare-for-bazel-9
Closed

deps: migrate away from aspect-bazel-lib#562
malt3 wants to merge 1 commit intocgrindel:mainfrom
malt3:prepare-for-bazel-9

Conversation

@malt3
Copy link
Copy Markdown

@malt3 malt3 commented Dec 3, 2025

The tar toolchain now lives in tar.bzl.
See: bazel-contrib/tar.bzl#37.

This is a prerequisite to work on Bazel 9 since this version of aspect_bazel_lib still depends on local_config_platform, which is no longer available:

ERROR: /home/malte/github.com/cgrindel/bazel-starlib/release/BUILD.bazel:52:16: While resolving toolchains for target //release:archive (bbcbb1c): invalid registered toolchain '@bsd_tar_toolchains//:all': while parsing '@bsd_tar_toolchains//:all': error loading package '@@aspect_bazel_lib++toolchains+bsd_tar_toolchains//': Unable to find package for @@[unknown repo 'local_config_platform' requested from @@aspect_bazel_lib++toolchains+bsd_tar_toolchains]//:constraints.bzl: The repository '@@[unknown repo 'local_config_platform' requested from @@aspect_bazel_lib++toolchains+bsd_tar_toolchains]' could not be resolved: No repository visible as '@local_config_platform' from repository '@@aspect_bazel_lib++toolchains+bsd_tar_toolchains'.

The tar toolchain now lives in tar.bzl.
See: bazel-contrib/tar.bzl#37
@cgrindel
Copy link
Copy Markdown
Owner

Sorry for the delay looking at this. We just merged #446 that uses Windows utils in aspect_bazel_lib. Is there something in aspect_bazel_lib that you do not want to reference?

@cgrindel
Copy link
Copy Markdown
Owner

@malt3 Let me know if you want to revisit this. For now, I am going to close this PR.

@cgrindel cgrindel closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants