Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1197826

Bug#1068186: mozc: FTBFS with abseil 20230802: ../../base/init_mozc.cc:90:29: error: ‘absl::debian5::flags_internal::ArgvListAction’ has not been declared

From Kentaro HAYASHI <kenhys@xdump.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1068186: mozc: FTBFS with abseil 20230802: ../../base/init_mozc.cc:90:29: error: ‘absl::debian5::flags_internal::ArgvListAction’ has not been declared
Date 2024-05-18 10:30 +0200
Message-ID <IFnC1-e9sM-1@gated-at.bofh.it> (permalink)
References <Iq90F-4oGU-4821@gated-at.bofh.it> <IF52p-dXtR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Fri, 17 May 2024 21:16:15 +0900 Kentaro HAYASHI <kenhys@xdump.org>
wrote:
> Control: tags -1 patch
> 
> On Fri, 17 May 2024 14:06:37 +0900 Kentaro HAYASHI <kenhys@xdump.org>
> 
> > This issue was already fixed in upstream.
> > 
> >   Non-public Abseil API is used for CLI parsing 
> >   https://github.com/google/mozc/issues/790
> > 
> > Above ftbfs error was fixed with the following commit:
> > 
> >   https://github.com/google/mozc/commit/cad4064c8884eb711e0e19b4b79d2ff5610823dc
> 
> Attached patch will solve the reported compile error in this
> bugreport, but even though it was fixed, another abseil linkage error
> occurs.
> 
>   /usr/bin/ld: obj/base/base_core.file_util.o: undefined reference to
>   symbol '_ZN4absl7debian5lsERSoNS0_11string_viewE'
>   /usr/bin/ld:
>   /lib/x86_64-linux-gnu/libabsl_string_view.so.20230802: error adding
>   symbols: DSO missing from command line
> 
> I'm not sure how to link it correctly in appropriate way.

I've attached additional patch
(0011-Fix-missing-abseil-gyp-link-settings.patch )
to fix rest of FTBFS issues.

To build correctly, the following patch files are required.

* 0010-Fix-the-compile-error-of-ParseCommandLineFlags-with.patch [1]
* 0011-Fix-missing-abseil-gyp-link-settings.patch

Regards,

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068186#21

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1068186: mozc: FTBFS with abseil 20230802: ../../base/init_mozc.cc:90:29: error: ‘absl::debian5::flags_internal::ArgvListAction’ has not been declared Kentaro HAYASHI <kenhys@xdump.org> - 2024-05-17 14:40 +0200
  Bug#1068186: mozc: FTBFS with abseil 20230802: ../../base/init_mozc.cc:90:29: error: ‘absl::debian5::flags_internal::ArgvListAction’ has not been declared Kentaro HAYASHI <kenhys@xdump.org> - 2024-05-18 10:30 +0200

csiph-web