Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

gclient runhooks Error #443

Open
vrotenberg opened this issue Jan 13, 2016 · 13 comments
Open

gclient runhooks Error #443

vrotenberg opened this issue Jan 13, 2016 · 13 comments

Comments

@vrotenberg
Copy link

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
Copy link
Author

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

@vrotenberg
Copy link
Author

Please anyone can help with this issue?

@rakuco
Copy link

rakuco commented Jan 14, 2016

What definitions are you passing to gyp?

@vrotenberg
Copy link
Author

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
Copy link
Author

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

@vrotenberg
Copy link
Author

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
Copy link
Author

So, there is no solution?

@joone
Copy link
Contributor

joone commented Jan 17, 2016

what gyp version are you using?

@vrotenberg
Copy link
Author

How can I know?

@vrotenberg
Copy link
Author

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

@joone
Copy link
Contributor

joone commented Jan 20, 2016

I use the same version.

@vrotenberg
Copy link
Author

Any suggestions? Please.

@vrotenberg
Copy link
Author

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants