Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2163842 - F38FailsToInstall: lxqt-config
Summary: F38FailsToInstall: lxqt-config
Alias: None
Product: Fedora
Classification: Fedora
Component: lxqt-config
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F38FailsToInstall
TreeView+ depends on / blocked
Reported: 2023-01-24 14:01 UTC by Fedora Fails To Install
Modified: 2023-02-04 02:47 UTC (History)
7 users (show)

Fixed In Version: lxqt-config-1.2.0-3.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-02-02 06:49:53 UTC
Type: ---

Attachments (Terms of Use)

Description Fedora Fails To Install 2023-01-24 14:01:43 UTC

Please note that this comment was generated automatically by
If you feel that this output has mistakes, please open an issue at

Your package (lxqt-config) Fails To Install in Fedora 38:

can't install lxqt-config:
  - nothing provides 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 (, 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:


Comment 1 Adam Williamson 2023-01-29 17:50:46 UTC
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...

Comment 2 Zamir SUN 2023-01-30 02:16:59 UTC
I'm just back from holiday and will take a look over the upcoming weekends.

Comment 3 Mamoru TASAKA 2023-02-02 06:49:53 UTC
> 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: .

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 .

Fixed in lxqt-config-1.2.0-3.fc38 , because currently this issue is breaking LXQT livespin compose.

Comment 4 Zamir SUN 2023-02-04 02:47:38 UTC
Oh great, thanks for your help!

Note You need to log in before you can comment on or make changes to this bug.