Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ Your package (lxqt-config) Fails To Install in Fedora 38: can't install lxqt-config: - nothing provides libKF5Screen.so.7()(64bit) needed by lxqt-config-1.2.0-2.fc38.x86_64 If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks. P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock: $ mock -r fedora-38-x86_64 --config-opts mirrored=False install lxqt-config P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages Thanks!
Build fails against libkscreen-qt5-5.26.90-1.fc38: [ 50%] Building CXX object lxqt-config-brightness/CMakeFiles/lxqt-config-brightness.dir/main.cpp.o cd /builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-brightness && /usr/bin/g++ -DICON_DIR=\"/usr/share/icons/hicolor/48x48/apps\" -DLXQT_CONFIG_VERSION=\"1.2.0\" -DLXQT_DATA_DIR=\"/usr/share\" -DLXQT_ETC_XDG_DIR=\"/etc/xdg\" -DLXQT_GRAPHICS_DIR=\"/usr/share/lxqt/graphics\" -DLXQT_MAJOR_VERSION=\"1\" -DLXQT_MINOR_VERSION=\"2\" -DLXQT_PATCH_VERSION=\"0\" -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=\"1.2.0\" -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 -I/builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-brightness -I/builddir/build/BUILD/lxqt-config-1.2.0/lxqt-config-brightness -I/builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-brightness/lxqt-config-brightness_autogen/include -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtX11Extras -isystem /usr/include/lxqt -isystem /usr/include/lxqt/LXQt -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5 -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5xdg -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5xdgiconloader -isystem /usr/include/qt5xdgiconloader/3.10.0 -isystem /usr/include/qt5/QtSvg -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -DNDEBUG -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -MD -MT lxqt-config-brightness/CMakeFiles/lxqt-config-brightness.dir/main.cpp.o -MF CMakeFiles/lxqt-config-brightness.dir/main.cpp.o.d -o CMakeFiles/lxqt-config-brightness.dir/main.cpp.o -c /builddir/build/BUILD/lxqt-config-1.2.0/lxqt-config-brightness/main.cpp In file included from /usr/include/KF5/KScreen/KScreen/Config:1, from /builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-monitor/lxqt-config-monitor_autogen/EWIEGA46WW/../../../../lxqt-config-monitor/fastmenu.h:28, from /builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-monitor/lxqt-config-monitor_autogen/EWIEGA46WW/moc_fastmenu.cpp:10, from /builddir/build/BUILD/lxqt-config-1.2.0/redhat-linux-build/lxqt-config-monitor/lxqt-config-monitor_autogen/mocs_compilation.cpp:2: /usr/include/KF5/KScreen/kscreen/config.h:197:32: error: 'std::optional' has not been declared 197 | void adjustPriorities(std::optional<OutputPtr> keep = std::nullopt); | ^~~~~~~~ /usr/include/KF5/KScreen/kscreen/config.h:197:40: error: expected ',' or '...' before '<' token 197 | void adjustPriorities(std::optional<OutputPtr> keep = std::nullopt); | ^ I'm not sure if this is an issue in lxqt-config, libkscreen-qt5 or the compiler...
I'm just back from holiday and will take a look over the upcoming weekends.
> I'm not sure if this is an issue in lxqt-config, libkscreen-qt5 or the compiler... Actually in LXQtCompilerSettings.cmake in lxqt-build-tools, as discussed on: https://github.com/lxqt/lxqt-config/issues/903 https://github.com/lxqt/lxqt-build-tools/pull/83 . So as the above error message says, `/usr/include/KF5/KScreen/kscreen/config.h` now uses `std::optional` template, which is available with C++17 or above. However the above compilation uses `-std=c++14` , which is specified in LXQtCompilerSettings.cmake, so g++ cannot see `std::optional` definition. Then even if explicitly using `-std=c++17`, another header inclusion is now required due to libkscreen 5.26.90 change, as I proposed on https://github.com/lxqt/lxqt-config/pull/915 . Fixed in lxqt-config-1.2.0-3.fc38 , because currently this issue is breaking LXQT livespin compose.
Oh great, thanks for your help!