New issue
Advanced search Search tips

Issue 668831 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Nov 2016
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

macOS build failure "is_clang" in //build/toolchain/nacl_toolchain.gni:41:30 Clobbering existing value.

Reported by davec.b...@gmail.com, Nov 26 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Steps to reproduce the problem:
1. Pull chromium 54.0.2840.98 
2. Build
3. 

What is the expected behavior?
Completed Build

What went wrong?
/Volumes/hd2/src/chromium/src/buildtools/mac/gn --root=/Volumes/hd2/src/chromium/src -q gen //out/Default/
ERROR at //build/toolchain/nacl_toolchain.gni:41:30: Clobbering existing value.
                             "is_clang",
                             ^---------
The current scope already defines a value "is_clang".
forward_variables_from() won't clobber existing values. If you want to
merge lists, you'll need to do this explicitly.
See //build/config/BUILDCONFIG.gn:125:14: value being clobbered.
  is_clang = current_os == "mac" || current_os == "ios" ||
             ^--------------------------------------------
See //build/toolchain/nacl/BUILD.gn:63:3: whence it was called.
  nacl_toolchain(target_name) {
  ^----------------------------
See //build/toolchain/nacl/BUILD.gn:89:1: whence it was called.
pnacl_toolchain("newlib_pnacl") {
^--------------------------------
See //ppapi/BUILD.gn:385:7: which caused the file to be included.
      ":ppapi_nacl_tests_copy(//build/toolchain/nacl:clang_newlib_${target_cpu})",
      ^--------------------------------------------------------------------------
ninja: error: rebuilding 'build.ninja': subcommand failed

Did this work before? Yes 54.0.2840.71

Chrome version: 54.0.2840.98  Channel: stable
OS Version: OS X 10.12.1
Flash Version: Shockwave Flash 23.0 r0
 

Comment 1 by ajha@chromium.org, Nov 27 2016

Labels: Build-Toolchain
Owner: thakis@chromium.org
mac triage: thakis@, can you have a look at this?

Comment 3 by thakis@chromium.org, Nov 29 2016

Status: WontFix (was: Unconfirmed)
Is this with a local build? All bots are happy from what I can tell. What's your args.gn?

Since you're on 54 maybe caused by https://codereview.chromium.org/2219953002 somehow? Anyhoo we only support building trunk, and our branch builders seem happy.

sorry for the delay...This is a local build.

args.gn is below:

is_debug = false
is_component_build = false
symbol_level = 0 
remove_webcore_debug_symbols = true
is_official_build = true
#is_chrome_branded = false
#enable_pepper_cdms = true
enable_plugins = true
enable_plugin_installation = true
enable_webrtc = true
enable_widevine = true
is_multi_dll_chrome = false
ffmpeg_branding = "Chrome"
proprietary_codecs = true

Sign in to add a comment