While migrating to walnascar we get:
```
ERROR: plasma-mobile-6.3.4-r0 do_package_qa: QA Issue: File /usr/src/debug/plasma-mobile/6.3.4/components/mobileshellstate/mobileadaptor.h in package plasma-mobile-src contains reference to TMPDIR [buildpaths]
ERROR: plasma-mobile-6.3.4-r0 do_package_qa: Fatal QA errors were found, failing task.
```
Fix the path so that it's possible to do reproducible builds.
Plasma mobile uses plasma-open-settings from kde-cli-tools for
different things.
For example when opening the settings app from the quick settings
bar (top right of the screen) I currently get:
plasmashell[2201]: Executing "plasma-open-settings"
and nothing happens.
Adding a dependency on kde-cli-tools fixes the issue.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Rebuilt from scratch and got this error:
ERROR: plasma-mobile-6.2.4-r0 do_package: QA Issue: plasma-mobile: Files/directories were installed but not shipped in any package:
/usr/share/plasma/layout-templates
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/metadata.json
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultNavigationPanel/contents/layout.js
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/metadata.json
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents
/usr/share/plasma/layout-templates/org.kde.plasma.mobile.defaultStatusBar/contents/layout.js
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
plasma-mobile: 9 installed and not shipped files. [installed-vs-shipped]
ERROR: plasma-mobile-6.2.4-r0 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/temp/log.do_package.748258
ERROR: Task (/home/marc/dev/yocto/meta-kde/recipes-plasma/plasma-mobile_6.2.4.bb:do_package) failed with exit code '1'
Add the directory to FILES to fix the issue.
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
Rebuilt from scratch and got the following build failure:
| -- Could NOT find Qt6WaylandScannerTools (missing: Qt6WaylandScannerTools_DIR)
| CMake Warning at /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake:191 (find_package):
| Found package configuration file:
|
| /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake
|
| but it set Qt6WaylandClient_FOUND to FALSE so package "Qt6WaylandClient" is
| considered to be NOT FOUND. Reason given by package:
|
| Qt6WaylandClient could not be found because dependency
| Qt6WaylandScannerTools could not be found.
|
| Configuring with --debug-find-pkg=Qt6WaylandScannerTools might reveal
| details why the package was not found.
|
| Configuring with -DQT_DEBUG_FIND_PACKAGE=ON will print the values of some
| of the path variables that find_package uses to try and find the package.
|
| Call Stack (most recent call first):
| CMakeLists.txt:51 (find_package)
|
|
| CMake Error at CMakeLists.txt:51 (find_package):
| Found package configuration file:
|
| /home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6/Qt6Config.cmake
|
| but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
| FOUND. Reason given by package:
|
| Failed to find required Qt component "WaylandClient".
|
| Expected Config file at
| "/home/marc/dev/build/tmp/work/core2-64-poky-linux/plasma-mobile/6.2.4/recipe-sysroot/usr/lib/cmake/Qt6WaylandClient/Qt6WaylandClientConfig.cmake"
| exists
Adding qtwayland and qtwayland-native as build dependencies fixes the
issue.
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>
ERROR: plasma-mobile-6.2.4-r0 do_populate_lic: QA Issue: plasma-mobile: The LIC_FILES_CHKSUM does not match for file://LICENSES/LGPL-3.0-only.txt;md5=8d51f5b5fd447f7a1040c3dc9f0a8de6
plasma-mobile: The new md5 checksum is 1a523aee720780ffc0705c5bf17a6421
Caused by commit: eb9509ce68f2f92ac8ed8426bde0c95330805def
Signed-off-by: Marc Ferland <marc.ferland@gmail.com>