Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939527 - dev-libs/protobuf-c-1.4.1-r1: compile errors after upgrade of abseil-cpp to 20240116.2-r4
Summary: dev-libs/protobuf-c-1.4.1-r1: compile errors after upgrade of abseil-cpp to 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 939528
Blocks:
  Show dependency tree
 
Reported: 2024-09-12 17:27 UTC by François Valenduc
Modified: 2025-02-12 06:34 UTC (History)
6 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 François Valenduc 2024-09-12 17:27:03 UTC
After upgrading abseil-cpp to 20240116.2-r4, protobuf-c needed to be rebuild. Unfortunately, I get a lot of compile errors:

/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1597: protoc-c/protoc_gen_c-c_enum.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_message_field.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1709: protoc-c/protoc_gen_c-c_message_field.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_extension.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1625: protoc-c/protoc_gen_c-c_extension.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_primitive_field.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1723: protoc-c/protoc_gen_c-c_primitive_field.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.cc:69:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1681: protoc-c/protoc_gen_c-c_helpers.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_enum_field.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1611: protoc-c/protoc_gen_c-c_enum_field.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_bytes_field.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1583: protoc-c/protoc_gen_c-c_bytes_field.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_message.cc:69:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1695: protoc-c/protoc_gen_c-c_message.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_service.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1737: protoc-c/protoc_gen_c-c_service.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_generator.cc:70:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1667: protoc-c/protoc_gen_c-c_generator.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_field.cc:69:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
make: *** [Makefile:1639: protoc-c/protoc_gen_c-c_field.o] Error 1
In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_file.cc:68:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_file.cc: In member function ‘void google::protobuf::compiler::c::FileGenerator::GenerateHeader(google::protobuf::io::Printer*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_file.cc:123:35: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  123 |   if (FileDescriptorLegacy(file_).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3) {
      |                                   ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_file.cc:123:69: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  123 |   if (FileDescriptorLegacy(file_).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3) {
      |                                                                     ^~~~~~~~~~~~~

I installed protobuf-c 1.5.0-r2 instead and it compiled correctly

Reproducible: Always
Comment 1 François Valenduc 2024-09-12 17:27:37 UTC
Output of emerge --info:

Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma/systemd, gcc-13, glibc-2.39-r6, 6.10.10 x86_64)
=================================================================
System uname: Linux-6.10.10-x86_64-AMD_Ryzen_7_7730U_with_Radeon_Graphics-with-glibc2.39
KiB Mem:    15773740 total,   3850572 free
KiB Swap:    5626876 total,   4110588 free
Timestamp of repository gentoo: Thu, 12 Sep 2024 15:19:55 +0000
Head commit of repository gentoo: ffb8494a119f2a613602a8a6de68803a09a15201

Timestamp of repository guru: Thu, 12 Sep 2024 09:49:03 +0000
Head commit of repository guru: 96a10b1785deded8765584a95d4ae04489dc0f96

Head commit of repository jgenco: 423739c4eef301d0478d43ada0c165830728007b

Head commit of repository scaleway: 21550d89403d8b75149da6deaba11046381bdba9

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.10.1 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
dev-util/ccache:           4.10.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7-r1::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo, 14.2.1_p20240817::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: yes

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay.git
    masters: gentoo
    volatile: False

localrepo
    location: /usr/local/portage
    masters: gentoo
    volatile: True

Binary Repositories:

gentoobinhost
    priority: 9999
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64


ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.9/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live buildsyspkg ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver3 -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512"
GENTOO_MIRRORS="https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_BE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j17 -l16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi activities alsa amd64 apparmor bluetooth bluray branding bzip2 cairo cdda cddb cdr cet crypt cups dbus declarative dri dts dvd dvdr encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kerberos kf6compat kwallet lcms libnotify libtirpc mad mmx mng mp3 mp4 mpeg mtp multilib musicbrainz ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire pkcs11 plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp secureboot semantic-desktop sound spell sse sse2 sse3 sse4 ssl ssse3 startup-notification svg systemd test-rust tiff tpm truetype udev udisks unicode upnp upower usb vhosts vim-syntax vorbis vulkan wayland webengine widgets wxwidgets xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16 postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Erik 2024-09-14 03:32:01 UTC
Confirmed:

In file included from /var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_bytes_field.cc:64:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h: In function ‘int google::protobuf::compiler::c::FieldSyntax(const google::protobuf::FieldDescriptor*)’:
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                              ^~~~~~
/var/tmp/portage/dev-libs/protobuf-c-1.4.1-r1/work/protobuf-c-1.4.1/protoc-c/c_helpers.h:180:80: error: ‘SYNTAX_PROTO3’ is not a member of ‘google::protobuf::FileDescriptorLegacy’
  180 |   return FileDescriptorLegacy(field->file()).syntax() == FileDescriptorLegacy::SYNTAX_PROTO3 ? 3 : 2;
      |                                                                                ^~~~~~~~~~~~~
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-12 06:34:59 UTC
Fixed time ago by..

commit 3048b6e8c4bc551480e6fd966fe531c0db1d3afc
Author: Paul Zander <negril.nx+gentoo@gmail.com>
Date:   Sun Jul 7 17:57:14 2024 +0200

    dev-libs/protobuf-c: add 1.5.0-r1

    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

commit a7a48ed2a0c9cfb428f50be5bf15b9fd1132c9c6
Author: Paul Zander <negril.nx+gentoo@gmail.com>
Date:   Thu Jul 18 21:09:20 2024 +0200

    dev-libs/protobuf-c: add 1.5.0-r2

    Drop patch causing "Built-in generator --c_out specifies a maximum edition
    PROTO3 which is not the protoc maximum 2023"
    Add dependency on dev-cpp/abseil-cpp:=

    Closes: https://bugs.gentoo.org/934464
    Closes: https://bugs.gentoo.org/936230
    Closes: https://bugs.gentoo.org/936167
    Closes: https://bugs.gentoo.org/936122
    Closes: https://bugs.gentoo.org/936120
    Closes: https://bugs.gentoo.org/936030
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/37607
    Signed-off-by: Sam James <sam@gentoo.org>

I think.