summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-10-29 00:35:35 -0400
committerXavier Claessens <xclaesse@gmail.com>2023-11-05 17:41:34 -0500
commit87480bc497bc18587563556e49e1956f8f512e49 (patch)
tree231ae38639f03643566988d8e4579e5dc3823e8f /ci
parent9aa14eb013df80ab68d1b63c039e599b558ea6e6 (diff)
downloadmeson-87480bc497bc18587563556e49e1956f8f512e49.tar.gz
gnome module: fix invalid find_tool variable contents causing crash
If a tool that is looked up in a .pc file is supposed to be there and has a pkg-config variable entry, but the value is incorrect, we can't actually use it. Since commit ab3d02066c91974922948f8b8b0fc944875d1a90 we actually do run the ExternalProgram search procedure on it though -- which caused it to go wonky and return a None if it doesn't exist, instead of containing a path to a program that does not exist and fails at build time. This is better in the case where searching helps resolve .exe file extensions -- and worse in the case where patches to the dependency means nothing we do is ever enough to actually find what is expected, since now we crash. Raise an explicit error in such a case, pointing out that the dependency itself is broken and needs a distributor-side resolution. Fixes #12412
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions