[pkg-lxqt-devel] Bug#978202: compton-conf: FTBFS: maindialog.cpp:44:48: error: ‘QString& QString::operator=(const QByteArray&) ’ is private within this context

Lucas Nussbaum lucas at debian.org
Sat Dec 26 21:31:57 GMT 2020


Source: compton-conf
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):
> /usr/bin/c++ -DCOMPTONCONF_VERSION=\"0.14.1\" -DCOMPTON_CONF_DATA_DIR=\"/usr/share/compton-conf\" -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -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\" -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_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compton-conf_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/x86_64-linux-gnu/qt5/QtDBus -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 -DQT_NO_KEYWORDS -O2 -g -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -o CMakeFiles/compton-conf.dir/compton-conf_autogen/mocs_compilation.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/compton-conf_autogen/mocs_compilation.cpp
> /<<PKGBUILDDIR>>/maindialog.cpp: In constructor ‘MainDialog::MainDialog(QString)’:
> /<<PKGBUILDDIR>>/maindialog.cpp:44:48: error: ‘QString& QString::operator=(const QByteArray&)’ is private within this context
>    44 |     userConfigFile_ = qgetenv("XDG_CONFIG_HOME");
>       |                                                ^
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:976:14: note: declared private here
>   976 |     QString &operator=(const QByteArray &a);
>       |              ^~~~~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:47:26: error: ‘QString& QString::operator+=(const char*)’ is private within this context
>    47 |       userConfigFile_ += "/.config";
>       |                          ^~~~~~~~~~
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.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>>/maindialog.cpp:51:24: error: ‘QString& QString::operator+=(const char*)’ is private within this context
>    51 |     userConfigFile_ += "/compton.conf";
>       |                        ^~~~~~~~~~~~~~~
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.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>>/maindialog.cpp:82:62: error: ‘QChar::QChar(char)’ is private within this context
>    82 |     QByteArray keyName = child->objectName().replace('_', '-').toLatin1(); // generate config key from objectName.
>       |                                                              ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:82:62: error: ‘QChar::QChar(char)’ is private within this context
>    82 |     QByteArray keyName = child->objectName().replace('_', '-').toLatin1(); // generate config key from objectName.
>       |                                                              ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:103:81: error: ‘QChar::QChar(char)’ is private within this context
>   103 |         QByteArray groupKeyName = child->parent()->objectName().replace('_', '-').toLatin1();
>       |                                                                                 ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:103:81: error: ‘QChar::QChar(char)’ is private within this context
>   103 |         QByteArray groupKeyName = child->parent()->objectName().replace('_', '-').toLatin1();
>       |                                                                                 ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::onButtonToggled(bool)’:
> /<<PKGBUILDDIR>>/maindialog.cpp:128:63: error: ‘QChar::QChar(char)’ is private within this context
>   128 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:128:63: error: ‘QChar::QChar(char)’ is private within this context
>   128 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::onSpinValueChanged(double)’:
> /<<PKGBUILDDIR>>/maindialog.cpp:136:63: error: ‘QChar::QChar(char)’ is private within this context
>   136 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:136:63: error: ‘QChar::QChar(char)’ is private within this context
>   136 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::onSpinValueChanged(int)’:
> /<<PKGBUILDDIR>>/maindialog.cpp:144:63: error: ‘QChar::QChar(char)’ is private within this context
>   144 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:144:63: error: ‘QChar::QChar(char)’ is private within this context
>   144 |   QByteArray keyName = sender()->objectName().replace('_', '-').toLatin1();
>       |                                                               ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::onRadioGroupToggled(bool)’:
> /<<PKGBUILDDIR>>/maindialog.cpp:153:75: error: ‘QChar::QChar(char)’ is private within this context
>   153 |     QByteArray keyName = sender()->parent()->objectName().replace('_', '-').toLatin1();
>       |                                                                           ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:153:75: error: ‘QChar::QChar(char)’ is private within this context
>   153 |     QByteArray keyName = sender()->parent()->objectName().replace('_', '-').toLatin1();
>       |                                                                           ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:154:121: error: ‘QChar::QChar(char)’ is private within this context
>   154 |     QByteArray val = sender()->objectName().right(sender()->objectName().size() - (keyName.size() + 1)).replace('_', '-').toLatin1();
>       |                                                                                                                         ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:154:121: error: ‘QChar::QChar(char)’ is private within this context
>   154 |     QByteArray val = sender()->objectName().right(sender()->objectName().size() - (keyName.size() + 1)).replace('_', '-').toLatin1();
>       |                                                                                                                         ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:626:5: note: declared private here
>   626 |     QChar(char c) noexcept;
>       |     ^~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:155:42: error: invalid user-defined conversion from ‘QByteArray’ to ‘const char*’ [-fpermissive]
>   155 |     configSetString(keyName.constData(), val);
>       |                                          ^~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50,
>                  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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:469:5: note: candidate is: ‘QByteArray::operator QNoImplicitBoolCast() const’ (near match)
>   469 |     operator QNoImplicitBoolCast() const;
>       |     ^~~~~~~~
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:469:5: note:   no known conversion from ‘QNoImplicitBoolCast’ {aka ‘int’} to ‘const char*’
> /<<PKGBUILDDIR>>/maindialog.cpp:155:45: error: ‘QByteArray::operator QNoImplicitBoolCast() const’ is private within this context
>   155 |     configSetString(keyName.constData(), val);
>       |                                             ^
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:50,
>                  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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:469:5: note: declared private here
>   469 |     operator QNoImplicitBoolCast() const;
>       |     ^~~~~~~~
> In file included from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /<<PKGBUILDDIR>>/maindialog.h:50:53: note:   initializing argument 2 of ‘void MainDialog::configSetString(const char*, const char*)’
>    50 |   void configSetString(const char* key, const char* val);
>       |                                         ~~~~~~~~~~~~^~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::saveConfig()’:
> /<<PKGBUILDDIR>>/maindialog.cpp:169:42: error: ‘QString::QString(const QByteArray&)’ is private within this context
>   169 |   QString displayName = qgetenv("DISPLAY");
>       |                                          ^
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:974:5: note: declared private here
>   974 |     QString(const QByteArray &a);
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:175:75: error: ‘QString::QString(const char*)’ is private within this context
>   175 |   QDBusInterface iface(comptonServiceName, COMPTON_PATH, COMPTON_INTERFACE);
>       |                                                                           ^
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
>   973 |     QString(const char *ch);
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:175:75: error: ‘QString::QString(const char*)’ is private within this context
>   175 |   QDBusInterface iface(comptonServiceName, COMPTON_PATH, COMPTON_INTERFACE);
>       |                                                                           ^
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
>   973 |     QString(const char *ch);
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp:177:23: error: ‘QString::QString(const char*)’ is private within this context
>   177 |     iface.call("reset");
>       |                       ^
> 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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.cpp:21:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:973:5: note: declared private here
>   973 |     QString(const char *ch);
>       |     ^~~~~~~
> /<<PKGBUILDDIR>>/maindialog.cpp: In member function ‘void MainDialog::updateShadowColorButton()’:
> /<<PKGBUILDDIR>>/maindialog.cpp:216:6: error: ‘QString::QString(const char*)’ is private within this context
>   216 |   "}").arg(shadowColor_.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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDialog:1,
>                  from /<<PKGBUILDDIR>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.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>>/maindialog.h:24,
>                  from /<<PKGBUILDDIR>>/maindialog.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 = char [25]; B = QString; QConcatenable<QStringBuilder<A, B> >::type = QStringBuilder<char [25], QString>]’:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:118:56:   required from ‘T QStringBuilder<A, B>::convertTo() const [with T = QString; A = char [25]; B = QString]’
> /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 = char [25]; B = QString; QStringBuilder<A, B>::ConvertTo = QString]’
> /<<PKGBUILDDIR>>/maindialog.cpp:174:57:   required from here
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringbuilder.h:428:35: error: cannot convert ‘QChar*’ to ‘char*&’
>   428 |         QConcatenable<A>::appendTo(p.a, 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 = 25]’
>   318 |     static inline void appendTo(const char a[N], char *&out)
>       |                                                  ~~~~~~~^~~
> make[3]: *** [CMakeFiles/compton-conf.dir/build.make:219: CMakeFiles/compton-conf.dir/maindialog.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/compton-conf_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