ninja sub-command fails in www/qt5-webkit build

Chris Nicol nicolc at uleth.ca
Sat Jun 20 04:54:43 BST 2020


Dear Kde,

www/qt5-webkit seems to be needed in the build of editors/calligra, on 
my SunBlade 100 runnign FreeBSD 12.1. Here is the Makefile line:

# $FreeBSD: head/www/qt5-webkit/Makefile 532707 2020-04-23 20:14:49Z 
jbeich $

and here is how the fail occurs:

===>  Building for qt5-webkit-5.212.0.a4_2
[1/4412] /usr/local/bin/g++9  -DBUILDING_QT__=1 -DBUILDING_WITH_CMAKE=1 
-DBUILDING_WTF -DHAVE_CONFIG_H=1 -DQT_ASCII_CAST_WARNINGS -DQT_CORE_LIB 
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DYNAMIC_CAST 
-DQT_NO_EXCEPTIONS -DQT_USE_QSTRINGBUILDER -ISource/WTF/wtf 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/bmalloc 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/dtoa 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/threads 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/ThirdParty 
-I. -IDerivedSources -isystem /usr/local/include/qt5 -isystem 
/usr/local/include/qt5/QtCore -isystem 
/usr/local/lib/qt5/mkspecs/freebsd-g++ -fvisibility=hidden 
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong 
-fno-strict-aliasing  -DNDEBUG -fno-exceptions -fno-strict-aliasing 
-fno-rtti -std=c++11 -Wno-expansion-to-defined -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -DNDEBUG 
-ffunction-sections -fdata-sections   -Wall -Wextra -Wcast-align 
-Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef 
-Wwrite-strings -fPIC  -fPIC -MD -MT 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o -MF 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o.d -o 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o -c 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp
FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o
/usr/local/bin/g++9  -DBUILDING_QT__=1 -DBUILDING_WITH_CMAKE=1 
-DBUILDING_WTF -DHAVE_CONFIG_H=1 -DQT_ASCII_CAST_WARNINGS -DQT_CORE_LIB 
-DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_DYNAMIC_CAST 
-DQT_NO_EXCEPTIONS -DQT_USE_QSTRINGBUILDER -ISource/WTF/wtf 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/bmalloc 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/dtoa 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/threads 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode 
-I/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/ThirdParty 
-I. -IDerivedSources -isystem /usr/local/include/qt5 -isystem 
/usr/local/include/qt5/QtCore -isystem 
/usr/local/lib/qt5/mkspecs/freebsd-g++ -fvisibility=hidden 
-fvisibility-inlines-hidden -O2 -pipe -fstack-protector-strong 
-fno-strict-aliasing  -DNDEBUG -fno-exceptions -fno-strict-aliasing 
-fno-rtti -std=c++11 -Wno-expansion-to-defined -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -DNDEBUG 
-ffunction-sections -fdata-sections   -Wall -Wextra -Wcast-align 
-Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef 
-Wwrite-strings -fPIC  -fPIC -MD -MT 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o -MF 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o.d -o 
Source/WTF/wtf/CMakeFiles/WTF.dir/Assertions.cpp.o -c 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp
In file included from 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/WTFString.h:28,
                  from 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp:41:
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/ASCIIFastPath.h:163:89: 
error: missing '(' in expression
   163 | #elif COMPILER(GCC_OR_CLANG) && CPU(ARM_NEON) && 
!(CPU(BIG_ENDIAN) || CPU(MIDDLE_ENDIAN)) && defined(NDEBUG)
       | 
                         ^
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp: 
In function 'void WTFGetBacktrace(void**, int*)':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp:226:29: 
warning: unused parameter 'stack' [-Wunused-parameter]
   226 | void WTFGetBacktrace(void** stack, int* size)
       |                      ~~~~~~~^~~~~
In file included from 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/FastMalloc.h:26,
                  from 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/config.h:51,
                  from 
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/Assertions.cpp:34:
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'T* WTF::StringImpl::tailPointer() [with T = char16_t]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:211:39: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 'char16_t*' 
increases required alignment of target type [-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:823:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   823 |         return 
reinterpret_cast_ptr<T*>(reinterpret_cast<uint8_t*>(this) + 
tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'const T* WTF::StringImpl::tailPointer() const [with 
T = WTF::SymbolRegistry*]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:763:47: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'const uint8_t*' {aka 'const unsigned char*'} to 
'WTF::SymbolRegistry* const*' increases required alignment of target 
type [-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:817:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   817 |         return reinterpret_cast_ptr<const 
T*>(reinterpret_cast<const uint8_t*>(this) + tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'T* WTF::StringImpl::tailPointer() [with T = 
WTF::SymbolRegistry*]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:769:47: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 
'WTF::SymbolRegistry**' increases required alignment of target type 
[-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:823:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   823 |         return 
reinterpret_cast_ptr<T*>(reinterpret_cast<uint8_t*>(this) + 
tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'const T* WTF::StringImpl::tailPointer() const [with 
T = char16_t]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:794:47: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'const uint8_t*' {aka 'const unsigned char*'} to 
'const char16_t*' increases required alignment of target type [-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:817:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   817 |         return reinterpret_cast_ptr<const 
T*>(reinterpret_cast<const uint8_t*>(this) + tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'const T* WTF::StringImpl::tailPointer() const [with 
T = WTF::StringImpl*]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:830:42: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'const uint8_t*' {aka 'const unsigned char*'} to 
'WTF::StringImpl* const*' increases required alignment of target type 
[-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:817:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   817 |         return reinterpret_cast_ptr<const 
T*>(reinterpret_cast<const uint8_t*>(this) + tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h: 
In instantiation of 'T* WTF::StringImpl::tailPointer() [with T = 
WTF::StringImpl*]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:837:42: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'uint8_t*' {aka 'unsigned char*'} to 
'WTF::StringImpl**' increases required alignment of target type 
[-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.h:823:16: 
note: in expansion of macro 'reinterpret_cast_ptr'
   823 |         return 
reinterpret_cast_ptr<T*>(reinterpret_cast<uint8_t*>(this) + 
tailOffset<T>());
       |                ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/ASCIIFastPath.h: 
In instantiation of 'bool WTF::charactersAreAllASCII(const 
CharacterType*, size_t) [with CharacterType = unsigned char; size_t = 
long unsigned int]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/WTFString.h:629:69: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'const unsigned char*' to 'const MachineWord*' {aka 
'const long unsigned int*'} increases required alignment of target type 
[-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/ASCIIFastPath.h:96:26: 
note: in expansion of macro 'reinterpret_cast_ptr'
    96 |         allCharBits |= *(reinterpret_cast_ptr<const 
MachineWord*>(characters));
       |                          ^~~~~~~~~~~~~~~~~~~~
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/ASCIIFastPath.h: 
In instantiation of 'bool WTF::charactersAreAllASCII(const 
CharacterType*, size_t) [with CharacterType = char16_t; size_t = long 
unsigned int]':
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/WTFString.h:631:66: 
   required from here
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:109:30: 
warning: cast from 'const char16_t*' to 'const MachineWord*' {aka 'const 
long unsigned int*'} increases required alignment of target type 
[-Wcast-align]
   109 | #define reinterpret_cast_ptr reinterpret_cast
/usr/ports/www/qt5-webkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/ASCIIFastPath.h:96:26: 
note: in expansion of macro 'reinterpret_cast_ptr'
    96 |         allCharBits |= *(reinterpret_cast_ptr<const 
MachineWord*>(characters));
       |                          ^~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/qt5-webkit
*** Error code 1

Stop.

Any ideas on how to help me out on this fail, please? Thank you.

Best wishes,

Chris.
-- 


More information about the kde-freebsd mailing list