[pkg-lxqt-devel] Bug#978219: libfm-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:32 GMT 2020


Source: libfm-qt
Version: 0.14.1-12.2
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++ -DGETTEXT_PACKAGE=\"\" -DLIBFM_QT_DATA_DIR=\"/usr/share/libfm-qt\" -DQT_CORE_LIB -DQT_GUI_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_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -Dfm_qt_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/include -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/<<PKGBUILDDIR>>/src/core/legacy -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/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 -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 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -o CMakeFiles/fm-qt.dir/core/mimetype.cpp.o -c /<<PKGBUILDDIR>>/src/core/mimetype.cpp
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/core/mimetype.h:40,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:28,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:2:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchooserdialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:3:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchooserdialog.h: At global scope:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchooserdialog.h:39:124: 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]
>    39 |     explicit AppChooserDialog(std::shared_ptr<const Fm::MimeType> mimeType, QWidget* parent = nullptr, 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/qcombobox.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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) {}
>       |                                                                                ^~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/moc_userinfocache.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:23:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/../../../../src/core/userinfocache.h: In constructor ‘Fm::UserInfo::UserInfo(uid_t, const char*, const char*)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/../../../../src/core/userinfocache.h:17:51: error: ‘QString::QString(const char*)’ is private within this context
>    17 |         uid_{uid}, name_{name}, realName_{realName} {
>       |                                                   ^
> 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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/moc_userinfocache.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:23:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/../../../../src/core/userinfocache.h:17:51: error: ‘QString::QString(const char*)’ is private within this context
>    17 |         uid_{uid}, name_{name}, realName_{realName} {
>       |                                                   ^
> 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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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 /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/moc_userinfocache.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:23:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/../../../../src/core/userinfocache.h: In constructor ‘Fm::GroupInfo::GroupInfo(gid_t, const char*)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/TAC5DWH4SE/../../../../src/core/userinfocache.h:41:75: error: ‘QString::QString(const char*)’ is private within this context
>    41 |     explicit GroupInfo(gid_t gid, const char* name): gid_{gid}, name_{name} {
>       |                                                                           ^
> 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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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 /<<PKGBUILDDIR>>/src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:1:
> /<<PKGBUILDDIR>>/src/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /<<PKGBUILDDIR>>/src/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/qhashfunctions.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
>                  from /<<PKGBUILDDIR>>/src/core/gobjectptr.h:8,
>                  from /<<PKGBUILDDIR>>/src/core/gioptrs.h:7,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:1:
> /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/fm-qt_autogen/EWIEGA46WW/moc_editbookmarksdialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:29:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/editbookmarksdialog.h: At global scope:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/editbookmarksdialog.h:37:113: 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]
>    37 |     explicit EditBookmarksDialog(std::shared_ptr<Bookmarks> bookmarks, 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/qcombobox.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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) {}
>       |                                                                                ^~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_execfiledialog_p.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:30:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/execfiledialog_p.h:40:85: 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]
>    40 |   ExecFileDialog(const FileInfo& fileInfo, 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/qcombobox.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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) {}
>       |                                                                                ^~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filedialog.h:15,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_filedialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:31:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/folderview.h: In member function ‘QList<int> Fm::FolderView::getHiddenColumns() const’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/folderview.h:131:38: warning: ‘QList<T> QSet<T>::toList() const [with T = int]’ is deprecated: Use values() instead. [-Wdeprecated-declarations]
>   131 |         return hiddenColumns_.toList();
>       |                                      ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/core/gobjectptr.h:8,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/core/mimetype.h:39,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:28,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:265:14: note: declared here
>   265 |     QList<T> toList() const { return values(); }
>       |              ^~~~~~
> In file included from /<<PKGBUILDDIR>>/src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/src/core/mimetype.h:40,
>                  from /<<PKGBUILDDIR>>/src/core/mimetype.cpp:1:
> /<<PKGBUILDDIR>>/src/core/gioptrs.h: In member function ‘QString Fm::GErrorPtr::message() const’:
> /<<PKGBUILDDIR>>/src/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/qhashfunctions.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
>                  from /<<PKGBUILDDIR>>/src/core/gobjectptr.h:8,
>                  from /<<PKGBUILDDIR>>/src/core/mimetype.h:39,
>                  from /<<PKGBUILDDIR>>/src/core/mimetype.cpp:1:
> /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/fm-qt_autogen/EWIEGA46WW/moc_filedialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:31:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filedialog.h: In member function ‘void Fm::FileDialog::setDefaultSuffix(const QString&)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filedialog.h:104:46: error: ‘QChar::QChar(char)’ is private within this context
>   104 |         if(!suffix.isEmpty() && suffix[0] == '.') {
>       |                                              ^~~
> 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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:2:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> [ 28%] Building CXX object src/CMakeFiles/fm-qt.dir/core/fileinfo.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DGETTEXT_PACKAGE=\"\" -DLIBFM_QT_DATA_DIR=\"/usr/share/libfm-qt\" -DQT_CORE_LIB -DQT_GUI_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_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -Dfm_qt_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/include -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.2/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.2/QtCore -I/<<PKGBUILDDIR>>/src/core/legacy -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/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 -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 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -o CMakeFiles/fm-qt.dir/core/fileinfo.cpp.o -c /<<PKGBUILDDIR>>/src/core/fileinfo.cpp
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_filepropsdialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:38:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filepropsdialog.h: At global scope:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filepropsdialog.h:41:95: 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]
>    41 |     explicit FilePropsDialog(Fm::FileInfoList files, 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/qcombobox.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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) {}
>       |                                                                                ^~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_filepropsdialog.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:38:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filepropsdialog.h: In static member function ‘static Fm::FilePropsDialog* Fm::FilePropsDialog::showForFiles(Fm::FileInfoList, QWidget*)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/filepropsdialog.h:54:76: 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]
>    54 |         FilePropsDialog* dlg = new FilePropsDialog(std::move(files), parent);
>       |                                                                            ^
> 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/qcombobox.h:43,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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/core/iconinfo.cpp: In static member function ‘static QList<QIcon> Fm::IconInfo::qiconsFromNames(const char* const*)’:
> /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:98:47: error: ‘QString::QString(const char*)’ is private within this context
>    98 |         icons.push_back(QIcon::fromTheme(*name));
>       |                                               ^
> 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/qhash.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
>                  from /<<PKGBUILDDIR>>/src/core/gobjectptr.h:8,
>                  from /<<PKGBUILDDIR>>/src/core/gioptrs.h:7,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:1:
> /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/fm-qt_autogen/EWIEGA46WW/moc_pathbar_p.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/mocs_compilation.cpp:49:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/pathbar_p.h: In constructor ‘Fm::PathButton::PathButton(std::string, QString, bool, QWidget*)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/pathbar_p.h:50:59: error: ‘QString::QString(const char*)’ is private within this context
>    50 |             QIcon icon = QIcon::fromTheme("drive-harddisk");
>       |                                                           ^
> 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/qcombobox.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QComboBox:1,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/../../../../src/appchoosercombobox.h:24,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-qt_autogen/EWIEGA46WW/moc_appchoosercombobox.cpp:10,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fm-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);
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/src/core/iconinfo.cpp: In member function ‘QIcon Fm::IconInfo::internalQicon() const’:
> /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:131:56: error: ‘QString::QString(const char*)’ is private within this context
>   131 |             internalQicons_.push_back(QIcon(fpath.get()));
>       |                                                        ^
> 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/qhash.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QDebug:1,
>                  from /<<PKGBUILDDIR>>/src/core/gobjectptr.h:8,
>                  from /<<PKGBUILDDIR>>/src/core/gioptrs.h:7,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.h:30,
>                  from /<<PKGBUILDDIR>>/src/core/iconinfo.cpp:1:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
>   973 |     QString(const char *ch);
>       |     ^~~~~~~
> make[3]: *** [src/CMakeFiles/fm-qt.dir/build.make:297: src/CMakeFiles/fm-qt.dir/core/iconinfo.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/libfm-qt_0.14.1-12.2_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