--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: kdb: FTBFS: KDb.cpp:1638:37: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
- From: Lucas Nussbaum <lucas@debian.org>
- Date: Fri, 24 Jun 2022 12:01:47 +0200
- Message-id: <YrWLi4uGoGOYaUGI@xanadu.blop.info>
Source: kdb
Version: 3.2.0-5
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_QT_ISODATEWITHMS -DKCOREADDONS_LIB -DKDb_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDb_autogen/include -I/<<PKGBUILDDIR>>/src/expression -I/<<PKGBUILDDIR>>/src/interfaces -I/<<PKGBUILDDIR>>/src/parser -I/<<PKGBUILDDIR>>/src/parser/generated -I/<<PKGBUILDDIR>>/src/sql -I/<<PKGBUILDDIR>>/src/tools -I/<<PKGBUILDDIR>>/src/views -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/KDb.dir/KDbPreparedStatement.cpp.o -MF CMakeFiles/KDb.dir/KDbPreparedStatement.cpp.o.d -o CMakeFiles/KDb.dir/KDbPreparedStatement.cpp.o -c /<<PKGBUILDDIR>>/src/KDbPreparedStatement.cpp
> In file included from /<<PKGBUILDDIR>>/src/KDb.cpp:32:
> /<<PKGBUILDDIR>>/src/KDbMessageHandler.h:225:50: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = KDbMessageHandler::Option; QFlags<T>::Zero = int QFlags<KDbMessageHandler::Option>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
> 225 | KDbMessageHandler::Options options = nullptr,
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpair.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPair:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:25,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
> 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp: In member function ‘bool KDbCursor::open()’:
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp:215:77: warning: implicitly-declared ‘KDbResult& KDbResult::operator=(const KDbResult&)’ is deprecated [-Wdeprecated-copy]
> 215 | tr("No query statement or schema defined."));
> | ^
> In file included from /<<PKGBUILDDIR>>/src/KDbCursor.h:26,
> from /<<PKGBUILDDIR>>/src/KDbCursor.cpp:20:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDbResult.h:114:5: note: because ‘KDbResult’ has user-provided ‘KDbResult::KDbResult(const KDbResult&)’
> 114 | KDbResult(const KDbResult &other)
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp:227:75: warning: implicitly-declared ‘KDbResult& KDbResult::operator=(const KDbResult&)’ is deprecated [-Wdeprecated-copy]
> 227 | tr("Could not generate query statement."));
> | ^
> In file included from /<<PKGBUILDDIR>>/src/KDbCursor.h:26,
> from /<<PKGBUILDDIR>>/src/KDbCursor.cpp:20:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDbResult.h:114:5: note: because ‘KDbResult’ has user-provided ‘KDbResult::KDbResult(const KDbResult&)’
> 114 | KDbResult(const KDbResult &other)
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp: In member function ‘bool KDbCursor::getNextRecord()’:
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp:454:80: warning: implicitly-declared ‘KDbResult& KDbResult::operator=(const KDbResult&)’ is deprecated [-Wdeprecated-copy]
> 454 | tr("Could not fetch next record."));
> | ^
> In file included from /<<PKGBUILDDIR>>/src/KDbCursor.h:26,
> from /<<PKGBUILDDIR>>/src/KDbCursor.cpp:20:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDbResult.h:114:5: note: because ‘KDbResult’ has user-provided ‘KDbResult::KDbResult(const KDbResult&)’
> 114 | KDbResult(const KDbResult &other)
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/KDbCursor.cpp:478:72: warning: implicitly-declared ‘KDbResult& KDbResult::operator=(const KDbResult&)’ is deprecated [-Wdeprecated-copy]
> 478 | tr("Could not fetch next record."));
> | ^
> In file included from /<<PKGBUILDDIR>>/src/KDbCursor.h:26,
> from /<<PKGBUILDDIR>>/src/KDbCursor.cpp:20:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDbResult.h:114:5: note: because ‘KDbResult’ has user-provided ‘KDbResult::KDbResult(const KDbResult&)’
> 114 | KDbResult(const KDbResult &other)
> | ^~~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp: In function ‘void KDb::getProperties(const KDbLookupFieldSchema*, QMap<QByteArray, QVariant>*)’:
> /<<PKGBUILDDIR>>/src/KDb.cpp:776:29: warning: loop variable ‘variant’ of type ‘const QVariant&’ binds to a temporary constructed from type ‘const int’ [-Wrange-loop-construct]
> 776 | for(const QVariant& variant : columnWidths) {
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:776:29: note: use non-reference type ‘const QVariant’ to make the copy explicit or ‘const int&’ to prevent copying
> /<<PKGBUILDDIR>>/src/KDb.cpp: In function ‘QString KDb::escapeBLOB(const QByteArray&, KDb::BLOBEscapingType)’:
> /<<PKGBUILDDIR>>/src/KDb.cpp:1638:37: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1638 | str[new_length++] = '\\';
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1639:37: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1639 | str[new_length++] = '\\';
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1644:37: error: use of deleted function ‘QCharRef& QCharRef::operator=(uchar)’
> 1644 | str[new_length++] = val;
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1237:15: note: declared here
> 1237 | QCharRef &operator=(uchar c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1650:55: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1650 | str[new_length++] = intToHexDigit(val / 16);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1651:55: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1651 | str[new_length++] = intToHexDigit(val % 16);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1655:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1655 | str[new_length++] = '\'';
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1657:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1657 | str[new_length++] = '\'';
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1658:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1658 | str[new_length++] = ':';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1659:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1659 | str[new_length++] = ':';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1660:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1660 | str[new_length++] = 'b';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1661:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1661 | str[new_length++] = 'y';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1662:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1662 | str[new_length++] = 't';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1663:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1663 | str[new_length++] = 'e';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:1664:29: error: use of deleted function ‘QCharRef& QCharRef::operator=(char)’
> 1664 | str[new_length++] = 'a';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QVector:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:26,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1236:15: note: declared here
> 1236 | QCharRef &operator=(char c) = delete;
> | ^~~~~~~~
> [ 76%] Building CXX object src/CMakeFiles/KDb.dir/KDbProperties.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DHAVE_QT_ISODATEWITHMS -DKCOREADDONS_LIB -DKDb_EXPORTS -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_GUI_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KDb_autogen/include -I/<<PKGBUILDDIR>>/src/expression -I/<<PKGBUILDDIR>>/src/interfaces -I/<<PKGBUILDDIR>>/src/parser -I/<<PKGBUILDDIR>>/src/parser/generated -I/<<PKGBUILDDIR>>/src/sql -I/<<PKGBUILDDIR>>/src/tools -I/<<PKGBUILDDIR>>/src/views -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT src/CMakeFiles/KDb.dir/KDbProperties.cpp.o -MF CMakeFiles/KDb.dir/KDbProperties.cpp.o.d -o CMakeFiles/KDb.dir/KDbProperties.cpp.o -c /<<PKGBUILDDIR>>/src/KDbProperties.cpp
> /<<PKGBUILDDIR>>/src/KDb.cpp: In function ‘QString KDb::temporaryTableName(KDbConnection*, const QString&)’:
> /<<PKGBUILDDIR>>/src/KDb.cpp:2071:53: warning: ‘int qrand()’ is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
> 2071 | name += QString::number(int(double(qrand()) / RAND_MAX * 0x10), 16);
> | ~~~~~^~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpair.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPair:1,
> from /<<PKGBUILDDIR>>/src/KDbField.h:25,
> from /<<PKGBUILDDIR>>/src/KDb.h:23,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:23:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1274:80: note: declared here
> 1274 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
> | ^~~~~
> /<<PKGBUILDDIR>>/src/KDb.cpp:2076:27: warning: implicitly-declared ‘constexpr tristate::tristate(const tristate&)’ is deprecated [-Wdeprecated-copy]
> 2076 | } else if (res == false) {
> | ^~~~~
> In file included from /<<PKGBUILDDIR>>/src/KDbConnection.h:28,
> from /<<PKGBUILDDIR>>/src/KDb.cpp:24:
> /<<PKGBUILDDIR>>/src/tools/KDbTristate.h:203:11: note: because ‘tristate’ has user-provided ‘tristate& tristate::operator=(tristate)’
> 203 | tristate& tristate::operator=(tristate tsValue)
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/tools/KDbTristate.h:251:33: note: initializing argument 1 of ‘bool operator==(tristate, bool)’
> 251 | inline bool operator==(tristate tsValue, bool boolValue)
> | ~~~~~~~~~^~~~~~~
> make[3]: *** [src/CMakeFiles/KDb.dir/build.make:751: src/CMakeFiles/KDb.dir/KDb.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/06/24/kdb_3.2.0-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---