diff options
author | Joel Martin <github@martintribe.org> | 2019-08-29 09:27:35 -0500 |
---|---|---|
committer | Joel Martin <github@martintribe.org> | 2019-08-29 09:29:55 -0500 |
commit | 1291d52f3f36a8563170c59d7d3a1c55b32ba1b7 (patch) | |
tree | 0389494dbe1bb8b02e2ee329bde16fb30e7f1637 /python/servo/post_build_commands.py | |
parent | 39bd45529d6ef3eea8e0eeef77d0294e0db1b02c (diff) | |
download | servo-1291d52f3f36a8563170c59d7d3a1c55b32ba1b7.tar.gz servo-1291d52f3f36a8563170c59d7d3a1c55b32ba1b7.zip |
Call gstreamer_root with top_dir string, not func.
Commit 72e28dffcdf560543d312abc0ec4ff76b7c7dfaf introduced a build
regression on Linux when resolving the in-tree gstreamer libs.
The error:
------------------------------------
$ ./mach build --release
...
The details of the failure are as follows:
AttributeError: 'function' object has no attribute 'endswith'
File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/build_commands.py", line 237, in build
env = self.build_env(target=target, is_build=True)
File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 646, in build_env
if self.needs_gstreamer_env(target or host_triple(), env):
File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 574, in needs_gstreamer_env
if path.isdir(gstreamer_root(effective_target, env, self.get_top_dir)):
File "/data/joelm/personal/UTA/dissertation/servo/servo-master.git/python/servo/command_base.py", line 257, in gstreamer_root
return path.join(topdir, "support", "linux", "gstreamer", "gst")
File "/usr/lib/python2.7/posixpath.py", line 70, in join
elif path == '' or path.endswith('/'):
------------------------------------
The problem is that get_top_dir is being passed as a function to
gstreamer_root in a couple of places instead of being invoked first.
Diffstat (limited to 'python/servo/post_build_commands.py')
0 files changed, 0 insertions, 0 deletions