Comments (3)
try adding -//tools/... at the end, i think it's erroring on the build tool
I.e. bazel build -- //... -//tools/...
from prysm.
bazel build -- //... -//tools/...
still not working.
Starting local Bazel server and connecting to it...
INFO: From BazelWorkspaceStatusAction stable-status.txt:
date: illegal option -- -
usage: date [-jnRu] [-I[date|hours|minutes|seconds]] [-f input_fmt]
[-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]
[[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt]
date: illegal option -- -
usage: date [-jnRu] [-I[date|hours|minutes|seconds]] [-f input_fmt]
[-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]
[[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt]
ERROR: /private/var/tmp/_bazel_/187fa42438d89d1aa5dfcbb86837c850/external/protobuf~/BUILD.bazel:27:11: Compiling src/google/protobuf/io/coded_stream.cc [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target @@protobuf~//:protobuf_lite) external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics ... (remaining 36 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/protobuf~/src/google/protobuf/io/coded_stream.cc:943:29: error: out-of-line definition of 'WriteVarint32ToArrayOutOfLineHelper' does not match any declaration in 'google::protobuf::io::CodedOutputStream'
uint8_t* CodedOutputStream::WriteVarint32ToArrayOutOfLineHelper(uint32_t value,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ERROR: /private/var/tmp/_bazel_zhao/187fa42438d89d1aa5dfcbb86837c850/external/protobuf~/BUILD.bazel:27:11: Compiling src/google/protobuf/any_lite.cc [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target @@protobuf~//:protobuf_lite) external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics ... (remaining 36 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
external/protobuf~/src/google/protobuf/any_lite.cc:55:19: error: out-of-line definition of 'InternalPackFrom' does not match any declaration in 'google::protobuf::internal::AnyMetadata'
bool AnyMetadata::InternalPackFrom(Arena* arena, const MessageLite& message,
^~~~~~~~~~~~~~~~
external/protobuf~/src/google/protobuf/any_lite.cc:58:14: error: no matching member function for call to 'Set'
type_url_->Set(GetTypeUrl(type_name, type_url_prefix), arena);
~~~~~~~~~~~^~~
/usr/local/include/google/protobuf/arenastring.h:184:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(const std::string* default_value, ConstStringParam value,
^
/usr/local/include/google/protobuf/arenastring.h:186:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(const std::string* default_value, std::string&& value,
^
/usr/local/include/google/protobuf/arenastring.h:188:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(EmptyDefault, ConstStringParam value, ::google::protobuf::Arena* arena);
^
/usr/local/include/google/protobuf/arenastring.h:189:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(EmptyDefault, std::string&& value, ::google::protobuf::Arena* arena);
^
/usr/local/include/google/protobuf/arenastring.h:190:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(NonEmptyDefault, ConstStringParam value, ::google::protobuf::Arena* arena);
^
/usr/local/include/google/protobuf/arenastring.h:191:8: note: candidate function not viable: requires 3 arguments, but 2 were provided
void Set(NonEmptyDefault, std::string&& value, ::google::protobuf::Arena* arena);
^
external/protobuf~/src/google/protobuf/any_lite.cc:59:44: error: no matching member function for call to 'Mutable'
return message.SerializeToString(value_->Mutable(arena));
~~~~~~~~^~~~~~~
/usr/local/include/google/protobuf/arenastring.h:204:16: note: candidate function not viable: requires 2 arguments, but 1 was provided
std::string* Mutable(EmptyDefault, ::google::protobuf::Arena* arena);
^
/usr/local/include/google/protobuf/arenastring.h:206:16: note: candidate function not viable: requires 2 arguments, but 1 was provided
std::string* Mutable(const LazyString& default_value, ::google::protobuf::Arena* arena);
^
3 errors generated.
ERROR: /private/var/tmp/_bazel_zhao/187fa42438d89d1aa5dfcbb86837c850/external/protobuf~/BUILD.bazel:27:11: Compiling src/google/protobuf/inlined_string_field.cc [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing CppCompile command (from target @@protobuf~//:protobuf_lite) external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics ... (remaining 36 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from external/protobuf~/src/google/protobuf/inlined_string_field.cc:31:
external/protobuf~/src/google/protobuf/inlined_string_field.h:170:3: error: unknown type name 'PROTOBUF_NDEBUG_INLINE'
PROTOBUF_NDEBUG_INLINE void SetNoArena(StringPiece value);
^
external/protobuf~/src/google/protobuf/inlined_string_field.h:171:3: error: unknown type name 'PROTOBUF_NDEBUG_INLINE'
PROTOBUF_NDEBUG_INLINE void SetNoArena(std::string&& value);
^
external/protobuf~/src/google/protobuf/inlined_string_field.h:174:3: error: unknown type name 'PROTOBUF_NDEBUG_INLINE'
PROTOBUF_NDEBUG_INLINE const std::string& Get() const { return GetNoArena(); }
^
external/protobuf~/src/google/protobuf/inlined_string_field.h:174:37: error: non-friend class member 'string' cannot have a qualified name
PROTOBUF_NDEBUG_INLINE const std::string& Get() const { return GetNoArena(); }
~~~~~^
external/protobuf~/src/google/protobuf/inlined_string_field.h:174:43: error: expected ';' at end of declaration list
PROTOBUF_NDEBUG_INLINE const std::string& Get() const { return GetNoArena(); }
^
external/protobuf~/src/google/protobuf/inlined_string_field.h:210:3: error: unknown type name 'PROTOBUF_NODISCARD'
PROTOBUF_NODISCARD std::string* Release(Arena* arena, bool donated);
from prysm.
Turns out i have another protoc installed with brew, for anyone in need:
protocolbuffers/protobuf#5376
from prysm.
Related Issues (20)
- what is the format for the --peer parameter for the beacon-chain ?
- some issues in the ```GetLightClientUpdatesByRange``` function
- randomly dropping peer
- `--suggested-fee-recipient` for validator not overriding beacon's address in Prysm v5.0.3 HOT 3
- replace gorilla mux with http.ServeMux HOT 1
- add ``is_better_update`` helper function from CL specs
- cannot connect to peer HOT 1
- Replace multiple `--<network>` flags by an unique `--network=<network>` flag. HOT 1
- Misleading fee recipient used in `payload_attributes` event HOT 1
- Some places return an epoch where a sync committee period is expected instead
- Sepolia synchronization suddenly stopped working. HOT 2
- msg="Rebuilt deposit trie is invalid" error="wanted the canonical count of 1581467 but received 719741"
- Nethermind/Prysm sync is stuck, undefined execution engine error HOT 4
- Prysm VC ignores `--wallet-dir` tag and uses default path for `auth-token` file HOT 2
- eth/v1/node/syncing endpoint returns wrong value HOT 4
- p2p: fix redundant check while pruning peers in peer status
- Eth HOT 1
- Eth
- bug with minimal genesis preset: SynCommitteeBits length expected 64 HOT 1
- Minor Issues Identified in `runner` at `validator/client/runner.go` HOT 1
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 prysm.