[Debian-med-packaging] Bug#967101: oscar: FTBFS: qvector.h:799:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&) ’ is deprecated [-Werror=deprecated-copy]
Lucas Nussbaum
lucas at debian.org
Tue Aug 4 07:33:12 BST 2020
Source: oscar
Version: 1.1.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200803 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -c -pipe -Werror -Wno-error=deprecated-declarations -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -frtti -Wall -Wextra -D_REENTRANT -fPIC -Dhelpless -DQT_DEPRECATED_WARNINGS -DNO_UPDATER -DLOCK_RESMED_SESSIONS -D_TTY_POSIX_ -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SERIALPORT_LIB -DQT_CORE_LIB -I../../oscar -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/x86_64-linux-gnu/qt5/QtSerialPort -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mainwindow.o ../../oscar/mainwindow.cpp
> In file included from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/exportcsv.cpp:15:
> ../../oscar/SleepLib/machine.h: In member function ‘QString Machine::hexid()’:
> ../../oscar/SleepLib/machine.h:162:61: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 162 | QString hexid() { return QString().sprintf("%08lx", m_id); }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> In file included from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/daily.cpp:27:
> ../../oscar/SleepLib/machine.h: In member function ‘QString Machine::hexid()’:
> ../../oscar/SleepLib/machine.h:162:61: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 162 | QString hexid() { return QString().sprintf("%08lx", m_id); }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> ../../oscar/exportcsv.cpp: In member function ‘void ExportCSV::on_exportButton_clicked()’:
> ../../oscar/exportcsv.cpp:252:74: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 252 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> ../../oscar/exportcsv.cpp:297:78: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 297 | data += sep + QString().sprintf("%02i:%02i:%02i", h, m, s);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfiledevice.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘void QVector<T>::append(const T&) [with T = DottedLine]’:
> ../../oscar/Graphs/gLineChart.h:126:60: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:799:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 799 | *d->end() = std::move(copy);
> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/exportcsv.cpp:19:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfiledevice.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:805:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 805 | *d->end() = t;
> | ~~~~~~~~~~^~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/exportcsv.cpp:19:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from ../../oscar/main.cpp:26:
> ../../oscar/logger.h: In constructor ‘LogThread::LogThread()’:
> ../../oscar/logger.h:19:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 19 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QTime:1,
> from ../../oscar/logger.h:8,
> from ../../oscar/main.cpp:26:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:228:55: note: declared here
> 228 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
> | ^~~~~
> ../../oscar/daily.cpp: In member function ‘void Daily::on_ReloadDay()’:
> ../../oscar/daily.cpp:883:16: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 883 | time.start();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1,
> from ../../oscar/SleepLib/machine.h:16,
> from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/daily.cpp:27:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:228:55: note: declared here
> 228 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
> | ^~~~~
> ../../oscar/daily.cpp:890:30: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 890 | unload_time=time.restart();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1,
> from ../../oscar/SleepLib/machine.h:16,
> from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/daily.cpp:27:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:229:54: note: declared here
> 229 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart();
> | ^~~~~~~
> ../../oscar/daily.cpp:894:28: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 894 | load_time=time.restart();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1,
> from ../../oscar/SleepLib/machine.h:16,
> from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/daily.cpp:27:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:229:54: note: declared here
> 229 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart();
> | ^~~~~~~
> ../../oscar/daily.cpp:912:29: warning: ‘int QTime::restart()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 912 | other_time=time.restart();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDateTime:1,
> from ../../oscar/SleepLib/machine.h:16,
> from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/daily.cpp:27:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:229:54: note: declared here
> 229 | QT_DEPRECATED_X("Use QElapsedTimer instead") int restart();
> | ^~~~~~~
> ../../oscar/daily.cpp: In member function ‘QString Daily::getStatisticsInfo(Day*)’:
> ../../oscar/daily.cpp:1371:131: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 1371 | QString("</b></td><td colspan=2 bgcolor='white'>%1</td></tr>").arg(QString().sprintf("%02i:%02i:%02i",h,m,s));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> ../../oscar/daily.cpp: In member function ‘QString Daily::getSleepTime(Day*)’:
> ../../oscar/daily.cpp:1443:58: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 1443 | .arg(QString().sprintf("%02i:%02i:%02i",h,m,s));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> In file included from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/daily.h:25,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/main.cpp:27:
> ../../oscar/SleepLib/machine.h: In member function ‘QString Machine::hexid()’:
> ../../oscar/SleepLib/machine.h:162:61: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 162 | QString hexid() { return QString().sprintf("%08lx", m_id); }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from ../../oscar/main.cpp:14:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfiledevice.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘QVector<T>::iterator QVector<T>::insert(QVector<T>::iterator, T&&) [with T = SelectionHistoryItem; QVector<T>::iterator = SelectionHistoryItem*]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:490:9: required from ‘void QVector<T>::prepend(T&&) [with T = SelectionHistoryItem]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:274:37: required from ‘void QVector<T>::push_front(T&&) [with T = SelectionHistoryItem]’
> ../../oscar/Graphs/gGraphView.h:403:64: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:888:22: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 888 | *--j = std::move(*--i);
> | ~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/Graphs/gSummaryChart.h:13,
> from ../../oscar/daily.h:27,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/exportcsv.cpp:19:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfiledevice.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfile.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qfileinfo.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qfiledialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QFileDialog:1,
> from ../../oscar/exportcsv.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:889:16: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 889 | *b = std::move(t);
> | ~~~^~~~~~~~~~~~~~
> In file included from ../../oscar/Graphs/gSummaryChart.h:13,
> from ../../oscar/daily.h:27,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/exportcsv.cpp:19:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘void QVector<T>::append(const T&) [with T = DottedLine]’:
> ../../oscar/Graphs/gLineChart.h:126:60: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:799:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 799 | *d->end() = std::move(copy);
> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/daily.cpp:27:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:805:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 805 | *d->end() = t;
> | ~~~~~~~~~~^~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/daily.cpp:27:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘QVector<T>::iterator QVector<T>::insert(QVector<T>::iterator, T&&) [with T = SelectionHistoryItem; QVector<T>::iterator = SelectionHistoryItem*]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:490:9: required from ‘void QVector<T>::prepend(T&&) [with T = SelectionHistoryItem]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:274:37: required from ‘void QVector<T>::push_front(T&&) [with T = SelectionHistoryItem]’
> ../../oscar/Graphs/gGraphView.h:403:64: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:888:22: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 888 | *--j = std::move(*--i);
> | ~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/overview.h:19,
> from ../../oscar/mainwindow.h:20,
> from ../../oscar/daily.h:26,
> from ../../oscar/daily.cpp:27:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qcolor.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtextformat.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/QTextCharFormat:1,
> from ../../oscar/daily.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:889:16: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 889 | *b = std::move(t);
> | ~~~^~~~~~~~~~~~~~
> In file included from ../../oscar/overview.h:19,
> from ../../oscar/mainwindow.h:20,
> from ../../oscar/daily.h:26,
> from ../../oscar/daily.cpp:27:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from ../../oscar/SleepLib/profiles.h:18,
> from ../../oscar/SleepLib/machine_loader.h:18,
> from ../../oscar/SleepLib/loader_plugins/zeo_loader.h:13,
> from ../../oscar/mainwindow.cpp:41:
> ../../oscar/SleepLib/machine.h: In member function ‘QString Machine::hexid()’:
> ../../oscar/SleepLib/machine.h:162:61: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations]
> 162 | QString hexid() { return QString().sprintf("%08lx", m_id); }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1,
> from ../../oscar/mainwindow.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:382:14: note: declared here
> 382 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3);
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from ../../oscar/main.cpp:14:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘void QVector<T>::append(const T&) [with T = DottedLine]’:
> ../../oscar/Graphs/gLineChart.h:126:60: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:799:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 799 | *d->end() = std::move(copy);
> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/main.cpp:27:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from ../../oscar/main.cpp:14:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:805:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 805 | *d->end() = t;
> | ~~~~~~~~~~^~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/main.cpp:27:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from ../../oscar/mainwindow.cpp:50:
> ../../oscar/logger.h: In constructor ‘LogThread::LogThread()’:
> ../../oscar/logger.h:19:73: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 19 | explicit LogThread() : QRunnable() { running = false; logtime.start(); connected = false; }
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1,
> from ../../oscar/mainwindow.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:228:55: note: declared here
> 228 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
> | ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from ../../oscar/main.cpp:14:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘QVector<T>::iterator QVector<T>::insert(QVector<T>::iterator, T&&) [with T = SelectionHistoryItem; QVector<T>::iterator = SelectionHistoryItem*]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:490:9: required from ‘void QVector<T>::prepend(T&&) [with T = SelectionHistoryItem]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:274:37: required from ‘void QVector<T>::push_front(T&&) [with T = SelectionHistoryItem]’
> ../../oscar/Graphs/gGraphView.h:403:64: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:888:22: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 888 | *--j = std::move(*--i);
> | ~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/Graphs/gSummaryChart.h:13,
> from ../../oscar/daily.h:27,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/main.cpp:27:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qcoreapplication.h:46,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from ../../oscar/main.cpp:14:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:889:16: error: implicitly-declared ‘SelectionHistoryItem& SelectionHistoryItem::operator=(const SelectionHistoryItem&)’ is deprecated [-Werror=deprecated-copy]
> 889 | *b = std::move(t);
> | ~~~^~~~~~~~~~~~~~
> In file included from ../../oscar/Graphs/gSummaryChart.h:13,
> from ../../oscar/daily.h:27,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/main.cpp:27:
> ../../oscar/Graphs/gGraphView.h:274:5: note: because ‘SelectionHistoryItem’ has user-provided ‘SelectionHistoryItem::SelectionHistoryItem(const SelectionHistoryItem&)’
> 274 | SelectionHistoryItem(const SelectionHistoryItem & copy) {
> | ^~~~~~~~~~~~~~~~~~~~
> ../../oscar/mainwindow.cpp: In member function ‘QList<ImportPath> MainWindow::detectCPAPCards()’:
> ../../oscar/mainwindow.cpp:869:16: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 869 | time.start();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1,
> from ../../oscar/mainwindow.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:228:55: note: declared here
> 228 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
> | ^~~~~
> ../../oscar/mainwindow.cpp:919:29: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 919 | int el=time.elapsed();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1,
> from ../../oscar/mainwindow.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:230:54: note: declared here
> 230 | QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
> | ^~~~~~~
> ../../oscar/mainwindow.cpp: In member function ‘QList<ImportPath> MainWindow::selectCPAPDataCards(const QString&)’:
> ../../oscar/mainwindow.cpp:979:16: warning: ‘void QTime::start()’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
> 979 | time.start();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcalendarwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCalendarWidget:1,
> from ../../oscar/mainwindow.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatetime.h:228:55: note: declared here
> 228 | QT_DEPRECATED_X("Use QElapsedTimer instead") void start();
> | ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1,
> from ../../oscar/mainwindow.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h: In instantiation of ‘void QVector<T>::append(const T&) [with T = DottedLine]’:
> ../../oscar/Graphs/gLineChart.h:126:60: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:799:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 799 | *d->end() = std::move(copy);
> | ~~~~~~~~~~^~~~~~~~~~~~~~~~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/mainwindow.cpp:51:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:48,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/qhostinfo.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtNetwork/QHostInfo:1,
> from ../../oscar/mainwindow.cpp:10:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:805:23: error: implicitly-declared ‘DottedLine& DottedLine::operator=(const DottedLine&)’ is deprecated [-Werror=deprecated-copy]
> 805 | *d->end() = t;
> | ~~~~~~~~~~^~~
> In file included from ../../oscar/daily.h:29,
> from ../../oscar/mainwindow.h:19,
> from ../../oscar/mainwindow.cpp:51:
> ../../oscar/Graphs/gLineChart.h:35:5: note: because ‘DottedLine’ has user-provided ‘DottedLine::DottedLine(const DottedLine&)’
> 35 | DottedLine(const DottedLine & copy) {
> | ^~~~~~~~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [Makefile:1349: exportcsv.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/08/03/oscar_1.1.1-1_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Debian-med-packaging
mailing list