Build failure when compiling current android-tools (34.*, 35.*) with a protobuf-30. FAILED: vendor/CMakeFiles/libjsonpbparse.dir/extras/libjsonpb/parse/jsonpb.cpp.o /var/tmp/portage/dev-util/android-tools-35.0.1/work/android-tools-35.0.1/vendor/extras/libjsonpb/parse/jsonpb.cpp:36:44: error: no match for ‘operator+’ (operand types are ‘std::__cxx11::basic_string<char>’ and ‘google::protobuf::internal::DescriptorStringView’ {aka ‘std::basic_string_view<char>’}) Build passes when downgrading protobuf to =dev-libs/protobuf-29.4. Reproducible: Always
Please always include the full build.log and emerge --info.
No longer needed in this case. The patch is trivial and will come with unmasking protobuf-30.2. And it seems someone took the liberty and already changed the ebuild without telling anyone....
commit 6efb3e4185c86c8850052bd5a8bce0af5033483f Author: Patrick Lauer <patrick@gentoo.org> Date: 2025-04-05 05:55:21 +0000 dev-util/android-tools: Restrict protobuf version Fails to build with protobuf-30 Signed-off-by: Patrick Lauer <patrick@gentoo.org>