Comments (11)
I think you are missing some steps in your "What I did" section, but from the error message you are getting java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
, I suspect Java doesn't have TLS configured correctly. Do you have the ca-certificates-java
package installed?
from abseil-cpp.
Yes, I have it installed. "20170930" version - in terms of Ubuntu's apt.
from abseil-cpp.
What does your WORKSPACE file look like?
from abseil-cpp.
workspace(name = "com_google_absl")
# GoogleTest/GoogleMock framework. Used by most unit-tests.
http_archive(
name = "com_google_googletest",
urls = ["https://github.com/google/googletest/archive/master.zip"],
strip_prefix = "googletest-master",
)
# CCTZ (Time-zone framework).
http_archive(
name = "com_googlesource_code_cctz",
urls = ["https://github.com/google/cctz/archive/master.zip"],
strip_prefix = "cctz-master",
)
# RE2 regular-expression framework. Used by some unit-tests.
http_archive(
name = "com_googlesource_code_re2",
urls = ["https://github.com/google/re2/archive/master.zip"],
strip_prefix = "re2-master",
)
from abseil-cpp.
This looks like the Abseil WORKSPACE file (from the workspace(name = "com_google_absl")
line). It doesn't look like you've created a WORKSPACE file for your personal project.
In the Quickstart see the section "Linking Your Code to the Abseil Repository". I don't think you've completely followed it.
If you want more help you'll need to post the exact commands you've run. Your "What I did" section is missing some steps.
from abseil-cpp.
@derekmauro, I just followed tutorial literally and run commands as was said in quickstart(just in /opt/bmusin, not ~ directory.) and stuck on bazel test absl/...:all line.
"Linking Your Code to the Abseil Repository" section is lower than the line where I encountered
problem.
from abseil-cpp.
Does it work if you try it in the ~ directory?
from abseil-cpp.
Yes, it gives:
......................................
ERROR: /home/bulat/Source/abseil-cpp/absl/time/BUILD.bazel:27:1: no such package '@com_googlesource_code_cctz//': Error downloading [https://github.com/google/cctz/archive/master.zip] to /home/bulat/.cache/bazel/_bazel_bulat/f1a44aa9b91431a3a92b0471d02f54b7/external/com_googlesource_code_cctz/master.zip: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty and referenced by '//absl/time:time'
ERROR: /home/bulat/Source/abseil-cpp/absl/time/BUILD.bazel:27:1: no such package '@com_googlesource_code_cctz//': Error downloading [https://github.com/google/cctz/archive/master.zip] to /home/bulat/.cache/bazel/_bazel_bulat/f1a44aa9b91431a3a92b0471d02f54b7/external/com_googlesource_code_cctz/master.zip: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty and referenced by '//absl/time:time'
ERROR: Analysis of target '//absl/time:time' failed; build aborted: Loading failed
INFO: Elapsed time: 21.766s
FAILED: Build did NOT complete successfully (23 packages loaded)
ERROR: Couldn't start the build. Unable to run tests
from abseil-cpp.
I'm pretty confident this isn't an Abseil issue. It sounds like something is wrong with the Java/TLS configuration on your system. You might want to try some of the suggestions in https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty, but I don't think we are going to be able to help you.
from abseil-cpp.
@derekmauro, tested today without updating the repo - tests passed.
from abseil-cpp.
Great to hear that!
from abseil-cpp.
Related Issues (20)
- [Bug]: Build fails: error: use of undeclared identifier 'FP_NAN' HOT 2
- [Bug]: failed to build python-grpcio when using -std=c++14
- [Bug]: UBSAN failure in raw_hash_set.h HOT 10
- [Bug]: cmake installation does not set RPATH/RUNPATH
- [Bug]: My application's clang-tidy build failing from abseil package. HOT 1
- [Bug]: C++17 support broken by https://github.com/abseil/abseil-cpp/commit/f845e60acd880dbf07788a5a2c0dbad0f9c57231 HOT 1
- [Bug]: AddressSanitizer error using flat_hash_set HOT 1
- [Bug]: Add Privacy Manifest HOT 1
- [Bug]: Unit tests fails to compile using LTS 20240116.0 HOT 1
- [cmake] Cannot find libabsl_scoped_set_env.so
- [Bug]: Problems with inline namespaces in 20240116 HOT 7
- [Bug]: inlined_vector implicitly assumes Pointer<A> is a native pointer type
- [Bug]: missing Mutex::Dtor on linux? HOT 17
- [Bug]: Parameter pack workaround fails with nvcc HOT 17
- [Bug]: Missing constructor for `absl::synchronization_internal::KernelTimeout` in shared builds HOT 5
- [Bug]: Constexpr expansion compilation error with GCC's UndefinedBehaviorSanitizer HOT 5
- [Bug]: internal/hash.h failed to compile in C++17 on GCC 7 HOT 1
- [Bug]: -Wmaybe-uninitialized warnings in InlinedVector
- [Bug]: Proto_library fails to build with abseil-cpp version = "20240116.0" HOT 2
- [Bug]: Unusable for installable projects whose other dependencies also define a `check` target HOT 3
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 abseil-cpp.