Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953247 - dev-util/android-tools-35.0.2 incompatible with >=dev-libs/protobuf-30
Summary: dev-util/android-tools-35.0.2 incompatible with >=dev-libs/protobuf-30
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-05 16:14 UTC by cJ
Modified: 2025-04-05 21:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2025-04-05 16:14:12 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-05 16:19:58 UTC
Please always include the full build.log and emerge --info.
Comment 2 Paul Zander 2025-04-05 16:28:58 UTC
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....
Comment 3 Zac Medico gentoo-dev 2025-04-05 21:41:59 UTC
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>