Closed GoogleCodeExporter closed 9 years ago
Which platform are you trying for?
Original comment by fbarch...@chromium.org
on 4 Apr 2014 at 5:41
I tried based linux, windows, osx and ios builds and didnt see that error.
Need more information.
Original comment by fbarch...@chromium.org
on 7 Apr 2014 at 7:17
linux platform
Original comment by zhoujiaz...@gmail.com
on 8 Apr 2014 at 7:05
I have set depot_tools path,and create a folder libyuv,
my platform is CentOS
cd libyuv
gclient config http://libyuv.googlecode.com/svn/trunk
gclient sync
Syncing projects: 94% (17/18), done.testing/gtest
________ running '/usr/bin/python trunk/build/cp.py trunk/../chromium_gn/.gn
trunk' in '/home/zjz126com/libyuv'
________ running 'download_from_google_storage --no_resume --platform=win32
--no_auth --bucket chromium-gn -s trunk/tools/gn/bin/win/gn.exe.sha1' in
'/home/zjz126com/libyuv'
________ running 'download_from_google_storage --no_resume --platform=darwin
--no_auth --bucket chromium-gn -s trunk/tools/gn/bin/mac/gn.sha1' in
'/home/zjz126com/libyuv'
________ running 'download_from_google_storage --no_resume --platform=linux*
--no_auth --bucket chromium-gn -s trunk/tools/gn/bin/linux/gn.sha1' in
'/home/zjz126com/libyuv'
0> Downloading trunk/tools/gn/bin/linux/gn...
Hook 'download_from_google_storage --no_resume '--platform=linux*' --no_auth
--bucket chromium-gn -s trunk/tools/gn/bin/linux/gn.sha1' took 15.74 secs
________ running 'download_from_google_storage --no_resume --platform=linux*
--no_auth --bucket chromium-gn -s trunk/tools/gn/bin/linux/gn32.sha1' in
'/home/zjz126com/libyuv'
0> Downloading trunk/tools/gn/bin/linux/gn32...
Hook 'download_from_google_storage --no_resume '--platform=linux*' --no_auth
--bucket chromium-gn -s trunk/tools/gn/bin/linux/gn32.sha1' took 16.64 secs
________ running '/usr/bin/python trunk/tools/clang/scripts/update.py
--if-needed' in '/home/zjz126com/libyuv'
________ running '/usr/bin/python trunk/gyp_libyuv' in '/home/zjz126com/libyuv'
Updating projects from gyp files...
Exception: invalid syntax (all.gyp, line 8)
Traceback (most recent call last):
File "/home/zjz126com/libyuv/trunk/tools/gyp/pylib/gyp/input.py", line 469, in CallLoadTargetBuildFile
includes, depth, check, False)
File "/home/zjz126com/libyuv/trunk/tools/gyp/pylib/gyp/input.py", line 359, in LoadTargetBuildFile
includes, True, check)
File "/home/zjz126com/libyuv/trunk/tools/gyp/pylib/gyp/input.py", line 216, in LoadOneBuildFile
build_file_data = CheckedEval(build_file_contents)
File "/home/zjz126com/libyuv/trunk/tools/gyp/pylib/gyp/input.py", line 161, in CheckedEval
ast = compiler.parse(file_contents)
File "/usr/lib64/python2.6/compiler/transformer.py", line 51, in parse
return Transformer().parsesuite(buf)
File "/usr/lib64/python2.6/compiler/transformer.py", line 128, in parsesuite
return self.transform(parser.suite(text))
File "<string>", line 8
^
SyntaxError: invalid syntax
Error: Command /usr/bin/python trunk/gyp_libyuv returned non-zero exit status 1
in /home/zjz126com/libyuv
is this lack of a file?
Original comment by zhoujiaz...@gmail.com
on 8 Apr 2014 at 8:00
Looks more like a python version issue?
Does webrtc or chromium build for you?
Did libyuv build for you on a previous version? If so, which?
For unbuntu I've had more success with 64 bit than 32 bit builds, and I'm using
the ninja build instructions from 'Getting Started'
Original comment by fbarch...@chromium.org
on 9 Apr 2014 at 5:01
I don't build webrtc and chromium
I don't build libyuv previous version
my python version is 2.6.6
Original comment by zhoujiaz...@gmail.com
on 11 Apr 2014 at 3:22
I have 2 possible solutions.
First the sync has been a bit broken lately, so start with a new client
solutions = [
{ "name" : "trunk",
"url" : "https://libyuv.googlecode.com/svn/trunk",
"deps_file" : "DEPS",
"managed" : True,
"custom_deps" : {
},
"safesync_url": "",
},
]
and do a
gclient sync
if it fails, you can try it with
gclient sync --nohooks
r1000 resolves some recent sync/runhooks issues.
then in the trunk folder use gyp_libyuv
previously we used chrome's ./build/gyp_chromium which the documentation still
refers to
tools/clang/scripts/update.sh
GYP_DEFINES="clang=0 target_arch=x64" ./gyp_libyuv -f ninja --depth=.
libyuv_test.gyp
ninja -j8 -C out/Debug
ninja -j8 -C out/Release
Original comment by fbarch...@chromium.org
on 12 Apr 2014 at 3:01
r1001/1002 update the documentation 'Getting Started'.
marking as fixed.
Original comment by fbarch...@chromium.org
on 30 Apr 2014 at 1:01
Original issue reported on code.google.com by
zhoujiaz...@gmail.com
on 4 Apr 2014 at 6:50