Solid issueshttps://invent.kde.org/frameworks/solid/-/issues2023-08-23T11:24:24Zhttps://invent.kde.org/frameworks/solid/-/issues/4KF5 > KF6 Filename conflict2023-08-23T11:24:24ZJustin ZobelKF5 > KF6 Filename conflictIn a test upgrade this file conflicts:
```
/usr/bin/solid-power
```In a test upgrade this file conflicts:
```
/usr/bin/solid-power
```https://invent.kde.org/frameworks/solid/-/issues/35.82.0: test suite i sfailing2021-07-11T22:36:49ZTomasz Kloczko5.82.0: test suite i sfailingcmake configuration"
```
[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning wil...cmake configuration"
```
[tkloczko@barrel x86_64-redhat-linux-gnu]$ cmake -L
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory "/home/tkloczko/rpmbuild/BUILD/solid-5.82.0/x86_64-redhat-linux-gnu" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
APPSTREAMCLI:FILEPATH=/usr/bin/appstreamcli
BUILD_COVERAGE:BOOL=OFF
BUILD_DEVICE_BACKEND_fakehw:BOOL=ON
BUILD_DEVICE_BACKEND_fstab:BOOL=ON
BUILD_DEVICE_BACKEND_imobile:BOOL=ON
BUILD_DEVICE_BACKEND_udev:BOOL=ON
BUILD_DEVICE_BACKEND_udisks2:BOOL=ON
BUILD_DEVICE_BACKEND_upower:BOOL=ON
BUILD_QCH:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=ON
BUILD_TESTING:BOOL=ON
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
ECM_DIR:PATH=/usr/share/ECM/cmake
ECM_MKSPECS_INSTALL_DIR:PATH=lib64/qt5/mkspecs/modules
EXCLUDE_DEPRECATED_BEFORE_AND_AT:STRING=0
KDE_CLANG_FORMAT_EXECUTABLE:FILEPATH=/usr/bin/clang-format
KDE_INSTALL_PREFIX_SCRIPT:BOOL=OFF
KDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON
KDE_SKIP_UNINSTALL_TARGET:BOOL=OFF
MEDIAPLAYERINFO_PATH:PATH=/usr/share/media-player-info
QMAKE_EXECUTABLE:FILEPATH=/usr/bin/qmake
Qt5Concurrent_DIR:PATH=/usr/lib64/cmake/Qt5Concurrent
Qt5Core_DIR:PATH=/usr/lib64/cmake/Qt5Core
Qt5DBus_DIR:PATH=/usr/lib64/cmake/Qt5DBus
Qt5Gui_DIR:PATH=/usr/lib64/cmake/Qt5Gui
Qt5LinguistTools_DIR:PATH=/usr/lib64/cmake/Qt5LinguistTools
Qt5Network_DIR:PATH=/usr/lib64/cmake/Qt5Network
Qt5Qml_DIR:PATH=/usr/lib64/cmake/Qt5Qml
Qt5Test_DIR:PATH=/usr/lib64/cmake/Qt5Test
Qt5Xml_DIR:PATH=/usr/lib64/cmake/Qt5Xml
Qt5_DIR:PATH=/usr/lib64/cmake/Qt5
UDEV_DETAILED_OUTPUT:BOOL=OFF
UDEV_DISABLED:BOOL=OFF
WITH_NEW_POWER_ASYNC_API:BOOL=ON
WITH_NEW_POWER_ASYNC_FREEDESKTOP:BOOL=ON
WITH_NEW_SOLID_JOB:BOOL=ON
``
ctest output:
```
[tkloczko@barrel x86_64-redhat-linux-gnu]$ ctest --output-on-failure
Test project /home/tkloczko/rpmbuild/BUILD/solid-5.82.0/x86_64-redhat-linux-gnu
Start 1: appstreamtest
1/8 Test #1: appstreamtest .................... Passed 0.02 sec
Start 2: fakehardwaretest
2/8 Test #2: fakehardwaretest ................. Passed 0.04 sec
Start 3: solidhwtest
3/8 Test #3: solidhwtest ...................... Passed 0.04 sec
Start 4: solidmttest
4/8 Test #4: solidmttest ...................... Passed 0.52 sec
Start 5: solidjobtest
5/8 Test #5: solidjobtest ..................... Passed 0.03 sec
Start 6: solidpowertest
6/8 Test #6: solidpowertest ................... Passed 0.03 sec
Start 7: solidfreedesktopbackend
7/8 Test #7: solidfreedesktopbackend ..........***Failed 0.26 sec
"unix:abstract=/tmp/dbus-IeX86Sc1jw,guid=217334bd59ffbc8ab8e4051760c11461"
********* Start testing of solidFreedesktopTest *********
Config: Using QtTest library 5.15.2, Qt 5.15.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.1.1 20210428 (Red Hat 11.1.1-1)), fedora 35
PASS : solidFreedesktopTest::initTestCase()
PASS : solidFreedesktopTest::testAcPluggedJob()
FAIL! : solidFreedesktopTest::testAcPluggedChanged() Compared values are not the same
Actual (spy.count()): 1
Expected (2) : 2
Loc: [/home/tkloczko/rpmbuild/BUILD/solid-5.82.0/autotests/solidfreedesktoptest.cpp(73)]
PASS : solidFreedesktopTest::testAddInhibition()
PASS : solidFreedesktopTest::testSupportedStates()
PASS : solidFreedesktopTest::testRequestState()
PASS : solidFreedesktopTest::cleanupTestCase()
Totals: 6 passed, 1 failed, 0 skipped, 0 blacklisted, 198ms
********* Finished testing of solidFreedesktopTest *********
Start 8: logindinhibitionargument
8/8 Test #8: logindinhibitionargument ......... Passed 0.02 sec
88% tests passed, 1 tests failed out of 8
Total Test time (real) = 0.97 sec
The following tests FAILED:
7 - solidfreedesktopbackend (Failed)
```https://invent.kde.org/frameworks/solid/-/issues/2Build problems with KF 5.812021-06-09T19:20:30ZJulius KünzelBuild problems with KF 5.81On Kdenlive appimage and Craft, KF does not build because of an error at solid. It is fixed if you apply this patch https://invent.kde.org/multimedia/kdenlive/-/commit/534cea43ec512c1a6c179393f9cd8e40d9c7c2f3On Kdenlive appimage and Craft, KF does not build because of an error at solid. It is fixed if you apply this patch https://invent.kde.org/multimedia/kdenlive/-/commit/534cea43ec512c1a6c179393f9cd8e40d9c7c2f3https://invent.kde.org/frameworks/solid/-/issues/1Follow-up from "[Solid] Port foreach to range/index for"2023-03-27T08:16:40ZDavid FaureFollow-up from "[Solid] Port foreach to range/index for"The following discussion from !1 should be addressed:
- [ ] @dfaure started a [discussion](https://invent.kde.org/frameworks/solid/-/merge_requests/1#note_49179):
> The code iterates over this container from beginning to end, so t...The following discussion from !1 should be addressed:
- [ ] @dfaure started a [discussion](https://invent.kde.org/frameworks/solid/-/merge_requests/1#note_49179):
> The code iterates over this container from beginning to end, so the binary tree is completely overkill.
> A simple static const array of a struct would be much more efficient.
> But that would be for a different commit.