Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912796 - dev-libs/protobuf-23.3-r1: missing version requirements for >=dev-cpp/abseil-cpp-20230125.3
Summary: dev-libs/protobuf-23.3-r1: missing version requirements for >=dev-cpp/abseil-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 912819
  Show dependency tree
 
Reported: 2023-08-22 01:59 UTC by Alfred Wingate
Modified: 2024-01-09 19:11 UTC (History)
2 users (show)

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


Attachments
dev-libs/protobuf-23.3-r1 build.log (dev-libs:protobuf-23.3-r1:20230822-015136.log,276.09 KB, text/plain)
2023-08-22 02:00 UTC, Alfred Wingate
Details
emerge --info (emerge_info.txt,21.07 KB, text/plain)
2023-08-22 02:00 UTC, Alfred Wingate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alfred Wingate 2023-08-22 01:59:31 UTC
protobuf-23.3 has minimum version requirements in its headers for dev-libs/abseil-cpp

https://github.com/protocolbuffers/protobuf/blob/v23.3/src/google/protobuf/port_def.inc#L219

In file included from /var/tmp/portage/dev-libs/protobuf-23.3-r1/work/protobuf-23.3/src/google/protobuf/io/zero_copy_stream_impl_lite.h:62:
/var/tmp/portage/dev-libs/protobuf-23.3-r1/work/protobuf-23.3/src/google/protobuf/port_def.inc:210:35: error: static assertion failed: Protobuf only supports Abseil version 20230125.3 and newer.
Comment 1 Alfred Wingate 2023-08-22 02:00:20 UTC
Created attachment 868437 [details]
dev-libs/protobuf-23.3-r1 build.log
Comment 2 Alfred Wingate 2023-08-22 02:00:46 UTC
Created attachment 868438 [details]
emerge --info
Comment 3 Alfred Wingate 2023-08-22 02:06:03 UTC
Just to clarify, this only affects 23.3 as this version check was added recently https://github.com/protocolbuffers/protobuf/commit/521c04efecff672a0dbea25f3c522a26471a6975
Comment 4 Larry the Git Cow gentoo-dev 2023-08-22 10:22:53 UTC
The bug has been closed via the following commit(s):

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

commit 79bf402140741157a301a70ef9f89fecdbd646e7
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-08-22 04:38:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-08-22 10:22:33 +0000

    dev-libs/protobuf: add minimum abseil-cpp version requirement
    
    Closes: https://bugs.gentoo.org/912796
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32405
    Signed-off-by: Sam James <sam@gentoo.org>

 .../protobuf/{protobuf-23.3-r1.ebuild => protobuf-23.3-r2.ebuild}     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 5 Toralf Förster gentoo-dev 2023-11-03 21:25:36 UTC
but kde-apps/kitinerary-23.08.2 still fails:

type -Werror
FAILED: bin/vdv-cert-downloader 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libphonenumber.so.8: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >* absl::lts_20230802::log_internal::MakeCheckOpString<long, long>(long, long, char const*
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libphonenumber.so.8: undefined reference to `absl::lts_20230802::log_internal::LogMessageFatal::LogMessageFatal(char const*, int, absl::lts_20230802::string_view)'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libphonenumber.so.8: undefined reference to `google::protobuf::internal::LookUpEnumValue(google::protobuf::internal::EnumEntry const*, unsigned long, absl::lts_20230802::string_view, int*)'