tsekityam / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Generation sometimes fails for iOS #408

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When generating a project for iOS, sometimes the output of "xcodebuild 
-version" ends up on the console, and the generation fails (if CLT have not 
been installed).

For exemple when generating chromium:
$ gclient runhooks

________ running '/usr/bin/python src/build/download_nacl_toolchains.py 
--no-arm-trusted --keep' in '${HOME}/chromium'
Can't find '${HOME}/chromium/src/native_client/build/download_toolchains.py'
Presumably you are intentionally building without NativeClient.
Skipping NativeClient toolchain download.

________ running '/usr/bin/python src/build/linux/install-arm-sysroot.py 
--linux-only' in '${HOME}/chromium'

________ running '/usr/bin/python 
src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py 
--linux-only --arch=amd64' in '${HOME}/chromium'

________ running '/usr/bin/python 
src/chrome/installer/linux/sysroot_scripts/install-debian.wheezy.sysroot.py 
--linux-only --arch=i386' in '${HOME}/chromium'

________ running '/usr/bin/python src/tools/clang/scripts/update.py --mac-only' 
in '${HOME}/chromium'
Clang already at 198389

________ running '/usr/bin/python src/build/util/lastchange.py -o 
src/build/util/LASTCHANGE' in '${HOME}/chromium'

________ running '/usr/bin/python src/build/util/lastchange.py -s 
src/third_party/WebKit -o src/build/util/LASTCHANGE.blink' in '${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 
--no_auth --bucket chromium-gn -s src/tools/gn/bin/win/gn.exe.sha1' in 
'${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin 
--no_auth --bucket chromium-gn -s src/tools/gn/bin/mac/gn.sha1' in 
'${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn.sha1' in 
'${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-gn -s src/tools/gn/bin/linux/gn32.sha1' in 
'${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=win32 
--no_auth --bucket chromium-clang-format -s 
src/third_party/clang_format/bin/win/clang-format.exe.sha1' in 
'${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=darwin 
--no_auth --bucket chromium-clang-format -s 
src/third_party/clang_format/bin/mac/clang-format.sha1' in '${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-clang-format -s 
src/third_party/clang_format/bin/linux/clang-format.sha1' in '${HOME}/chromium'

________ running 'download_from_google_storage --no_resume --platform=linux* 
--no_auth --bucket chromium-eu-strip -s src/build/linux/bin/eu-strip.sha1' in 
'${HOME}/chromium'

________ running '/usr/bin/python src/build/gyp_chromium' in '${HOME}/chromium'
Generating gyp files from GN...
Updating projects from gyp files...
Using overrides found in /Users/sdefresne/.gyp/include.gypi
Xcode 5.0.2
Build version 5A3005

INFO: Environment value for "CHROMIUM_GYP_FILE" overrides value in 
${HOME}/chromium/chromium.gyp_env.
INFO: Environment value for "GYP_DEFINES" overrides value in 
${HOME}/chromium/chromium.gyp_env.
INFO: Environment value for "GYP_GENERATOR_FLAGS" overrides value in 
${HOME}/chromium/chromium.gyp_env.
INFO: Environment value for "GYP_CROSSCOMPILE" overrides value in 
${HOME}/chromium/chromium.gyp_env.
INFO: Environment value for "GYP_GENERATORS" overrides value in 
${HOME}/chromium/chromium.gyp_env.
Running build/landmines.py...
Hook '/usr/bin/python src/build/gyp_chromium' took 97.25 secs

The two lines "Xcode 5.0.2" and "Build version 5A3005" should not be on the 
terminal.

Original issue reported on code.google.com by sdefresne@chromium.org on 18 Feb 2014 at 5:25

GoogleCodeExporter commented 9 years ago
https://codereview.chromium.org/170773002/

Original comment by sdefresne@chromium.org on 18 Feb 2014 at 5:30