Bug#1092311: webkit2gtk ftbfs with icu-76.1

Matthias Klose doko at debian.org
Tue Jan 7 11:40:42 GMT 2025


Package: src:webkit2gtk
Version: 2.46.5-1
Severity: important
User: debian-devel at lists.debian.org
Usertags: icu76

The package fails to build with icu 76.1-2 from experimental.  The most 
likely reason is that it's not built for the default C++17 standards, 
and manually specifies an earlier standard.

[...]
FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o
/usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WEBKIT=1 
-DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF 
-DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" 
-DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" 
-DGETTEXT_PACKAGE=\"WebKitGTK-4.1\" -DHAVE_CONFIG_H=1 
-DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_bmalloc 
-DUSER_AGENT_BRANDING=\"Ubuntu\" -I/<<PKGBUILDDIR>>/build-soup3 
-I/<<PKGBUILDDIR>>/build-soup3/WTF/DerivedSources 
-I/<<PKGBUILDDIR>>/Source/WTF -I/<<PKGBUILDDIR>>/Source/WTF/wtf 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/dtoa 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/fast_float 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/persistence 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/simdutf 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/text 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/text/icu 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/threads 
-I/<<PKGBUILDDIR>>/Source/WTF/wtf/unicode 
-I/<<PKGBUILDDIR>>/build-soup3/bmalloc/Headers -isystem 
/usr/include/gio-unix-2.0 -isystem /usr/include/glib-2.0 -isystem 
/usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem 
/usr/include/sysprof-6 -isystem /usr/include/libmount -isystem 
/usr/include/blkid -fdiagnostics-color=always -Wextra -Wall -pipe 
-fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow 
-Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined 
-Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation 
-Wno-maybe-uninitialized -Wundef -Wpointer-arith 
-Wmissing-format-attribute -Wformat-security -Wcast-align 
-Wno-tautological-compare -fasynchronous-unwind-tables -g1 -O3 
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/webkit2gtk-2.46.5-1build1 
-Wdate-time -D_FORTIFY_SOURCE=3 -DNDEBUG -DG_DISABLE_CAST_CHECKS 
-fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines 
-ffunction-sections -fdata-sections -std=c++23 -fPIC -fvisibility=hidden 
-pthread -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o 
-MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o.d -o 
Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringView.cpp.o -c 
/<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringView.cpp
In file included from /usr/include/unicode/unorm2.h:35,
                  from 
/<<PKGBUILDDIR>>/Source/WTF/wtf/text/StringView.cpp:31:
/usr/include/unicode/uset.h: In member function ‘std::u16string_view 
icu_76::header::USetStringIterator::operator*() const’:
/usr/include/unicode/uset.h:1660:21: error: ‘ConstChar16Ptr’ was not 
declared in this scope
  1660 |             return {ConstChar16Ptr(uchars), 
static_cast<uint32_t>(length)};
       |                     ^~~~~~~~~~~~~~
/usr/include/unicode/uset.h:1660:74: error: could not convert 
‘{<expression error>, ((uint32_t)length)}’ from ‘<brace-enclosed 
initializer list>’ to ‘std::u16string_view’ {aka 
‘std::basic_string_view<char16_t>’}
  1660 |             return {ConstChar16Ptr(uchars), 
static_cast<uint32_t>(length)};
       | 
          ^
       | 
          |
       | 
          <brace-enclosed initializer list>
/usr/include/unicode/uset.h: At global scope:
/usr/include/unicode/uset.h:1763:5: error: ‘UnicodeString’ does not name 
a type
  1763 |     UnicodeString operator*() const {
       |     ^~~~~~~~~~~~~



More information about the Pkg-webkit-maintainers mailing list