-
Notifications
You must be signed in to change notification settings - Fork 36
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
Build a Wasm Extension with C++ is always failed #62
Comments
+1 INFO: Build options --compilation_mode, --copt, --dynamic_mode, and 2 more have changed, discarding analysis cache.
INFO: Repository emscripten_toolchain instantiated at:
no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
/private/var/tmp/_bazel_clare/4757afce3fe6d2b8f1637ef8fd7c8b38/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Repository 'emscripten_toolchain' used the following cache hits instead of downloading the corresponding file.
* Hash 'ce7a5c76e8b425aca874cea329fd9ac44b203b777053453b6a37b4496c5ce34f' for https://github.com/emscripten-core/emsdk/archive/2.0.7.tar.gz
If the definition of 'emscripten_toolchain' was updated, verify that the hashes were also updated.
ERROR: An error occurred during the fetch of repository 'emscripten_toolchain':
Traceback (most recent call last):
File "/private/var/tmp/_bazel_clare/4757afce3fe6d2b8f1637ef8fd7c8b38/external/bazel_tools/tools/build_defs/repo/http.bzl", line 121, column 10, in _http_archive_impl
patch(ctx)
File "/private/var/tmp/_bazel_clare/4757afce3fe6d2b8f1637ef8fd7c8b38/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 161, column 21, in patch
fail("Error applying patch command %s:\n%s%s" %
Error in fail: Error applying patch command ./emsdk install 2.0.7:
Installing SDK 'sdk-releases-upstream-d7a29d82b320e471203b69d43aaf03b560eedc54-64bit'..
Installing tool 'node-12.18.1-64bit'..
Installation failed!
Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v12.18.1-darwin-x64.tar.gz': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)>
Warning: Possibly SSL/TLS issue. Update or install Python SSL root certificates (2048-bit or greater) supplied in Python folder or https://pypi.org/project/certifi/ and try again.
ERROR: /private/var/tmp/_bazel_clare/4757afce3fe6d2b8f1637ef8fd7c8b38/external/proxy_wasm_cpp_sdk/toolchain/BUILD:21:10: @proxy_wasm_cpp_sdk//toolchain:all depends on @emscripten_toolchain//:all in repository @emscripten_toolchain which failed to fetch. no such package '@emscripten_toolchain//': Error applying patch command ./emsdk install 2.0.7:
Installing SDK 'sdk-releases-upstream-d7a29d82b320e471203b69d43aaf03b560eedc54-64bit'..
Installing tool 'node-12.18.1-64bit'..
Installation failed!
Error: Downloading URL 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/deps/node-v12.18.1-darwin-x64.tar.gz': <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1045)>
Warning: Possibly SSL/TLS issue. Update or install Python SSL root certificates (2048-bit or greater) supplied in Python folder or https://pypi.org/project/certifi/ and try again.
ERROR: Analysis of target '//extensions/basic_auth:basic_auth.wasm' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.898s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 117 targets configured) |
@mark8s Problem accessing githuh network |
@xcbeyond I just found out |
Build completed successfully , My OS is Ubuntu,Bazelisk version: v1.11.0 INFO: Elapsed time: 767.543s, Critical Path: 66.91s |
Build according to Develop a Wasm extension with C++,commond
bazel build //:example.wasm
is failed:ERROR: C:/users/administrator/_bazel_administrator/e2vfoios/external/proxy_wasm_cpp_sdk/toolchain/BUILD:21:10: no such package '@emscripten_toolchain//': The repository '@emscripten_toolchain' could not be resolved and referenced by '@proxy_wasm_cpp_sdk//toolchain:all' ERROR: Analysis of target '//:example.wasm' failed; build aborted: Analysis failed
The text was updated successfully, but these errors were encountered: