Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894468 - lxqt-base/lxqt-config-1.2.0 - /.../kscreen/config.h: error: std::optional has not been declared
Summary: lxqt-base/lxqt-config-1.2.0 - /.../kscreen/config.h: error: std::optional has...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Loong Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
: 894616 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-14 23:20 UTC by HougeLangley
Modified: 2023-02-16 19:24 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (lxqt-config-1.2.0-build-log.log,306.34 KB, text/x-log)
2023-02-14 23:20 UTC, HougeLangley
Details
emerge --info (emerge --info.log,6.53 KB, text/plain)
2023-02-14 23:22 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2023-02-14 23:20:48 UTC
Created attachment 851156 [details]
build.log

[248/438] /usr/bin/loongarch64-unknown-linux-gnu-g++ -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/var/tmp/portage/lxqt-base/lxqt-config-1.2.0/work/lxqt-config-1.2.0_build/lxqt-config-monitor -I/var/tmp/portage/lxqt-base/lxqt-config-1.2.0/work/lxqt-config-1.2.0/lxqt-config-monitor -I/var/tmp/portage/lxqt-base/lxqt-config-1.2.0/work/lxqt-config-1.2.0_build/lxqt-config-monitor/lxqt-config-monitor_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/qt5/QtSvg -isystem /usr/include/KF5/KScreen -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  -O2 -pipe -fno-exceptions -Wall -Wextra -Wchar-subscripts -Wno-long-long -Wpointer-arith -Wundef -Wformat-security -Wnon-virtual-dtor -Woverloaded-virtual -Wpedantic -fdiagnostics-color=always -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=c++14 -MD -MT lxqt-config-monitor/CMakeFiles/lxqt-config-monitor.dir/monitorwidget.cpp.o -MF lxqt-config-monitor/CMakeFiles/lxqt-config-monitor.dir/monitorwidget.cpp.o.d -o lxqt-config-monitor/CMakeFiles/lxqt-config-monitor.dir/monitorwidget.cpp.o -c /var/tmp/portage/lxqt-base/lxqt-config-1.2.0/work/lxqt-config-1.2.0/lxqt-config-monitor/monitorwidget.cpp
[31mFAILED: [0mlxqt-config-monitor/CMakeFiles/lxqt-config-monitor.dir/monitorwidget.cpp.o
Comment 1 HougeLangley 2023-02-14 23:22:04 UTC
Created attachment 851158 [details]
emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-14 23:25:06 UTC
If possible, can you ansifilter?

In make.conf, I have:
```
# https://bugs.gentoo.org/892850, https://gitlab.com/saalen/ansifilter/-/issues/29
# still needs -fdiagnostics-urls=never too
PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter -c; exec cat\""
```

with app-text/ansifilter installed.
Comment 3 Ghiunhan Mamut 2023-02-15 00:16:27 UTC
https://github.com/gentoo/gentoo/pull/29587 PR submitted
Comment 4 Chiitoo gentoo-dev 2023-02-15 07:29:01 UTC
I really wish I fixed this upstream and here already ages ago, when I first bumped into it... but time was not on our side!

Thanks for the report, as well as the PR!
Comment 5 HougeLangley 2023-02-15 08:29:40 UTC
(In reply to Sam James from comment #2)
> If possible, can you ansifilter?
> 
> In make.conf, I have:
> ```
> # https://bugs.gentoo.org/892850,
> https://gitlab.com/saalen/ansifilter/-/issues/29
> # still needs -fdiagnostics-urls=never too
> PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter -c; exec cat\""
> ```
> 
> with app-text/ansifilter installed.

Sorry for that, I will install later
Comment 6 HougeLangley 2023-02-15 08:30:03 UTC
(In reply to Chiitoo from comment #4)
> I really wish I fixed this upstream and here already ages ago, when I first
> bumped into it... but time was not on our side!
> 
> Thanks for the report, as well as the PR!

You are welcome
Comment 7 Chiitoo gentoo-dev 2023-02-16 07:18:22 UTC
*** Bug 894616 has been marked as a duplicate of this bug. ***
Comment 8 Chiitoo gentoo-dev 2023-02-16 18:49:29 UTC
Just making a note that there are actually two different issues visible in the log: missing kscreen includes, and an issue with C++ compatibility, both of which will be fixed by lxqt-build-tools-1.2.0-r1 and lxqt-config-1.2.0-r1.
Comment 9 Larry the Git Cow gentoo-dev 2023-02-16 19:24:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05b8a0768e6eee3c15d416114fc6c7fd002e8436

commit 05b8a0768e6eee3c15d416114fc6c7fd002e8436
Author:     V3n3RiX <venerix@koprulu.sector>
AuthorDate: 2023-02-15 23:53:40 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2023-02-16 19:16:21 +0000

    lxqt-base/lxqt-config: >=kde-plasma/kscreen-2.6.90 compatibility
    
    - https://github.com/lxqt/lxqt-config/pull/915
    
    Closes: https://bugs.gentoo.org/894468
    Closes: https://github.com/gentoo/gentoo/pull/29587
    Signed-off-by: Ghiunhan Mamut <venerix@redcorelinux.org>
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 .../files/lxqt-config-kscreen-52690.patch          | 83 ++++++++++++++++++++++
 lxqt-base/lxqt-config/lxqt-config-1.2.0-r1.ebuild  | 76 ++++++++++++++++++++
 2 files changed, 159 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d072a9f459d7bea68b571dc6497f82257b3ad9

commit 59d072a9f459d7bea68b571dc6497f82257b3ad9
Author:     V3n3RiX <venerix@koprulu.sector>
AuthorDate: 2023-02-15 23:45:40 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2023-02-16 19:16:17 +0000

    dev-util/lxqt-build-tools: bump the minimum C++ compatibility level
    
    - https://github.com/lxqt/lxqt-build-tools/pull/83
    
    Bug: https://bugs.gentoo.org/894468
    Signed-off-by: Ghiunhan Mamut <venerix@redcorelinux.org>
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 .../files/lxqt-build-tools-cpp17-standard.patch    | 30 ++++++++++++++++++++++
 .../lxqt-build-tools-0.12.0-r1.ebuild              | 30 ++++++++++++++++++++++
 2 files changed, 60 insertions(+)