Created attachment 898438 [details] build log Compilation of app-i18n/mozc-2.28.5029.102-r2 fails with this message: ../../dictionary/file/codec.cc:125:15: error: ‘StrCat’ is not a member of ‘absl’ 125 | absl::StrCat("codec.cc: Insufficient data size: ", length, " bytes")); | ^~~~~~ ../../dictionary/file/codec.cc:130:15: error: ‘StrCat’ is not a member of ‘absl’ 130 | absl::StrCat("codec.cc: memory block of size ", length, | ^~~~~~ ../../dictionary/file/codec.cc:138:48: error: ‘StrCat’ is not a member of ‘absl’ 138 | return absl::FailedPreconditionError(absl::StrCat( | ^~~~~~ ../../dictionary/file/codec.cc:152:42: error: ‘StrCat’ is not a member of ‘absl’ 152 | return absl::OutOfRangeError(absl::StrCat( | ^~~~~~ ../../dictionary/file/codec.cc:167:42: error: ‘StrCat’ is not a member of ‘absl’ 167 | return absl::OutOfRangeError(absl::StrCat( | ^~~~~~ ../../dictionary/file/codec.cc:186:48: error: ‘StrCat’ is not a member of ‘absl’ 186 | return absl::FailedPreconditionError(absl::StrCat( | ^~~~~~ emerge --info output and the build log are attached.
Created attachment 898439 [details] emerge --info output
for the record, this build.log is built with USE=ibus
I also encountered this same error, but I was able to work around it by downgrading dev-cpp/abseil-cpp from 20240116.2-r4 to 20230802.0-r4. Looking at the ebuild for app-i18n/mozc-2.28.5029.102-r2, there is a patch for abseil-20230802.0 but none for more recent versions of abseil. There have been significant changes to abseil since then, which is why compiling with >20230802.0 fails.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e9ac25ffe403b232e8f786b6d1b2fdad30c9ae5 commit 1e9ac25ffe403b232e8f786b6d1b2fdad30c9ae5 Author: WANG Xuerui <xen0n@gentoo.org> AuthorDate: 2024-08-27 09:12:35 +0000 Commit: WANG Xuerui <xen0n@gentoo.org> CommitDate: 2024-08-28 04:46:50 +0000 app-i18n/mozc: revbump, require and fix build with abseil-cpp 20240116 Test suite passes on amd64. Closes: https://bugs.gentoo.org/936819 Closes: https://github.com/gentoo/gentoo/pull/38301 Signed-off-by: WANG Xuerui <xen0n@gentoo.org> .../files/mozc-2.28.5029.102-abseil-20240116.patch | 50 +++ app-i18n/mozc/mozc-2.28.5029.102-r3.ebuild | 467 +++++++++++++++++++++ 2 files changed, 517 insertions(+)