Installation fails on compilation stage of http_client_filter.cc on Centos 7 (with python3)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system
Research direction
Start with src/core/ext/filters/http/client/http_client_filter.cc at line 546 and inspect the reported Abseil StrFormat call, then reproduce python3 setup.py install on CentOS 7 using the versions listed. The compilation error should be resolved, and the remaining Python 3 ModuleNotFoundError: No module named 'commands' should be checked separately to confirm whether installation completes.
Written by the indexing model from the issue text.
Description
Versions:
- CentOS Linux release 7.7.1908 (Core)
- cvpi version 2020.2.3-base-4-g56c15e7 go1.13.6
python3 setup.py install fails when compiling http_client_filter.cc.
Here is the part of the output with the compiler error:
src/core/ext/filters/http/client/http_client_filter.cc: In function ‘grpc_core::ManagedMemorySlice user_agent_from_args(const grpc_channel_args*, const char*)’:
src/core/ext/filters/http/client/http_client_filter.cc:546:58: error: no matching function for call to ‘StrFormat(const char [19], const char*, const char [6], const char*&)’
GPR_PLATFORM_STRING, transport_name));
^
src/core/ext/filters/http/client/http_client_filter.cc:546:58: note: candidate is:
In file included from src/core/ext/filters/http/client/http_client_filter.cc:27:0:
third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template<class ... Args> std::string absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args ...>&, const Args& ...)
ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& format,
^
third_party/abseil-cpp/absl/strings/str_format.h:338:34: note: template argument deduction/substitution failed:
src/core/ext/filters/http/client/http_client_filter.cc:546:58: note: mismatched types ‘absl::lts_2020_09_23::FormatSpec<Args ...>’ and ‘const char [19]’
GPR_PLATFORM_STRING, transport_name));
The attached file below includes the whole output of the command:
cloudvision-compile.txt
Note that in the end there is a secondary problem that has to do with python 3 (the ModuleNotFoundError: No module named 'commands' error), but I guess that is only triggered by the gcc error above.
- Dominant language
- Python
- Stars
- 37
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aristanetworks/cloudvision-python
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
aristanetworks/cloudvision-python#23 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
aristanetworks/cloudvision-python#12 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
aristanetworks/cloudvision-python#3 · 1 comment ·
All issues in aristanetworks/cloudvision-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100