Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kodi reports symbol lookup error
Date: Thu, 12 Dec 2019 08:44:11
Message-Id: CAC=wYCEM02WEJbt_=WKXhVvkSsMfZZnnaKL3TBoVNOz-ch7D7g@mail.gmail.com
In Reply to: Re: [gentoo-user] kodi reports symbol lookup error by David Haller
1 On Thu, Dec 12, 2019 at 4:49 PM David Haller <gentoo@×××××××.de> wrote:
2
3 > First of all, decode that C++ symbol with c++filt:
4 >
5 > $ echo
6 > _ZN3fmt2v68internal14sprintf_formatIeEEPcT_RNS1_6bufferIcEENS1_13sprintf_specsE
7 > | c++filt
8 > char* fmt::v6::internal::sprintf_format<long double>(long double,
9 > fmt::v6::internal::buffer<char>&, fmt::v6::internal::sprintf_specs)
10 >
11 > Now, with a bit of guesswork and tabbing,
12 > $ grep -r sprintf_format /usr/include/fmt/
13 > /usr/include/fmt/format.h:void sprintf_format(Double, internal::buffer &,
14 > core_format_specs);
15 > /usr/include/fmt/format.h: internal::sprintf_format(value, buffer,
16 > normalized_spec);
17 > /usr/include/fmt/format-inl.h:void sprintf_format(Double value,
18 > internal::buffer &buf,
19 >
20
21 With libfmt-6.1.1 there's no matches to that grep. With a looser match;
22 $ grep -r sprintf /usr/include/fmt/*
23 /usr/include/fmt/printf.h:inline std::basic_string<Char> vsprintf(
24 /usr/include/fmt/printf.h: std::string message = fmt::sprintf("The
25 answer is %d", 42);
26 /usr/include/fmt/printf.h:inline std::basic_string<Char> sprintf(const S&
27 format, const Args&... args) {
28 /usr/include/fmt/printf.h: return vsprintf(to_string_view(format),
29 {make_format_args<context>(args...)});
30
31 The format.h file is there, however.
32
33 libfmt-6.1.0 is also missing internal::sprintf_format but its there in
34 6.0.0. Kodi runs now with 6.0.0 and didn't require a rebuild. Thanks!
35
36 Before I posted I had already rebuilt kodi, and run revdep-rebuild, which
37 didnt find anything.