aboutsummaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-10-01 21:31:09 +1000
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-02 19:44:39 +0300
commit8d3fcb3dc4d7204a4646807f8b5191d79fb291e5 (patch)
treee107ff51fefa4a375aa867c91661d45314475712 /run_tests.py
parent48a5d17830820e4729d252fc33c26fb9dac66404 (diff)
downloadmeson-8d3fcb3dc4d7204a4646807f8b5191d79fb291e5.zip
meson-8d3fcb3dc4d7204a4646807f8b5191d79fb291e5.tar.gz
meson-8d3fcb3dc4d7204a4646807f8b5191d79fb291e5.tar.bz2
dependencies: account for frameworks without a Versions directory
Most apple system frameworks do not have a Versions directory in them at all. Fixes the following traceback: ... File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/interpreter.py", line 3063, in func_dependency d = self.dependency_impl(name, display_name, kwargs) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/interpreter.py", line 3110, in dependency_impl dep = dependencies.find_external_dependency(name, self.environment, kwargs) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2142, in find_external_dependency d = c() File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2004, in __init__ self.detect(name, paths) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2035, in detect incdir = self._get_framework_include_path(framework_path) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2065, in _get_framework_include_path self._get_framework_latest_version(path)) File "/Users/matt/Projects/cerbero/build/build-tools/lib/python3.7/site-packages/meson-0.51.999-py3.7.egg/mesonbuild/dependencies/base.py", line 2057, in _get_framework_latest_version return 'Versions/{}/Headers'.format(sorted(versions)[-1]._s) IndexError: list index out of range
Diffstat (limited to 'run_tests.py')
0 files changed, 0 insertions, 0 deletions