[pkg-lxqt-devel] Bug#978204: lxqt-panel: FTBFS: colorpicker.h:73:46: error: ‘QString::QString?=(const char*)=?UTF-8?Q?’ is private within this context
Lucas Nussbaum
lucas at debian.org
Sat Dec 26 21:32:42 GMT 2020
Source: lxqt-panel
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/plugin-directorymenu && /usr/bin/c++ -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_MAJOR_VERSION=\"0\" -DLXQT_MINOR_VERSION=\"14\" -DLXQT_PANEL_VERSION=\"0.14.1\" -DLXQT_PATCH_VERSION=\"1\" -DLXQT_RELATIVE_SHARE_DIR=\"lxqt\" -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"lxqt/translations\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_SHARE_TRANSLATIONS_DIR=\"/usr/share/lxqt/translations\" -DLXQT_VERSION=\"0.14.1\" -DPLUGIN_DIR=\"/usr/lib/x86_64-linux-gnu/lxqt-panel\" -DQT_CORE_LIB -DQT_DBUS_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_URL_CAST_FROM_STRING -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -Ddirectorymenu_EXPORTS -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-directorymenu -I/<<PKGBUILDDIR>>/plugin-directorymenu -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-directorymenu/directorymenu_autogen/include -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/lxqt -isystem /usr/include/lxqt/LXQt -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/qt5xdg -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/qt5xdgiconloader -isystem /usr/include/qt5xdgiconloader/3.4.0 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -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/directorymenu.dir/directorymenu_autogen/mocs_compilation.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-directorymenu/directorymenu_autogen/mocs_compilation.cpp
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/../panel/ilxqtpanelplugin.h:33,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/moc_colorpicker.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/mocs_compilation.cpp:2:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/../panel/ilxqtpanel.h:39:22: warning: ‘class ILXQtPanel’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
> 39 | class LXQT_PANEL_API ILXQtPanel
> | ^~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/moc_colorpicker.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/mocs_compilation.cpp:2:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/../panel/ilxqtpanelplugin.h: In member function ‘virtual void ILXQtPanelPlugin::activated(ILXQtPanelPlugin::ActivationReason)’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/../panel/ilxqtpanelplugin.h:160:45: warning: unused parameter ‘reason’ [-Wunused-parameter]
> 160 | virtual void activated(ActivationReason reason) {}
> | ~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:33,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanel.h:39:22: warning: ‘class ILXQtPanel’ has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
> 39 | class LXQT_PANEL_API ILXQtPanel
> | ^~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h: In member function ‘virtual void ILXQtPanelPlugin::activated(ILXQtPanelPlugin::ActivationReason)’:
> /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:160:45: warning: unused parameter ‘reason’ [-Wunused-parameter]
> 160 | virtual void activated(ActivationReason reason) {}
> | ~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/moc_colorpicker.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/mocs_compilation.cpp:2:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/colorpicker.h: In member function ‘virtual QString ColorPicker::themeId() const’:
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/colorpicker.h:73:46: error: ‘QString::QString(const char*)’ is private within this context
> 73 | virtual QString themeId() const { return "ColorPicker"; }
> | ^~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/../panel/ilxqtpanelplugin.h:32,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/../../../../plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_autogen/EWIEGA46WW/moc_colorpicker.cpp:10,
> from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/plugin-colorpicker/colorpicker_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>>/plugin-colorpicker/colorpicker.cpp:28:
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h: In member function ‘virtual QString ColorPicker::themeId() const’:
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:73:46: error: ‘QString::QString(const char*)’ is private within this context
> 73 | virtual QString themeId() const { return "ColorPicker"; }
> | ^~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:32,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp: In constructor ‘ColorPickerWidget::ColorPickerWidget(QWidget*)’:
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:59:47: error: ‘QString::QString(const char*)’ is private within this context
> 59 | mLineEdit.setFixedWidth ( 10*fm.width ("a") );
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:32,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:59:47: warning: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
> 59 | mLineEdit.setFixedWidth ( 10*fm.width ("a") );
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:50,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdesktopwidget.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDesktopWidget:1,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:33,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here
> 106 | int width(const QString &, int len = -1) const;
> | ^~~~~
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:70:71: error: ‘QString::QString(const char*)’ is private within this context
> 70 | mButton.setIcon(XdgIcon::fromTheme("color-picker", "kcolorchooser"));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:32,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:70:71: error: ‘QString::QString(const char*)’ is private within this context
> 70 | mButton.setIcon(XdgIcon::fromTheme("color-picker", "kcolorchooser"));
> | ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:44,
> from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/../panel/ilxqtpanelplugin.h:32,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.h:31,
> from /<<PKGBUILDDIR>>/plugin-colorpicker/colorpicker.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
> 973 | QString(const char *ch);
> | ^~~~~~~
> make[3]: *** [plugin-colorpicker/CMakeFiles/colorpicker.dir/build.make:126: plugin-colorpicker/CMakeFiles/colorpicker.dir/colorpicker_autogen/mocs_compilation.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/26/lxqt-panel_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