Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker fails to build on OSX (both main and ziggy branches) #7

Open
illuzen opened this issue Oct 10, 2024 · 0 comments
Open

Docker fails to build on OSX (both main and ziggy branches) #7

illuzen opened this issue Oct 10, 2024 · 0 comments

Comments

@illuzen
Copy link

illuzen commented Oct 10, 2024

Changed image line to

FROM --platform=linux/amd64 ubuntu:20.04

and change CPPLINT.cfg filter command to

filter=-legal/copyright,-build/c++11,-whitespace/indent_namespace,-build/include_what_you_use,-readability/casting

but still getting errors in the commitment scheme tests.

67.21 [ 77%] Building CXX object src/starkware/commitment_scheme/CMakeFiles/packaging_commitment_scheme.dir/packaging_commitment_scheme.cc.o
69.04 In file included from /app/src/starkware/commitment_scheme/salted_commitment_scheme_test.cc:7:
69.04 In file included from /usr/local/include/gmock/gmock.h:62:
69.04 /usr/local/include/gmock/gmock-generated-nice-strict.h:276:3: error: call to implicitly-deleted default constructor of 'starkware::VerifierChannelMock'
69.04 StrictMock() {
69.04 ^
69.04 /app/src/starkware/commitment_scheme/salted_commitment_scheme_test.cc:114:35: note: in instantiation of member function 'testing::StrictMockstarkware::VerifierChannelMock::StrictMock' requested here
69.04 StrictMock verifier_channel;
69.04 ^
69.04 /app/src/starkware/channel/verifier_channel_mock.h:13:29: note: default constructor of 'VerifierChannelMock' is implicitly deleted because base class 'starkware::VerifierChannel' has a deleted default constructor
69.04 class VerifierChannelMock : public VerifierChannel {
69.04 ^
69.04 /app/src/starkware/channel/verifier_channel.h:26:3: note: explicitly defaulted function was implicitly deleted here
69.04 VerifierChannel() = default;
69.04 ^
69.04 /app/src/starkware/channel/verifier_channel.h:170:32: note: default constructor of 'VerifierChannel' is implicitly deleted because field 'proof_' of const-qualified type 'const std::vectorstd::byte' would not be initialized
69.04 const std::vectorstd::byte proof_;
69.04 ^
69.09 1 error generated.
69.10 make[2]: *** [src/starkware/commitment_scheme/CMakeFiles/salted_commitment_scheme_test.dir/build.make:63: src/starkware/commitment_scheme/CMakeFiles/salted_commitment_scheme_test.dir/salted_commitment_scheme_test.cc.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant