Target //http-filter-example:envoy failed to build
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cpp
- 領域
- build-system
調査の方向性
http-filter-example/README.md と http-filter-example/BUILD:37 のターゲット定義から始め、次に http-filter-example/http_filter_config.cc の 31 行目付近を調べて Bazel ビルドを再現します。報告された Envoy API シグネチャと、例での呼び出しを比較します。//http-filter-example:envoy が正常にビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- C++
- スター
- 361
- フォーク
- 220
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
envoyproxy/envoy-filter-example のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
envoyproxy/envoy-filter-example#203 · コメント 4 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
envoyproxy/envoy-filter-example#178 · リアクション 1 件 ·
-
Startup failureオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 38/100
envoyproxy/envoy-filter-example#164 · コメント 1 件 ·
envoyproxy/envoy-filter-example の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
least_squares returns a nonfinite objective for an invalid initial residual対応中かも @sylvesterkaczmarek が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
google-deepmind/mujoco#4023 ·
メンテナーはふだん 11 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
envoyproxy/envoy#49711 ·
メンテナーはふだん 1 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
secondlife/viewer#6820 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
NOAA-OWP/ngen#1110 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信