[pkg-lxqt-devel] Bug#876853: screengrab FTBFS: error: ambiguous overload for ‘operator!=’ (operand types are ‘QByteArray’ and =?UTF-8?Q?=E2=80=98QChar=E2=80=99?=)

Adrian Bunk bunk at debian.org
Tue Sep 26 11:17:43 UTC 2017


Source: screengrab
Version: 1.96-1
Severity: serious
Tags: buster sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/screengrab.html

...
/usr/bin/c++  -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DSG_DBUS_NOTIFY=\"1\" -DSG_DOCDIR=\"/usr/share/doc/screengrab\" -DSG_EXT_EDIT=\"1\" -DSG_EXT_UPLOADS=\"1\" -DSG_ICONPATH=\"/usr/share/pixmaps/screengrab.png\" -DVERSION="\"1.96  (2.0-beta1)\"" -DX11_XCB_FOUND=\"1\" -DXCB_SHAPE_FOUND=\"1\" -DXCB_XCB_FOUND=\"1\" -DXCB_XFOXES_FOUND=\"1\" -I/build/1st/screengrab-1.96/obj-x86_64-linux-gnu -I/build/1st/screengrab-1.96 -I/build/1st/screengrab-1.96/obj-x86_64-linux-gnu/screengrab_autogen/include -I/build/1st/screengrab-1.96/src -I/build/1st/screengrab-1.96/src/common/qkeysequencewidget/src -I/build/1st/screengrab-1.96/src/modules/uploader -I/build/1st/screengrab-1.96/src/modules/extedit -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++-64 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtX11Extras -isystem /usr/include/qt5xdg -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/qt5xdgiconloader -isystem /usr/include/qt5xdgiconloader/2.0.0 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Woverloaded-virtual -Wall -Wextra   -fPIC -std=gnu++11 -o CMakeFiles/screengrab.dir/qrc_screengrab.cpp.o -c /build/1st/screengrab-1.96/obj-x86_64-linux-gnu/qrc_screengrab.cpp
/build/1st/screengrab-1.96/src/core/core.cpp: In member function ‘void Core::sendSystemNotify(const StateNotifyMessage&)’:
/build/1st/screengrab-1.96/src/core/core.cpp:293:55: warning: unused parameter ‘notify’ [-Wunused-parameter]
 void Core::sendSystemNotify(const StateNotifyMessage &notify)
                                                       ^~~~~~
/build/1st/screengrab-1.96/src/core/ui/configwidget.cpp: In member function ‘void ConfigDialog::selectDir()’:
/build/1st/screengrab-1.96/src/core/ui/configwidget.cpp:327:33: error: ambiguous overload for ‘operator!=’ (operand types are ‘QByteArray’ and ‘QChar’)
         if (directory->toUtf8() != QDir::separator())
             ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qiodevice.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdatastream.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qregion.h:49,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/QKeyEvent:1,
                 from /build/1st/screengrab-1.96/src/core/ui/configwidget.cpp:19:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1264:13: note: candidate: bool QByteArray::operator!=(const QString&) const
 inline bool QByteArray::operator!=(const QString &s) const
             ^~~~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1624:13: note: candidate: bool operator!=(const QString&, QChar)
 inline bool operator!=(const QString &lhs, QChar rhs) Q_DECL_NOTHROW { return !(rhs == lhs); }
             ^~~~~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1199:32: note: candidate: bool operator!=(const char*, const QString&)
 inline QT_ASCII_CAST_WARN bool operator!=(const char *s1, const QString &s2)
                                ^~~~~~~~
CMakeFiles/screengrab.dir/build.make:268: recipe for target 'CMakeFiles/screengrab.dir/src/core/ui/configwidget.cpp.o' failed
make[3]: *** [CMakeFiles/screengrab.dir/src/core/ui/configwidget.cpp.o] Error 1


More information about the pkg-lxqt-devel mailing list