Target //http-filter-example:envoy failed to build
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu với http-filter-example/README.md và định nghĩa target tại http-filter-example/BUILD:37, sau đó kiểm tra http-filter-example/http_filter_config.cc quanh dòng 31 và tái hiện bản build Bazel. So sánh chữ ký API Envoy được báo cáo với lời gọi trong ví dụ; hoàn tất nghĩa là //http-filter-example:envoy build thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have tried to build http-filter-example following README. The build fails with the error below
ERROR: /source/http-filter-example/BUILD:37:1: C++ compilation of rule '//http-filter-example:http_filter_config' failed (Exit 1) gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 917 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
http-filter-example/http_filter_config.cc: In member function 'virtual Envoy::Http::FilterFactoryCb Envoy::Server::Configuration::HttpSampleDecoderFilterConfig::createFilterFactoryFromProto(const google::protobuf::Message&, const string&, Envoy::Server::Configuration::FactoryContext&)':
http-filter-example/http_filter_config.cc:31:85: error: no matching function for call to 'Envoy::MessageUtil::downcastAndValidate<const sample::Decoder&>(const google::protobuf::Message&)'
Envoy::MessageUtil::downcastAndValidate<const sample::Decoder&>(proto_config), context);
^
In file included from bazel-out/k8-fastbuild/bin/external/envoy/include/envoy/upstream/_virtual_includes/locality_lib/envoy/upstream/locality.h:5:0,
from bazel-out/k8-fastbuild/bin/external/envoy/include/envoy/upstream/_virtual_includes/upstream_interface/envoy/upstream/upstream.h:22,
from bazel-out/k8-fastbuild/bin/external/envoy/include/envoy/grpc/_virtual_includes/context_interface/envoy/grpc/context.h:6,
from bazel-out/k8-fastbuild/bin/external/envoy/include/envoy/server/_virtual_includes/filter_config_interface/envoy/server/filter_config.h:7,
from http-filter-example/http_filter.h:5,
from http-filter-example/http_filter_config.cc:3:
bazel-out/k8-fastbuild/bin/external/envoy/source/common/protobuf/_virtual_includes/utility_lib/common/protobuf/utility.h:275:3: note: candidate: template<class MessageType> static const MessageType& Envoy::MessageUtil::downcastAndValidate(const google::protobuf::Message&, Envoy::ProtobufMessage::ValidationVisitor&)
downcastAndValidate(const Protobuf::Message& config,
^~~~~~~~~~~~~~~~~~~
bazel-out/k8-fastbuild/bin/external/envoy/source/common/protobuf/_virtual_includes/utility_lib/common/protobuf/utility.h:275:3: note: template argument deduction/substitution failed:
http-filter-example/http_filter_config.cc:31:85: note: candidate expects 2 arguments, 1 provided
Envoy::MessageUtil::downcastAndValidate<const sample::Decoder&>(proto_config), context);
^
Target //http-filter-example:envoy failed to build
- Ngôn ngữ chính
- C++
- Star
- 361
- Fork
- 220
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của envoyproxy/envoy-filter-example
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
envoyproxy/envoy-filter-example#203 · 4 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
envoyproxy/envoy-filter-example#178 · 1 reaction ·
-
Startup failureĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Add license file for useĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 38/100
envoyproxy/envoy-filter-example#164 · 1 bình luận ·
Tất cả issue của envoyproxy/envoy-filter-example
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
least_squares returns a nonfinite objective for an invalid initial residualCó thể đã có người làm @sylvesterkaczmarek đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google-deepmind/mujoco#4023 ·
Maintainer thường phản hồi trong vòng 11 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
envoyproxy/envoy#49711 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
secondlife/viewer#6820 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 83/100
NOAA-OWP/ngen#1110 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày