Debian Patches

Status for solid/5.107.0-1

Patch Description Author Forwarded Bugs Origin Last update
use_shortest_filepath.diff use_shortest_filepath Debian/Kubuntu Qt/KDE Maintainers <> no 2016-06-12
fix-FTBFS-on-mipsel-and-m68k-src-solid-predicate_parser.c.patch 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.
James Cowgill <> no 2016-11-30

All known versions for source package 'solid'