Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954089 - net-fs/cvmfs-2.12.7 - cache_extern.cc: error: using google::protobuf::internal::GetTypeNameReturnType = using absl::lts_20250127::string_view = using std::string_view = c
Summary: net-fs/cvmfs-2.12.7 - cache_extern.cc: error: using google::protobuf::interna...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2025-04-19 19:42 UTC by Toralf Förster
Modified: 2025-04-22 15:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.02 KB, text/plain)
2025-04-19 19:42 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,60.73 KB, application/x-xz)
2025-04-19 19:42 UTC, Toralf Förster
Details
environment (environment,97.17 KB, text/plain)
2025-04-19 19:42 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-04-19 19:42 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,47.86 KB, application/x-xz)
2025-04-19 19:42 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,45.93 KB, application/x-xz)
2025-04-19 19:42 UTC, Toralf Förster
Details
net-fs:cvmfs-2.12.7:20250419-194041.log (net-fs:cvmfs-2.12.7:20250419-194041.log,184.57 KB, text/plain)
2025-04-19 19:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,71.23 KB, application/x-xz)
2025-04-19 19:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.63 KB, application/x-xz)
2025-04-19 19:43 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 2025-04-19 19:42:53 UTC
too long lines were shrinked:

      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/var/tmp/portage/net-fs/cvmfs-2.12.7/work/cvmfs-2.12.7_build/cvmfs/cache.pb.h:9506:44: note: declared here
 9506 | inline ::cvmfs::MsgHash* PROTOBUF_NULLABLE MsgObjectInfoReq::release_object_id() {
      |                                            ^~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/net-fs/cvmfs-2.12.7/work/cvmfs-2.12.7/cvmfs/cache_extern.cc:29:
/var/tmp/portage/net-fs/cvmfs-2.12.7/work/cvmfs-2.12.7/cvmfs/cache_extern.cc: In static member function static void* ExternalCacheManager::MainRead(void*):
/var/tmp/portage/net-fs/cvmfs-2.12.7/work/cvmfs-2.12.7/cvmfs/cache_extern.cc:541:32: error: using google::protobuf::internal::GetTypeNameReturnType = using absl::lts_20250127::string_view = using std::string_view = class std::basic_string_view<char> {aka class std::basic_string_view<char>} has no me
  541 |             msg->GetTypeName().c_str());
      |                                ^~~~~

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20250415-193502

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.2
llvm-config: 20.1.2
Python 3.12.10
go version go1.24.2 linux/amd64
  [1]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.86.0
  [2]   rust-1.86.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [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
  HEAD of ::gentoo
commit c2a76eff87faa97b0d0694c4e93b02eecac4ad04
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 19 19:20:24 2025 +0000

    2025-04-19 19:20:24 UTC

The tinderbox task was: net-fs/cvmfs

emerge -qpvO =net-fs/cvmfs-2.12.7
[ebuild  N    ] net-fs/cvmfs-2.12.7  USE="-server"
Comment 1 Toralf Förster gentoo-dev 2025-04-19 19:42:54 UTC
Created attachment 925366 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-19 19:42:55 UTC
Created attachment 925367 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-19 19:42:56 UTC
Created attachment 925368 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-19 19:42:57 UTC
Created attachment 925369 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-19 19:42:58 UTC
Created attachment 925370 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-19 19:42:59 UTC
Created attachment 925371 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-19 19:43:01 UTC
Created attachment 925372 [details]
net-fs:cvmfs-2.12.7:20250419-194041.log
Comment 8 Toralf Förster gentoo-dev 2025-04-19 19:43:02 UTC
Created attachment 925373 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-04-19 19:43:03 UTC
Created attachment 925374 [details]
temp.tar.xz
Comment 10 Guilherme Amadio gentoo-dev 2025-04-20 20:30:12 UTC
Filed an issue upstream: https://github.com/cvmfs/cvmfs/issues/3811
As a workaround, please downgrade to <protobuf-30. I will add a patch to the ebuild soon.
Comment 11 Larry the Git Cow gentoo-dev 2025-04-22 15:07:17 UTC
The bug has been closed via the following commit(s):

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

commit cb2e8152e1910de86adab41459feafcc9d43cbef
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2025-04-22 09:18:43 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2025-04-22 15:06:38 +0000

    net-fs/cvmfs: fix compilation with >=protobuf-30, bug 954089
    
    Closes: https://bugs.gentoo.org/954089
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 net-fs/cvmfs/cvmfs-2.12.7.ebuild               |  1 +
 net-fs/cvmfs/files/cvmfs-2.12.7-protobuf.patch | 27 ++++++++++++++++++++++++++
 2 files changed, 28 insertions(+)