Summary: | dev-libs/protobuf-23.3-r2 fails to build against dev-cpp/abseil-cpp-20240116.2: ‘Layout’ in namespace ‘absl::lts_20240116::container_internal’ does not name a template type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Penßel <johannesp> |
Component: | Current packages | Assignee: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aliaksei.urbanski, cjk, contyk, johannesp, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 722500 | ||
Attachments: | protobuf-23.3-r2 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: 32706016 total, 26715896 free KiB Swap: 25165816 total, 25165816 free Timestamp of repository gentoo: Mon, 27 May 2024 14:04:10 +0000 Head commit of repository gentoo: 673f47509db8eeb243ca5658b104d5d34e496b07 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 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97de501a303f405757470f34b647256dc330925 commit f97de501a303f405757470f34b647256dc330925 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-05-27 15:21:21 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-05-27 15:22:46 +0000 dev-libs/protobuf: Require <dev-cpp/abseil-cpp-20240116.2 Bug: https://bugs.gentoo.org/932848 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-libs/protobuf/protobuf-22.5.ebuild | 2 ++ dev-libs/protobuf/protobuf-23.3-r2.ebuild | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1324b66184a067dccbd068191012fd79e38a9ad5 commit 1324b66184a067dccbd068191012fd79e38a9ad5 Author: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> AuthorDate: 2024-04-10 10:07:04 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2024-05-27 16:04:56 +0000 dev-libs/protobuf: add 26.1 Release: - https://github.com/protocolbuffers/protobuf/releases/tag/v26.1 Bug: https://bugs.gentoo.org/915325 Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36192 Closes: https://bugs.gentoo.org/932848 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-libs/protobuf/Manifest | 1 + .../files/protobuf-26.1-disable-32-bit-tests.patch | 37 +++++++ dev-libs/protobuf/protobuf-26.1.ebuild | 108 +++++++++++++++++++++ 3 files changed, 146 insertions(+) That doesn't really solve the problem, given that we're stuck with old versions forever. (In reply to Michał Górny from comment #4) > That doesn't really solve the problem, given that we're stuck with old > versions forever. There's no real point in keeping this specific bug open though, we have enough for the general protobuf/abseil hell. Really, abseil-cpp shouldn't have been bumped by itself anyway. But see the discussion in bug 915160 and bug 912819. The bug has been referenced in 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(+) |
Created attachment 894518 [details] protobuf-23.3-r2 build log Other error messages: /var/tmp/portage/dev-libs/protobuf-23.3-r2/work/protobuf-23.3/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-libs/protobuf-23.3-r2/work/protobuf-23.3/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-libs/protobuf-23.3-r2/work/protobuf-23.3/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()); | ^~~~~~