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

[Build] Failure to build with "could not convert" #16878

Closed
veblush opened this issue May 16, 2024 · 3 comments
Closed

[Build] Failure to build with "could not convert" #16878

veblush opened this issue May 16, 2024 · 3 comments
Assignees
Labels

Comments

@veblush
Copy link
Contributor

veblush commented May 16, 2024

What version of protobuf and what language are you using?

Protobuf commit 69a26b2

What operating system (Linux, Windows, ...) and version?

Linux Debian 11 using Docker

What runtime / compiler are you using (e.g., python version or gcc version)

gcc 10

What did you do?

Build protobuf using cmake

What did you expect to see

Successful build

What did you see instead?

Build failure with log

/var/local/git/grpc/third_party/protobuf/src/google/protobuf/duration.pb.cc: In member function ‘virtual const google::protobuf::MessageLite::ClassData* google::protobuf::Duration::GetClassData() const’:
/var/local/git/grpc/third_party/protobuf/src/google/protobuf/duration.pb.cc:159:7: error: could not convert ‘{{(& google::protobuf::Duration::_table_.google::protobuf::internal::TcParseTable<1, 2, 0, 0, 2>::header), nullptr, nullptr, 28, false}, google::protobuf::Duration::MergeImpl, (& google::protobuf::Message::kDescriptorMethods), (& descriptor_table_google_2fprotobuf_2fduration_2eproto), nullptr}’ from ‘’ to ‘const google::protobuf::MessageLite::ClassDataFull’
  159 |       };
      |       ^
      |       |
      |       

Anything else we should know about your project / environment

  • This test is running under this docker image; us-docker.pkg.dev/grpc-testing/testing-images-public/cxx_debian11_x64:a9c5d062364adc836b4068cad93a3e448b25c37c@sha256:9f9285da21c1053ac715027e0cee66c20c70ebf016053328a4cee61ffd37e59b
@veblush veblush added the untriaged auto added to all issues by default when created. label May 16, 2024
@zhangskz zhangskz added c++ and removed untriaged auto added to all issues by default when created. labels May 16, 2024
@zhangskz
Copy link
Member

This is due to due to same error as #16868 preventing our CI job to refresh staleness files from running successfully. Sam has a fix coming in shortly.

@sbenzaquen
Copy link
Contributor

This should be fixed now that the bot updated the files. Please confirm.

@veblush
Copy link
Contributor Author

veblush commented May 21, 2024

Verified and thanks for the quick fix!

@veblush veblush closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants