WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
219394
webkitgtk 2.30.3 build fails
https://bugs.webkit.org/show_bug.cgi?id=219394
Summary
webkitgtk 2.30.3 build fails
Sasa Ostrouska
Reported
2020-12-01 03:50:15 PST
Hello I am trying to build webkitgtk with ninja and even with make it fails the same way. cd /tmp/DLG/work/webkitgtk-2.30.3-1/webkitgtk-2.30.3/builddir; ninja [245/4613] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProvider.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProvider.cpp:27: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ [246/4613] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:30: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp: In function ‘UBool WTF::uTextUTF16ContextAwareAccess(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:129:16: error: ‘FALSE’ was not declared in this scope 129 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:149:12: error: ‘TRUE’ was not declared in this scope 149 | return TRUE; | ^~~~ [247/4613] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:30: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp: In function ‘UBool WTF::uTextLatin1Access(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:103:20: error: ‘TRUE’ was not declared in this scope 103 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:108:20: error: ‘FALSE’ was not declared in this scope 108 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:114:20: error: ‘TRUE’ was not declared in this scope 114 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:119:20: error: ‘FALSE’ was not declared in this scope 119 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:147:12: error: ‘TRUE’ was not declared in this scope 147 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp: In function ‘UBool WTF::uTextLatin1ContextAwareAccess(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:340:16: error: ‘FALSE’ was not declared in this scope 340 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:360:12: error: ‘TRUE’ was not declared in this scope 360 | return TRUE; | ^~~~ ninja: build stopped: subcommand failed. cd /tmp/DLG/work/webkitgtk-2.30.3-1/webkitgtk-2.30.3/builddir; DESTDIR=/tmp/DLG/stage/webkitgtk-2.30.3-1 ninja install [1/4370] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProvider.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProvider.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProvider.cpp:27: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ [2/4370] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderUTF16.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:30: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp: In function ‘UBool WTF::uTextUTF16ContextAwareAccess(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:129:16: error: ‘FALSE’ was not declared in this scope 129 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderUTF16.cpp:149:12: error: ‘TRUE’ was not declared in this scope 149 | return TRUE; | ^~~~ [3/4370] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o /usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WTF -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DSVN_REVISION=\"tarball\" -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IDerivedSources/WTF -I../Source/WTF -I../Source/WTF/wtf -I../Source/WTF/wtf/dtoa -I../Source/WTF/wtf/persistence -I../Source/WTF/wtf/text -I../Source/WTF/wtf/text/icu -I../Source/WTF/wtf/threads -I../Source/WTF/wtf/unicode -IDerivedSources/ForwardingHeaders -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -fdiagnostics-color=always -Wextra -Wall -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-maybe-uninitialized -Wwrite-strings -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -fPIC -std=c++17 -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/text/icu/UTextProviderLatin1.cpp.o -c ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp In file included from ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:30: ../Source/WTF/wtf/text/icu/UTextProvider.h: In function ‘bool WTF::uTextAccessInChunkOrOutOfRange(UText*, int64_t, int64_t, UBool, UBool&)’: ../Source/WTF/wtf/text/icu/UTextProvider.h:82:28: error: ‘TRUE’ was not declared in this scope 82 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:87:28: error: ‘FALSE’ was not declared in this scope 87 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:96:28: error: ‘TRUE’ was not declared in this scope 96 | isAccessible = TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProvider.h:101:28: error: ‘FALSE’ was not declared in this scope 101 | isAccessible = FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp: In function ‘UBool WTF::uTextLatin1Access(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:103:20: error: ‘TRUE’ was not declared in this scope 103 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:108:20: error: ‘FALSE’ was not declared in this scope 108 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:114:20: error: ‘TRUE’ was not declared in this scope 114 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:119:20: error: ‘FALSE’ was not declared in this scope 119 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:147:12: error: ‘TRUE’ was not declared in this scope 147 | return TRUE; | ^~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp: In function ‘UBool WTF::uTextLatin1ContextAwareAccess(UText*, int64_t, UBool)’: ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:340:16: error: ‘FALSE’ was not declared in this scope 340 | return FALSE; | ^~~~~ ../Source/WTF/wtf/text/icu/UTextProviderLatin1.cpp:360:12: error: ‘TRUE’ was not declared in this scope 360 | return TRUE; | ^~~~ ninja: build stopped: subcommand failed. Webkitgtk 2.30.1 is installed on my machine and the build went ok.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug