[pkg-lxqt-devel] Bug#978178: lximage-qt: FTBFS: gioptrs.h:75:26: error: ‘QString::QString?=(const char*)=?UTF-8?Q?’ is private within this context
Lucas Nussbaum
lucas at debian.org
Sat Dec 26 21:32:36 GMT 2020
Source: lximage-qt
Version: 0.14.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye
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++ -DLXIMAGE_DATA_DIR=\"/usr/share/lximage-qt\" -DLXIMAGE_VERSION=\"0.14.1\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/include -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/menu-cache -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -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/QtX11Extras -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -O2 -g -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -o CMakeFiles/lximage-qt.dir/preferencesdialog.cpp.o -c /<<PKGBUILDDIR>>/src/preferencesdialog.cpp
> In file included from /usr/include/libfm-qt/core/folder.h:35,
> from /usr/include/libfm-qt/foldermodelitem.h:30,
> from /usr/include/libfm-qt/foldermodel.h:33,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:33,
> from /<<PKGBUILDDIR>>/src/application.h:26,
> from /<<PKGBUILDDIR>>/src/lximage-qt.cpp:23:
> /usr/include/libfm-qt/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /usr/include/libfm-qt/core/gioptrs.h:75:26: error: ‘QString::QString(const char*)’ is private within this context
> 75 | return err_->message;
> | ^~~~~~~
> 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 /<<PKGBUILDDIR>>/src/lximage-qt.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> In file included from /usr/include/libfm-qt/core/folder.h:35,
> from /usr/include/libfm-qt/foldermodelitem.h:30,
> from /usr/include/libfm-qt/foldermodel.h:33,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:33,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/libfm-qt/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /usr/include/libfm-qt/core/gioptrs.h:75:26: error: ‘QString::QString(const char*)’ is private within this context
> 75 | return err_->message;
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> In file included from /usr/include/libfm-qt/core/folder.h:35,
> from /usr/include/libfm-qt/foldermodelitem.h:30,
> from /usr/include/libfm-qt/foldermodel.h:33,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:33,
> from /<<PKGBUILDDIR>>/src/application.h:26,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:22:
> /usr/include/libfm-qt/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /usr/include/libfm-qt/core/gioptrs.h:75:26: error: ‘QString::QString(const char*)’ is private within this context
> 75 | return err_->message;
> | ^~~~~~~
> In file included from /usr/include/libfm-qt/core/folder.h:35,
> from /usr/include/libfm-qt/foldermodelitem.h:30,
> from /usr/include/libfm-qt/foldermodel.h:33,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/mainwindow.h:33,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/application.h:26,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/moc_application.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/mocs_compilation.cpp:2:
> /usr/include/libfm-qt/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /usr/include/libfm-qt/core/gioptrs.h:75:26: error: ‘QString::QString(const char*)’ is private within this context
> 75 | return err_->message;
> | ^~~~~~~
> 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 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/application.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/moc_application.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp: In function ‘void findIconThemesInDir(QHash<QString, QString>&, const QString&)’:
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:91:30: error: ‘QString& QString::operator=(const char*)’ is private within this context
> 91 | iconThemes[subDir] = dispName;
> | ^~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:975:14: note: declared private here
> 975 | QString &operator=(const char *ch);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp: In member function ‘void LxImage::PreferencesDialog::initIconThemes(LxImage::Settings&)’:
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:105:61: error: ‘QString::QString(const char*)’ is private within this context
> 105 | findIconThemesInDir(iconThemes, QString(g_get_home_dir()) % "/.icons");
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:110:55: error: ‘QString::QString(const char*)’ is private within this context
> 110 | findIconThemesInDir(iconThemes, QString(*dataDir) % "/icons");
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:113:32: error: ‘QString::QString(const char*)’ is private within this context
> 113 | iconThemes.remove("hicolor"); // remove hicolor, which is only a fallback
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/moc_screenshotdialog.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/mocs_compilation.cpp:8:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/screenshotdialog.h: At global scope:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/screenshotdialog.h:32:70: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = Qt::WindowType; QFlags<T>::Zero = int QFlags<Qt::WindowType>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
> 32 | explicit ScreenshotDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1304,
> from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qapplication.h:43,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QApplication:1,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/../../../../src/application.h:24,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/EWIEGA46WW/moc_application.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/lximage-qt_autogen/mocs_compilation.cpp:2:
> /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/mainwindow.cpp: In member function ‘void LxImage::MainWindow::openImageFile(const QString&)’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:239:37: error: ‘QString::QString(const char*)’ is private within this context
> 239 | formatsFilters << QString("*.") + format;
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘QString LxImage::MainWindow::openFileName()’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:282:18: error: ‘QString& QString::operator+=(const char*)’ is private within this context
> 282 | filterStr += "*.";
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:971:14: note: declared private here
> 971 | QString &operator+=(const char *s);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:283:32: error: ‘QString& QString::operator+=(const QByteArray&)’ is private within this context
> 283 | filterStr += (*it).toLower();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:972:14: note: declared private here
> 972 | QString &operator+=(const QByteArray &s);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:286:20: error: ‘QChar::QChar(char)’ is private within this context
> 286 | filterStr += ' ';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
> 626 | QChar(char c) noexcept;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘QString LxImage::MainWindow::saveFileName(const QString&)’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:309:18: error: ‘QString& QString::operator+=(const char*)’ is private within this context
> 309 | filterStr += "*.";
> | ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:971:14: note: declared private here
> 971 | QString &operator+=(const char *s);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:310:32: error: ‘QString& QString::operator+=(const QByteArray&)’ is private within this context
> 310 | filterStr += (*it).toLower();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:972:14: note: declared private here
> 972 | QString &operator+=(const QByteArray &s);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:313:20: error: ‘QChar::QChar(char)’ is private within this context
> 313 | filterStr += ' ';
> | ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
> 626 | QChar(char c) noexcept;
> | ^~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:324:30: error: ‘QString::QString(const char*)’ is private within this context
> 324 | diag.setDefaultSuffix("png");
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::onImageLoaded()’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:488:81: error: ‘QString::QString(const char*)’ is private within this context
> 488 | ui.menuRecently_Opened_Files->addItem(loadJob_->filePath().localPath().get());
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘virtual bool LxImage::MainWindow::eventFilter(QObject*, QEvent*)’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:523:41: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations]
> 523 | int delta = wheelEvent->delta();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QWheelEvent:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:34:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here
> 219 | inline int delta() const { return qt4D; }
> | ^~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:546:41: warning: ‘int QWheelEvent::delta() const’ is deprecated: Use angleDelta() [-Wdeprecated-declarations]
> 546 | int delta = wheelEvent->delta();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/QWheelEvent:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:34:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here
> 219 | inline int delta() const { return qt4D; }
> | ^~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::updateUI()’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:621:65: warning: ‘const QRect QDesktopWidget::availableGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
> 621 | QRect ag = QApplication::desktop()->availableGeometry();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDesktopWidget:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:40:
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdesktopwidget.h:88:67: note: declared here
> 88 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect availableGeometry(int screen = -1) const;
> | ^~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::loadImage(const Fm::FilePath&, QModelIndex)’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:669:33: error: ‘QString::QString(const char*)’ is private within this context
> 669 | mimeType = QString(mime_type);
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:672:18: error: ‘QString::QString(const char*)’ is private within this context
> 672 | if(mimeType == "image/gif"
> | ^~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:673:21: error: ‘QString::QString(const char*)’ is private within this context
> 673 | || mimeType == "image/svg+xml" || mimeType == "image/svg+xml-compressed") {
> | ^~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:673:52: error: ‘QString::QString(const char*)’ is private within this context
> 673 | || mimeType == "image/svg+xml" || mimeType == "image/svg+xml-compressed") {
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:676:20: error: ‘QString::QString(const char*)’ is private within this context
> 676 | if(mimeType == "image/gif")
> | ^~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:677:55: error: ‘QString::QString(const char*)’ is private within this context
> 677 | ui.view->setGifAnimation(QString{file_name.get()});
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:679:46: error: ‘QString::QString(const char*)’ is private within this context
> 679 | ui.view->setSVG(QString{file_name.get()});
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::on_actionUpload_triggered()’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:796:58: error: ‘QString::QString(const char*)’ is private within this context
> 796 | UploadDialog(this, currentFile_.localPath().get()).exec();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::on_actionPrint_triggered()’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:857:39: warning: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
> 857 | QRect pageRect = printer.pageRect();
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QPrinter:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:33:
> /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here
> 259 | QRect pageRect() const;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp: In member function ‘void LxImage::MainWindow::on_actionSlideShow_triggered(bool)’:
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:891:71: error: ‘QString::QString(const char*)’ is private within this context
> 891 | ui.actionSlideShow->setIcon(QIcon::fromTheme("media-playback-stop"));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/mainwindow.cpp:897:74: error: ‘QString::QString(const char*)’ is private within this context
> 897 | ui.actionSlideShow->setIcon(QIcon::fromTheme("media-playback-start"));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
> from /<<PKGBUILDDIR>>/src/mainwindow.h:24,
> from /<<PKGBUILDDIR>>/src/mainwindow.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:2164,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdialog.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.h:24,
> from /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h: In instantiation of ‘static void QConcatenable<QStringBuilder<A, B> >::appendTo(const type&, T*&) [with T = QChar; A = QStringBuilder<QStringBuilder<QString, char>, QString>; B = char [13]; QConcatenable<QStringBuilder<A, B> >::type = QStringBuilder<QStringBuilder<QStringBuilder<QString, char>, QString>, char [13]>]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:118:56: required from ‘T QStringBuilder<A, B>::convertTo() const [with T = QString; A = QStringBuilder<QStringBuilder<QString, char>, QString>; B = char [13]]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:131:61: required from ‘QStringBuilder<A, B>::operator QStringBuilder<A, B>::ConvertTo() const [with A = QStringBuilder<QStringBuilder<QString, char>, QString>; B = char [13]; QStringBuilder<A, B>::ConvertTo = QString]’
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:83:50: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:429:35: error: cannot convert ‘QChar*’ to ‘char*&’
> 429 | QConcatenable<B>::appendTo(p.b, out);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:318:57: note: initializing argument 2 of ‘static void QConcatenable<const char [N]>::appendTo(const char*, char*&) [with int N = 13]’
> 318 | static inline void appendTo(const char a[N], char *&out)
> | ~~~~~~~^~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h: In instantiation of ‘static void QConcatenable<QStringBuilder<A, B> >::appendTo(const type&, T*&) [with T = QChar; A = QString; B = char [8]; QConcatenable<QStringBuilder<A, B> >::type = QStringBuilder<QString, char [8]>]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:118:56: required from ‘T QStringBuilder<A, B>::convertTo() const [with T = QString; A = QString; B = char [8]]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:131:61: required from ‘QStringBuilder<A, B>::operator QStringBuilder<A, B>::ConvertTo() const [with A = QString; B = char [8]; QStringBuilder<A, B>::ConvertTo = QString]’
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:105:74: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:429:35: error: cannot convert ‘QChar*’ to ‘char*&’
> 429 | QConcatenable<B>::appendTo(p.b, out);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:318:57: note: initializing argument 2 of ‘static void QConcatenable<const char [N]>::appendTo(const char*, char*&) [with int N = 8]’
> 318 | static inline void appendTo(const char a[N], char *&out)
> | ~~~~~~~^~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h: In instantiation of ‘static void QConcatenable<QStringBuilder<A, B> >::appendTo(const type&, T*&) [with T = QChar; A = QString; B = char [7]; QConcatenable<QStringBuilder<A, B> >::type = QStringBuilder<QString, char [7]>]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:118:56: required from ‘T QStringBuilder<A, B>::convertTo() const [with T = QString; A = QString; B = char [7]]’
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:131:61: required from ‘QStringBuilder<A, B>::operator QStringBuilder<A, B>::ConvertTo() const [with A = QString; B = char [7]; QStringBuilder<A, B>::ConvertTo = QString]’
> /<<PKGBUILDDIR>>/src/preferencesdialog.cpp:110:67: required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:429:35: error: cannot convert ‘QChar*’ to ‘char*&’
> 429 | QConcatenable<B>::appendTo(p.b, out);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:318:57: note: initializing argument 2 of ‘static void QConcatenable<const char [N]>::appendTo(const char*, char*&) [with int N = 7]’
> 318 | static inline void appendTo(const char a[N], char *&out)
> | ~~~~~~~^~~
> make[3]: *** [src/CMakeFiles/lximage-qt.dir/build.make:254: src/CMakeFiles/lximage-qt.dir/lximage-qt.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/lximage-qt_0.14.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!
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 me
so that we can identify if something relevant changed in the meantime.
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 pkg-lxqt-devel
mailing list