Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932857 - dev-libs/protobuf-c-1.4.1-r1 fails to build against dev-libs/protobuf-26.1: protobuf-c-1.5.0/protoc-c/c_helpers.h:179:46: error: ‘class google::protobuf::FileDescriptorLegacy’ has no member named ‘syntax’ 179 | return FileDescriptorLegacy(field->file(
Summary: dev-libs/protobuf-c-1.4.1-r1 fails to build against dev-libs/protobuf-26.1: p...
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:
: 932864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-05-27 19:56 UTC by Johannes Penßel
Modified: 2024-05-28 05:14 UTC (History)
6 users (show)

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


Attachments
protobuf-c build log (dev-libs:protobuf-c-1.5.0:20240527-195029.log,38.85 KB, text/x-log)
2024-05-27 19:57 UTC, Johannes Penßel
Details
build log (protobuf-c-1.4.1-r1.log,13.61 KB, text/x-log)
2024-05-27 20:11 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Penßel 2024-05-27 19:56:45 UTC
dev-libs/protobuf-c (including the latest upstream release 1.5.0) is not yet compatible with dev-libs/protobuf-26.1.

Upstream issue:
https://github.com/protobuf-c/protobuf-c/issues/709

Potential fix:
https://github.com/protobuf-c/protobuf-c/pull/711
Comment 1 Johannes Penßel 2024-05-27 19:57:49 UTC
Created attachment 894527 [details]
protobuf-c build log

Portage 3.0.64 (python 3.12.3-final-0, default/linux/amd64/23.0/no-multilib/systemd, gcc-14, glibc-2.39-r6, 6.9.2-gentoo x86_64)
=================================================================
System uname: Linux-6.9.2-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i5-1240P-with-glibc2.39
KiB Mem:    32706024 total,  25968072 free
KiB Swap:   25165816 total,  25165816 free
Timestamp of repository gentoo: Mon, 27 May 2024 19:18:41 +0000
Head commit of repository gentoo: a92162728366b23295577bb2875eda008eae62c6

Timestamp of repository guru: Sun, 26 May 2024 13:03:44 +0000
Head commit of repository guru: 05c02ca0d0034377e082f2c7f03dbd4b16488e79

Timestamp of repository steam-overlay: Mon, 20 May 2024 17:23:25 +0000
Head commit of repository steam-overlay: 3aa8d3201d7bce32a1a0fffdf4afd9dbd0583048

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.6::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

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

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

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

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --binpkg-respect-use=y --with-bdeps=y --rebuilt-binaries=y --buildpkg-exclude 'acct-*/* sys-kernel/*-sources virtual/* */*-bin sec-keys/*'"
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"
F77FLAGS="-O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FCFLAGS="-O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news nodoc noinfo parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/share/locale/a* /usr/share/locale/b* /usr/share/locale/c* /usr/share/locale/da* /usr/share/locale/dv* /usr/share/locale/dz* /usr/share/locale/ee* /usr/share/locale/el* /usr/share/locale/en_C* /usr/share/locale/en_A* /usr/share/locale/eo* /usr/share/locale/es* /usr/share/locale/et* /usr/share/locale/eu* /usr/share/locale/f* /usr/share/locale/g* /usr/share/locale/h* /usr/share/locale/i* /usr/share/locale/j* /usr/share/locale/k* /usr/share/locale/la /usr/share/locale/lg /usr/share/locale/li /usr/share/locale/ln /usr/share/locale/lo /usr/share/locale/lt* /usr/share/locale/lv* /usr/share/locale/m* /usr/share/locale/n* /usr/share/locale/o* /usr/share/locale/p* /usr/share/locale/q* /usr/share/locale/r* /usr/share/locale/s* /usr/share/locale/t* /usr/share/locale/u* /usr/share/locale/v* /usr/share/locale/w* /usr/share/locale/x* /usr/share/locale/y* /usr/share/locale/z* /usr/share/man/a* /usr/share/man/b* /usr/share/man/c* /usr/share/man/da* /usr/share/man/es* /usr/share/man/f* /usr/share/man/h* /usr/share/man/i* /usr/share/man/j* /usr/share/man/p* /usr/share/man/r* /usr/share/man/t*"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--build-id=sha1"
LEX="flex"
LINGUAS="en en_GB en_US de de_DE"
MAKEOPTS="-j16"
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"
RUSTFLAGS="-Ctarget-cpu=x86-64-v3 -Clink-arg=-Wl,-z,pack-relative-relocs -Clink-arg=-Wl,--build-id=sha1 -Copt-level=3 -Cdebuginfo=1 -Cforce-frame-pointers=yes -Ccodegen-units=1"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi alsa amd64 apparmor audit bluetooth branding bzip2 cairo caps cdda cdr cet colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac flatpak gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection io-uring ios ipv6 jpeg jpegxl keyring lcms libnotify libtirpc lto mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf pgo pipewire png policykit ppds pulseaudio readline sdl seccomp secureboot sound spell ssl startup-notification stemmer svg sysprof systemd test-rust tiff tpm tracker truetype udev udisks uki ukify unicode unwind upower usb vaapi verify-sig vorbis vulkan wayland wxwidgets x264 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 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 pc coreboot" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US en-GB de de-DE" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby33" VIDEO_CARDS="amdgpu intel radeonsi" 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, FC, GCOV, GPROF, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Chris Smith 2024-05-27 20:11:01 UTC
Created attachment 894528 [details]
build log
Comment 3 Chris Smith 2024-05-27 20:11:08 UTC
ditto
Comment 4 Yuriy V 2024-05-27 21:08:56 UTC
(In reply to Chris Smith from comment #3)
> ditto

Similar problem.
Comment 5 Larry the Git Cow gentoo-dev 2024-05-28 00:14:55 UTC
The bug has been closed via the following commit(s):

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

commit 8cb77397509a76c1eeeb919dedb2b52f744227be
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-28 00:12:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-28 00:13:49 +0000

    profiles: mask new protobuf & abseil-cpp
    
    Breaks reverse dependencies like protobuf-c (bug #932857) and protobuf-26.1
    itself isn't compatible with this abseil-cpp version (bug #932848).
    
    In addition, we still need to establish a new approach like a virtual
    for protobuf because of its abseil dependency - see the discussion in bug #912819.
    
    I'm not aware of a real hurry for new abseil/protobuf other than the
    existing need for us to sort out the aforementioned virtual/ABI mess, so
    masking is better than the status quo.
    
    Closes: https://bugs.gentoo.org/932857
    Bug: https://bugs.gentoo.org/932848
    Bug: https://bugs.gentoo.org/912819
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-28 05:14:19 UTC
*** Bug 932864 has been marked as a duplicate of this bug. ***