43 | google::protobuf::util::JsonOptions options; | ^~~~~~~ In file included from /var/tmp/portage/dev-util/android-tools-34.0.0/work/android-tools-34.0.0/vendor/extras/libjsonpb/parse/jsonpb.cpp:22: /usr/include/google/protobuf/util/json_util.h:45:7: note: declared here 45 | using JsonOptions ABSL_DEPRECATED("use JsonPrintOptions instead") = | ^~~~~~~~~~~ /var/tmp/portage/dev-util/android-tools-34.0.0/work/android-tools-34.0.0/vendor/extras/libjsonpb/parse/jsonpb.cpp:54:52: error: 'class absl::lts_20230125::string_view' has no member named 'as_string' 54 | return MakeError<std::string>(status.message().as_string()); | ^~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-20230816-090515 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.6 Python 3.11.4 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.71.1 [2] rust-1.71.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17 php cli (if any): go version go1.21.0 linux/amd64 HEAD of ::gentoo commit 6f80b9c73eb2ade01ae6f20b1dfad66160121a97 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Aug 21 18:31:43 2023 +0000 2023-08-21 18:31:42 UTC emerge -qpvO dev-util/android-tools [ebuild R ] dev-util/android-tools-34.0.0 USE="python -udev" PYTHON_TARGETS="python3_11 -python3_10"
Created attachment 868402 [details] emerge-info.txt
Created attachment 868403 [details] dev-util:android-tools-34.0.0:20230821-194036.log.xz
Created attachment 868404 [details] emerge-history.txt.xz
Created attachment 868405 [details] environment
Created attachment 868406 [details] etc.clang.tar.xz
Created attachment 868407 [details] etc.portage.tar.xz
Created attachment 868408 [details] logs.tar.xz
Created attachment 868409 [details] temp.tar.xz
https://github.com/nmeum/android-tools/commit/c5eae90a06072c6982e483f8154e490b47e620f7
Created attachment 868434 [details, diff] Reformatted patch This applies cleanly
This patch works for me https://github.com/nmeum/android-tools/pull/120#issuecomment-1621066529
patch in comment #11 works for me
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6715861d4786d75621d8ed980121b37be523f5bb commit 6715861d4786d75621d8ed980121b37be523f5bb Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-22 21:23:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-22 21:23:15 +0000 dev-util/android-tools: fix build w/ new protobuf Closes: https://bugs.gentoo.org/912789 Signed-off-by: Sam James <sam@gentoo.org> dev-util/android-tools/Manifest | 1 + dev-util/android-tools/android-tools-34.0.1.ebuild | 95 ++++++++++++++++++++++ .../files/android-tools-34.0.0-protobuf.patch | 41 ++++++++++ 3 files changed, 137 insertions(+)