On 11/12/2024 08:18, Vitaly Zaitsev via devel wrote:
On 05/12/2024 19:22, Pete Walter wrote:
I am in the process of updating icu from 74.2 to 76.1 in rawhide
It looks like there were some API changes in version 76.1.
From the libkiwix package build log:
In file included from /usr/include/unicode/unistr.h:37,
from /usr/include/unicode/regex.h:52,
from ../src/tools/regexTools.cpp:22:
/usr/include/unicode/char16ptr.h:317:10: error: ‘is_convertible_v’ is
not a member of ‘std’; did you mean ‘is_convertible’?
317 | std::is_convertible_v<T, std::u16string_view>
| ^~~~~~~~~~~~~~~~
| is_convertible
/usr/include/unicode/char16ptr.h:317:28: error: expected primary-
expression before ‘,’ token
317 | std::is_convertible_v<T, std::u16string_view>
| ^
/usr/include/unicode/char16ptr.h:331:13: error: ‘u16string_view’ in
namespace ‘std’ does not name a type; did you mean ‘u16string’?
331 | inline std::u16string_view toU16StringView(std::u16string_view
sv) { return sv; }
| ^~~~~~~~~~~~~~
| u16string
This comes with a soname bump, but as usual, I'm including a libicu74
compat package providing the old soname to not break the world while
the rebuilds are in progress, so no rawhide breakage is expected.
Is it possible to use this libicu74 compatibility package until the
upstream fixes this issue? How long do you plan to keep it in Fedora?
Likely there is just a #include <type_traits> missing - it was probably
being included by accident before as a side effect of something else.
The other option is that you're not in C++17 mode and that is now
required if std::is_convertible_v is used.
Tom
--
Tom Hughes (tom@xxxxxxxxxx)
http://compton.nu/
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue