When running yay -S the-long-ass-name-of-the-package I get this:
[ 5%] Automatic MOC for target sierrabreeze
[ 5%] Built target sierrabreeze_autogen
[ 10%] Generating ui_breezeexceptionlistwidget.h
[ 15%] Generating breezesettings.h, breezesettings.cpp
[ 20%] Generating ui_breezeconfigurationui.h
[ 25%] Generating ui_breezedetectwidget.h
[ 30%] Generating ui_breezeexceptiondialog.h
Scanning dependencies of target sierrabreeze
[ 35%] Building CXX object CMakeFiles/sierrabreeze.dir/breezebutton.cpp.o
In file included from /usr/include/qt/QtGui/QColor:1,
from /usr/include/KF5/KConfigGui/kconfigskeleton.h:30,
from /home/buttars/SierraBreeze/build/SierraBreeze/build/breezesettings.h:7,
from /home/buttars/SierraBreeze/build/SierraBreeze/breeze.h:24,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezedecoration.h:25,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.h:26,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.cpp:23:
/usr/include/qt/QtGui/qcolor.h:78:39: error: expected ‘)’ before ‘name’
explicit inline QColor(QStringView name);
~ ^~~~~
)
/usr/include/qt/QtGui/qcolor.h:104:24: error: ‘QStringView’ has not been declared
void setNamedColor(QStringView name);
^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:233:30: error: ‘QStringView’ has not been declared
static bool isValidColor(QStringView) Q_DECL_NOTHROW;
^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:292:23: error: ‘int QColor::QColor’ is not a static data member of ‘class QColor’
inline QColor::QColor(QStringView aname)
^~~~~~~~~~~
/usr/include/qt/QtGui/qcolor.h:292:23: error: ‘QStringView’ was not declared in this scope
/usr/include/qt/QtGui/qcolor.h:292:23: note: suggested alternative: ‘QStringRef’
inline QColor::QColor(QStringView aname)
^~~~~~~~~~~
QStringRef
In file included from /usr/include/qt/QtGui/QImage:1,
from /usr/include/KDecoration2/kdecoration2/decorationshadow.h:27,
from /usr/include/KDecoration2/kdecoration2/decoration.h:24,
from /usr/include/KDecoration2/KDecoration2/Decoration:1,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezedecoration.h:28,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.h:26,
from /home/buttars/SierraBreeze/build/SierraBreeze/breezebutton.cpp:23:
/usr/include/qt/QtGui/qimage.h:220:5: error: ‘qsizetype’ does not name a type; did you mean ‘iswctype’?
qsizetype sizeInBytes() const;
^~~~~~~~~
iswctype
make[2]: *** [CMakeFiles/sierrabreeze.dir/build.make:87: CMakeFiles/sierrabreeze.dir/breezebutton.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:393: CMakeFiles/sierrabreeze.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The error also happens when I try to build manually.
When running yay -S the-long-ass-name-of-the-package I get this:
The error also happens when I try to build manually.