Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937461 - dev-java/protobuf-java-3.23.0: fails to compile with abseil-cpp-20240116.2
Summary: dev-java/protobuf-java-3.23.0: fails to compile with abseil-cpp-20240116.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-08-06 18:56 UTC by Toralf Förster
Modified: 2024-08-08 08:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.20 KB, text/plain)
2024-08-06 18:56 UTC, Toralf Förster
Details
dev-java:protobuf-java-3.23.0:20240806-172428.log (dev-java:protobuf-java-3.23.0:20240806-172428.log,31.71 KB, text/plain)
2024-08-06 18:56 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,84.57 KB, application/x-xz)
2024-08-06 18:56 UTC, Toralf Förster
Details
environment (environment,171.59 KB, text/plain)
2024-08-06 18:56 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.36 KB, application/x-xz)
2024-08-06 18:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,52.96 KB, application/x-xz)
2024-08-06 18:56 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,89.06 KB, application/x-xz)
2024-08-06 18:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.65 KB, application/x-xz)
2024-08-06 18:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-08-06 18:56:20 UTC
  472 |   using layout_type = absl::container_internal::Layout<
      |                                                 ^~~~~~
/var/tmp/portage/dev-java/protobuf-java-3.23.0/work/protobuf-23.0/src/google/protobuf/arena.cc:494:20: error: 'layout_type' does not name a type
  494 |   constexpr static layout_type Layout(size_t n) {
      |                    ^~~~~~~~~~~
/var/tmp/portage/dev-java/protobuf-java-3.23.0/work/protobuf-23.0/src/google/protobuf/arena.cc: In member function 'absl::lts_20240116::Span<const std::atomic<void*> > google::protobuf::internal::ThreadSafeArena::SerialArenaChunk::ids() const':
/var/tmp/portage/dev-java/protobuf-java-3.23.0/work/protobuf-23.0/src/google/protobuf/arena.cc:417:12: error: 'Layout' was not declared in this scope
  417 |     return Layout(capacity()).Slice<kIds>(ptr()).first(safe_size());
      |            ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240801-090532

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
GENTOO_VM=openjdk-bin-21  CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-21.0.4_p7"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 89c13a4bd15b653f48d5656518d2de0d0a3fc5be
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 6 16:19:07 2024 +0000

    2024-08-06 16:19:06 UTC

emerge -qpvO dev-java/protobuf-java
[ebuild  N    ] dev-java/protobuf-java-4.27.2  USE="system-protoc -doc -source -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-06 18:56:21 UTC
Created attachment 899306 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-06 18:56:22 UTC
Created attachment 899307 [details]
dev-java:protobuf-java-3.23.0:20240806-172428.log
Comment 3 Toralf Förster gentoo-dev 2024-08-06 18:56:24 UTC
Created attachment 899308 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-06 18:56:25 UTC
Created attachment 899309 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-06 18:56:27 UTC
Created attachment 899310 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-06 18:56:28 UTC
Created attachment 899311 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-06 18:56:29 UTC
Created attachment 899312 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-06 18:56:30 UTC
Created attachment 899313 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-08 08:06:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a74a6ca1f27ff39d00ab8720cb25c19930987640

commit a74a6ca1f27ff39d00ab8720cb25c19930987640
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-08-07 04:05:44 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-08-08 08:02:47 +0000

    dev-java/protobuf-java: 3.23.0-r1 adjust dependency on dev-cpp/abseil-cpp #937461
    
    Also removes the system-protoc USE flag since the corresponding version of
    dev-libs/protobuf has been removed.
    
    Closes: https://bugs.gentoo.org/937461
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/37719/commits/8345fc4e42f4b1873bdab45a731a00c6de071b76
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 ....23.0.ebuild => protobuf-java-3.23.0-r1.ebuild} | 33 +++++-----------------
 1 file changed, 7 insertions(+), 26 deletions(-)