Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936819 - app-i18n/mozc-2.28.5029.102-r2 fails to build: ‘StrCat’ is not a member of ‘absl’
Summary: app-i18n/mozc-2.28.5029.102-r2 fails to build: ‘StrCat’ is not a member of ‘a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-07-28 07:17 UTC by David Zaslavsky
Modified: 2024-08-28 04:47 UTC (History)
4 users (show)

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


Attachments
build log (mozc-build.log,68.91 KB, text/x-log)
2024-07-28 07:17 UTC, David Zaslavsky
Details
emerge --info output (mozc-info.log,8.37 KB, text/plain)
2024-07-28 07:17 UTC, David Zaslavsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Zaslavsky 2024-07-28 07:17:30 UTC
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.
Comment 1 David Zaslavsky 2024-07-28 07:17:55 UTC
Created attachment 898439 [details]
emerge --info output
Comment 2 Greg Kubaryk 2024-07-28 08:02:35 UTC
for the record, this build.log is built with USE=ibus
Comment 3 James Lecher 2024-08-12 01:01:23 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-28 04:47:42 UTC
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(+)