intel / ozone-wayland

Wayland implementation for Chromium Ozone classes
BSD 3-Clause "New" or "Revised" License
218 stars 82 forks source link

gclient runhooks Error #443

Open vrotenberg opened 8 years ago

vrotenberg commented 8 years ago

Hello! When I run gclient runhooks I have error: Traceback (most recent call last): File "src/build/gyp_chromium", line 12, in execfile(file + '.py') File "src/build/gyp_chromium.py", line 336, in sys.exit(main()) File "src/build/gyp_chromium.py", line 323, in main gyp_rc = gyp.main(args) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/init.py", line 538, in main return gyp_main(args) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/init.py", line 523, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/generator/ninja.py", line 2412, in GenerateOutput pool.map(CallGenerateOutputForConfig, arglists) File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map return self.map_async(func, iterable, chunksize).get() File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get raise self._value AssertionError: make_global_settings needs to be the same for all targets. [] vs. [['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'], ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'], ['CC.host', '$(CC)'], ['CXX.host', '$(CXX)']] Error: Command '/usr/bin/python src/build/gyp_chromium' returned non-zero exit status 1 in /home/svadmin/chromium Please help!

vrotenberg commented 8 years ago

I am sorry to make duplicate issue. But please keep opened one of them.

vrotenberg commented 8 years ago

Please anyone can help with this issue?

rakuco commented 8 years ago

What definitions are you passing to gyp?

vrotenberg commented 8 years ago

I tried: export GYP_DEFINES='component=static_library use_ash=1 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1 proprietary_codecs=1 ffmpeg_branding=Chrome' and export GYP_DEFINES='component=static_library use_ash=1 use_aura=1 chromeos=0 use_ozone=1 use_xkbcommon=1 proprietary_codecs=1 ffmpeg_branding=Chrome target_arch=ia32'

The result is the same.

vrotenberg commented 8 years ago

I just followed the instructions here: https://github.com/01org/ozone-wayland

vrotenberg commented 8 years ago

While patching I have this message: Your branch is behind 'origin/master' by 4320 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Deleted branch master-ozone

After the patching I run ./build/gyp_chromium and always have this error:

When I run gclient runhooks I have error: Traceback (most recent call last): File "src/build/gyp_chromium", line 12, in execfile(file + '.py') File "src/build/gyp_chromium.py", line 336, in sys.exit(main()) File "src/build/gyp_chromium.py", line 323, in main gyp_rc = gyp.main(args) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/init.py", line 538, in main return gyp_main(args) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/init.py", line 523, in gyp_main generator.GenerateOutput(flat_list, targets, data, params) File "/home/svadmin/chromium/src/tools/gyp/pylib/gyp/generator/ninja.py", line 2412, in GenerateOutput pool.map(CallGenerateOutputForConfig, arglists) File "/usr/lib/python2.7/multiprocessing/pool.py", line 251, in map return self.map_async(func, iterable, chunksize).get() File "/usr/lib/python2.7/multiprocessing/pool.py", line 558, in get raise self._value AssertionError: make_global_settings needs to be the same for all targets. [] vs. [['CC', 'third_party/llvm-build/Release+Asserts/bin/clang'], ['CXX', 'third_party/llvm-build/Release+Asserts/bin/clang++'], ['CC.host', '$(CC)'], ['CXX.host', '$(CXX)']] Error: Command '/usr/bin/python src/build/gyp_chromium' returned non-zero exit status 1 in /home/svadmin/chromium Why?

vrotenberg commented 8 years ago

So, there is no solution?

joone commented 8 years ago

what gyp version are you using?

vrotenberg commented 8 years ago

How can I know?

vrotenberg commented 8 years ago

I ran gclient --version and got gclient.py 0.7

joone commented 8 years ago

I use the same version.

vrotenberg commented 8 years ago

Any suggestions? Please.

vrotenberg commented 8 years ago

./build/gyp_chromium is successful only if I previous run git checkout master. But build is failed :(