pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59028: qt5-qtwebkit doesn't build



>Number:         59028
>Category:       pkg
>Synopsis:       qt5-qtwebkit doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 24 12:00:01 +0000 2025
>Originator:     Thomas Klausner
>Release:        NetBSD 10.99.12
>Organization:

>Environment:
	
	
Architecture: x86_64
Machine: amd64
>Description:
x11/qt5-qtwebkit doesn't build:

[94/4283] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o
FAILED: Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o
/scratch/x11/qt5-qtwebkit/work/.cwrapper/bin/c++ -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 -DWTF_EXPORTS -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/cmake-pkgsrc-build/Source/WTF/wtf -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/bmalloc -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/dtoa -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/threads -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode -I/scratch/x11/qt5-qtwebkit/work/qtwebk
 it-5.212.0-alpha4/Source/ThirdParty -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/cmake-pkgsrc-build -I/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/cmake-pkgsrc-build/DerivedSources -isystem /usr/pkg/include -isystem /usr/pkg/qt5/include -isystem /usr/pkg/qt5/include/QtCore -isystem /usr/pkg/qt5/./mkspecs/netbsd-g++ -isystem /usr/pkg/include/glib-2.0 -isystem /usr/pkg/lib/glib-2.0/include -O2 -g -D_NETBSD_SOURCE -fstack-clash-protection -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/qt5/include -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libdrm -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -fno-exceptions -fno-strict-aliasing -fno-rtti -std=c++11 -Wno-expansion-to-defined -DNDEBUG -ffunction-sections -fdata-sections -fPIC -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointe
 r-arith -Wundef -Wwrite-strings  -fPIC -MD -MT Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o -MF Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o.d -o Source/WTF/wtf/CMakeFiles/WTF.dir/unicode/icu/CollatorICU.cpp.o -c /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode/icu/CollatorICU.cpp
In file included from /usr/pkg/include/unicode/unorm2.h:35,
                 from /usr/pkg/include/unicode/unorm.h:25,
                 from /usr/pkg/include/unicode/ucol.h:17,
                 from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/unicode/icu/CollatorICU.cpp:37:
/usr/pkg/include/unicode/uset.h:1655:10: error: 'u16string_view' in namespace 'std' does not name a type; did you mean 'u16string'?
 1655 |     std::u16string_view operator*() const {
      |          ^~~~~~~~~~~~~~
      |          u16string
/usr/pkg/include/unicode/uset.h:1763:5: error: 'UnicodeString' does not name a type
 1763 |     UnicodeString operator*() const {
      |     ^~~~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1553:25: error: 'enable_if_t' in namespace 'std' does not name a template type
 1553 |         typename = std::enable_if_t<ConvertibleToU16StringView<T> && ConvertibleToU16StringView<U>>>
      |                         ^~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1553:20: note: 'std::enable_if_t' is only available from C++14 onwards
 1553 |         typename = std::enable_if_t<ConvertibleToU16StringView<T> && ConvertibleToU16StringView<U>>>
      |                    ^~~
/usr/pkg/include/unicode/ucol.h:1553:36: error: expected '>' before '<' token
 1553 |         typename = std::enable_if_t<ConvertibleToU16StringView<T> && ConvertibleToU16StringView<U>>>
      |                                    ^
/usr/pkg/include/unicode/ucol.h:1559:26: error: 'std::string_view' has not been declared
 1559 |     bool operator()(std::string_view lhs, std::string_view rhs) const {
      |                          ^~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1559:48: error: 'std::string_view' has not been declared
 1559 |     bool operator()(std::string_view lhs, std::string_view rhs) const {
      |                                                ^~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1571:16: error: 'UnicodeString' has not been declared
 1571 |     bool match(UnicodeString lhs, UnicodeString rhs) const {
      |                ^~~~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1571:35: error: 'UnicodeString' has not been declared
 1571 |     bool match(UnicodeString lhs, UnicodeString rhs) const {
      |                                   ^~~~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1580:16: error: 'StringPiece' has not been declared
 1580 |     bool match(StringPiece lhs, StringPiece rhs) const {
      |                ^~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1580:33: error: 'StringPiece' has not been declared
 1580 |     bool match(StringPiece lhs, StringPiece rhs) const {
      |                                 ^~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1580:10: error: 'bool icu_76::header::collator::internal::Predicate<Compare, result>::match(int, int) const' cannot be overloaded with 'bool icu_76::header::collator::internal::Predicate<Compare, result>::match(int, int) const'
 1580 |     bool match(StringPiece lhs, StringPiece rhs) const {
      |          ^~~~~
/usr/pkg/include/unicode/ucol.h:1571:10: note: previous declaration 'bool icu_76::header::collator::internal::Predicate<Compare, result>::match(int, int) const'
 1571 |     bool match(UnicodeString lhs, UnicodeString rhs) const {
      |          ^~~~~
/usr/pkg/include/unicode/ucol.h: In member function 'bool icu_76::header::collator::internal::Predicate<Compare, result>::operator()(const T&, const U&) const':
/usr/pkg/include/unicode/ucol.h:1555:22: error: 'UnicodeString' has not been declared
 1555 |         return match(UnicodeString::readOnlyAlias(lhs), UnicodeString::readOnlyAlias(rhs));
      |                      ^~~~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1555:57: error: 'UnicodeString' has not been declared
 1555 |         return match(UnicodeString::readOnlyAlias(lhs), UnicodeString::readOnlyAlias(rhs));
      |                                                         ^~~~~~~~~~~~~
/usr/pkg/include/unicode/ucol.h: In member function 'bool icu_76::header::collator::internal::Predicate<Compare, result>::match(int, int) const':
/usr/pkg/include/unicode/ucol.h:1575:32: error: request for member 'getBuffer' in 'lhs', which is of non-class type 'int'
 1575 |                 toUCharPtr(lhs.getBuffer()), lhs.length(),
      |                                ^~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1575:17: error: there are no arguments to 'toUCharPtr' that depend on a template parameter, so a declaration of 'toUCharPtr' must be available [-fpermissive]
 1575 |                 toUCharPtr(lhs.getBuffer()), lhs.length(),
      |                 ^~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1575:17: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/usr/pkg/include/unicode/ucol.h:1575:50: error: request for member 'length' in 'lhs', which is of non-class type 'int'
 1575 |                 toUCharPtr(lhs.getBuffer()), lhs.length(),
      |                                                  ^~~~~~
/usr/pkg/include/unicode/ucol.h:1576:32: error: request for member 'getBuffer' in 'rhs', which is of non-class type 'int'
 1576 |                 toUCharPtr(rhs.getBuffer()), rhs.length()),
      |                                ^~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1576:17: error: there are no arguments to 'toUCharPtr' that depend on a template parameter, so a declaration of 'toUCharPtr' must be available [-fpermissive]
 1576 |                 toUCharPtr(rhs.getBuffer()), rhs.length()),
      |                 ^~~~~~~~~~
/usr/pkg/include/unicode/ucol.h:1576:50: error: request for member 'length' in 'rhs', which is of non-class type 'int'
 1576 |                 toUCharPtr(rhs.getBuffer()), rhs.length()),
      |                                                  ^~~~~~
/usr/pkg/include/unicode/ucol.h: In member function 'bool icu_76::header::collator::internal::Predicate<Compare, result>::match(int, int) const':
/usr/pkg/include/unicode/ucol.h:1585:21: error: request for member 'data' in 'lhs', which is of non-class type 'int'
 1585 |                 lhs.data(), lhs.length(),
      |                     ^~~~
/usr/pkg/include/unicode/ucol.h:1585:33: error: request for member 'length' in 'lhs', which is of non-class type 'int'
 1585 |                 lhs.data(), lhs.length(),
      |                                 ^~~~~~
/usr/pkg/include/unicode/ucol.h:1586:21: error: request for member 'data' in 'rhs', which is of non-class type 'int'
 1586 |                 rhs.data(), rhs.length(),
      |                     ^~~~
/usr/pkg/include/unicode/ucol.h:1586:33: error: request for member 'length' in 'rhs', which is of non-class type 'int'
 1586 |                 rhs.data(), rhs.length(),
      |                                 ^~~~~~
[109/4283] Building CXX object Source/WTF/wtf/CMakeFiles/WTF.dir/text/StringImpl.cpp.o
In file included from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/StdLibExtras.h:33,
                 from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/FastMalloc.h:26,
                 from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/config.h:51,
                 from /scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.cpp:25:
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/CheckedArithmetic.h: In instantiation of 'WTF::Checked<typename WTF::Result<U, V>::ResultType, OverflowHandler> WTF::operator*(Checked<U, OverflowHandler>, V) [with U = long unsigned int; V = long unsigned int; OverflowHandler = CrashOnOverflow; typename Result<U, V>::ResultType = long unsigned int]':
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringBuffer.h:44:90:   required from 'WTF::StringBuffer<T>::StringBuffer(unsigned int) [with CharType = unsigned char]'
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.cpp:817:28:   required from 'WTF::Ref<WTF::StringImpl> WTF::StringImpl::removeCharacters(const CharType*, WTF::CharacterMatchFunctionPtr) [with CharType = unsigned char; WTF::CharacterMatchFunctionPtr = bool (*)(char16_t)]'
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/text/StringImpl.cpp:841:32:   required from here
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/CheckedArithmetic.h:761:16: warning: implicitly-declared 'constexpr WTF::Checked<long unsigned int>::Checked(const WTF::Checked<long unsigned int>&)' is deprecated [-Wdeprecated-copy]
  761 |     return lhs * Checked<V, OverflowHandler>(rhs);
      |            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/CheckedArithmetic.h:496:20: note: because 'WTF::Checked<long unsigned int>' has user-provided 'const WTF::Checked<T, OverflowHandler>& WTF::Checked<T, OverflowHandler>::operator=(WTF::Checked<T, OverflowHandler>) [with T = long unsigned int; OverflowHandler = WTF::CrashOnOverflow]'
  496 |     const Checked& operator=(Checked rhs)
      |                    ^~~~~~~~
/scratch/x11/qt5-qtwebkit/work/qtwebkit-5.212.0-alpha4/Source/WTF/wtf/CheckedArithmetic.h:737:173: note:   initializing argument 1 of 'WTF::Checked<typename WTF::Result<U, V>::ResultType, OverflowHandler> WTF::operator*(Checked<U, OverflowHandler>, Checked<V, OverflowHandler>) [with U = long unsigned int; V = long unsigned int; OverflowHandler = CrashOnOverflow; typename Result<U, V>::ResultType = long unsigned int]'
  737 | template <typename U, typename V, typename OverflowHandler> static inline Checked<typename Result<U, V>::ResultType, OverflowHandler> operator*(Checked<U, OverflowHandler> lhs, Checked<V, OverflowHandler> rhs)
      |                                                                                                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
ninja: build stopped: subcommand failed.
*** Error code 1

>How-To-Repeat:

cd /usr/pkgsrc/x11/qt5-qtwebkit
make

>Fix:

please.

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index