Closed issue by Pancakeblast on void-packages repository https://github.com/void-linux/void-packages/issues/38078 Description: ### Is this a new report? Yes ### System Info Void 5.18.9_1 x86_64 AuthenticAMD uptodate rFFFFFF ### Package(s) Affected sddm-0.19.0_3 ### Does a report exist for this bug with the project's home (upstream) and/or another distro? Issue: https://github.com/sddm/sddm/issues/1536 Link to fix/patch: https://github.com/sddm/sddm/commit/e93bf95c54ad8c2a1604f8d7be05339164b19308 ### Expected behaviour Package builds from cloned repo with ./xbps-src pkg sddm ### Actual behaviour Compilation fails with error: ``` [ 86%] Building CXX object src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o cd /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter && /usr/bin/c++ -DHAVE_JOURNALD -DHAVE_SYSTEMD -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DUSE_PAM -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter/sddm-greeter_autogen/include -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/common -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/common -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DNDEBUG -Wall -std=c++11 -fPIC -MD -MT src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -MF CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o.d -o CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -c /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter/ScreenModel.cpp /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp: In constructor 'SDDM::XorgDisplayServer::XorgDisplayServer(SDDM::Display*)': /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:68:42: error: use of deleted function 'QCharRef& QCharRef::operator=(char)' 68 | m_cookie[i] = digits[dis(gen)]; | ^ In file included from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtCore/QObject:1, from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/DisplayServer.h:24, from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.h:24, from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:21: /usr/include/qt5/QtCore/qstring.h:1236:15: note: declared here 1236 | QCharRef &operator=(char c) = delete; | ^~~~~~~~ ``` ### Steps to reproduce Build sddm from current template. Fail.