-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: bsdtar.exe fails to run on Windows #1739
Comments
This is blocked on upstream: bazelbuild/bazel-central-registry#1916 |
alexeagle
added
blocked
Blocked by another issue
windows
Specific to Windows
and removed
untriaged
Requires traige
labels
May 16, 2024
The upstream commit is merged. Do we expect this to work now? I can give you the mod graph if that helps.
|
|
We haven't found time for this, slipping from 2.0 release. Sorry! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
With rules_js 1.42.1 on Windows, running js_test targets fails due to a missing crypto DLL:
D:\workspace>bazel test //src/test --verbose_failures
WARNING: Streamed test output requested. All tests will be run locally, without sharding, one at a time
INFO: Analyzed target //src/test:test (0 packages loaded, 0 targets configured).
ERROR: D:/workspace/BUILD.bazel:6:22: Extracting npm package @types/[email protected] failed: (Exit -1073741515): bsdtar.exe failed: error executing NpmPackageExtract command (from target //:.aspect_rules_js/node_modules/@types[email protected]/pkg)
cd /d D:/udu/b/nag22qmp/execroot/_main
external\aspect_bazel_lib
toolchains~bsd_tar_windows_amd64\libarchive\bin\bsdtar.exe --extract --no-same-owner --no-same-permissions --strip-components 1 --file external/aspect_rules_jsnpm~npm__at_types_node__20.12.12/package.tgz --directory bazel-out/x64_windows-opt/bin/node_modules/.aspect_rules_js/@types[email protected]/node_modules/@types/nodeConfiguration: d850a7e5673f06961afdd7f68e62a46ae2620e12a4464604ad6d160b42ae6c5f
Execution platform: @@my_toolchain~//platforms:x64_windows
Target //src/test:test failed to build
INFO: Elapsed time: 1.440s, Critical Path: 0.93s
INFO: 41 processes: 41 internal.
ERROR: Build did NOT complete successfully
//src/test:test FAILED TO BUILD
Running the exe by double clicking is the easiest way to see what dependency is missing:
The issue is that libcrypto-1_1-x64.dll is not found
Version
Development (host) and target OS/architectures:
Output of
bazel --version
:7.2.0rc1
Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file:1.42.1
Language(s) and/or frameworks involved:
node 18.20.0
How to reproduce
No response
Any other information?
No response
The text was updated successfully, but these errors were encountered: