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

'opensuse/leap:latest' build fails #143

Closed
anatol opened this issue Apr 10, 2024 · 4 comments
Closed

'opensuse/leap:latest' build fails #143

anatol opened this issue Apr 10, 2024 · 4 comments
Labels
external Issue caused by other project or program

Comments

@anatol
Copy link
Collaborator

anatol commented Apr 10, 2024

See https://github.com/nmeum/android-tools/actions/runs/8581817413/job/23638075629

It looks protobuf related:

dynamic_partitions_device_info.pb.cc:(.text+0x1316): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata const&)'
/usr/bin/ld: vendor/libliblpdump.a(dynamic_partitions_device_info.pb.cc.o): in function `android::DynamicPartitionsDeviceInfoProto::GetMetadata() const':
dynamic_partitions_device_info.pb.cc:(.text+0x1ab6): undefined reference to `google::protobuf::internal::AssignDescriptors(google::protobuf::internal::DescriptorTable const* (*)(), absl::lts_20240116::once_flag*, google::protobuf::Metadata const&)'
/usr/bin/ld: vendor/liblibjsonpbparse.a(jsonpb.cpp.o): in function `android::jsonpb::MessageToJsonString[abi:cxx11](google::protobuf::Message const&)':
jsonpb.cpp:(.text+0x209): undefined reference to `google::protobuf::util::NewTypeResolverForDescriptorPool(absl::lts_20240116::string_view, google::protobuf::DescriptorPool const*)'
/usr/bin/ld: vendor/liblibjsonpbparse.a(jsonpb.cpp.o): in function `android::jsonpb::internal::JsonStringToMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, google::protobuf::Message*)':
jsonpb.cpp:(.text+0x5cc): undefined reference to `google::protobuf::util::NewTypeResolverForDescriptorPool(absl::lts_20240116::string_view, google::protobuf::DescriptorPool const*)'
/usr/bin/ld: jsonpb.cpp:(.text+0x62e): undefined reference to `google::protobuf::json::JsonToBinaryString(google::protobuf::util::TypeResolver*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, absl::lts_20240116::string_view, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, google::protobuf::json::ParseOptions const&)'
/usr/bin/ld: jsonpb.cpp:(.text+0x65f): undefined reference to `google::protobuf::MessageLite::ParseFromString(absl::lts_20240116::string_view)'
clang-15.0: error: linker command failed with exit code 1 (use -v to see invocation)
@Biswa96
Copy link
Collaborator

Biswa96 commented Apr 10, 2024

Was protobuf package in opensuse rebuilt after abseil-cpp update? I am not familiar with opensuse.

@munix9
Copy link
Contributor

munix9 commented Apr 10, 2024

It looks like opensuse/leap:latest has already been upgraded from 15.5 to 15.6.

I'll take a look at it.

@Biswa96 Biswa96 added the external Issue caused by other project or program label Apr 24, 2024
@munix9
Copy link
Contributor

munix9 commented Jun 13, 2024

The current status:
Leap 15.5 build is still broken, unfortunately there is no feedback.
Leap 15.6 build works according to my tests and is now officially released.
This means that opensuse/leap:latest will soon be changed to Leap 15.6 and the tests should then run successfully again.

@Biswa96
Copy link
Collaborator

Biswa96 commented Jun 17, 2024

This means that opensuse/leap:latest will soon be changed to Leap 15.6 and the tests should then run successfully again.

I have re-run last two failed builds in CI and they went fine.

https://github.com/nmeum/android-tools/actions/runs/9429938019/job/26296914271
https://github.com/nmeum/android-tools/actions/runs/9208199841/job/26297031761

@Biswa96 Biswa96 closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Issue caused by other project or program
Projects
None yet
Development

No branches or pull requests

3 participants