fix FTBFS on mipsel and m68k - src/solid/predicate_parser.c: No such file or directory In src/solid/CMakeLists.txt, the parser is generated using bison_target which uses add_custom_command under the hood. The output file is then added to the list of sources creating a file-level dependency from the KF5Solid target to the bison/flex generation command. However, the list of sources is later used as part of the KF5Solid_static target. Since file-level dependencies cannot cross between targets, the bison generation happens twice completely independently as part of the two targets. If you are very unlucky, the generation in one target can happen at the same time as the compilation of the parser in the other target causing a collision. This patch should fix that by putting the generation in a separate target and manually adding a dependency on it. This forces the parser to be generated before anything is compiled. Gbp-Pq: Name fix-FTBFS-on-mipsel-and-m68k-src-solid-predicate_parser.c.patch
%Solid is a device integration framework. It provides a way of querying and
interacting with hardware independently of the underlying operating system.
It provides the following features for application developers:
Hardware Discovery
Power Management
Network Management
Usage
If you are using CMake, you need to have
find_package(KF5Solid NO_MODULE)
(or similar) in your CMakeLists.txt file, and you need to link to KF5::Solid.