New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 600424 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

GN: Mac/is_component_build fails assertion, but no assertion message and wrong line number

Project Member Reported by mfo...@chromium.org, Apr 4 2016

Issue description

Version: Top of tree
OS: Mac OS X 10.11

What steps will reproduce the problem?
(1) gn args out/Default
(2) set is_component_build = true
(3) Wait for gn to try to generate Ninja files

What is the expected output?

Meaningful assertion message at the correct line number

What do you see instead?

[mfoltz@mfoltz-macpro /Users/mfoltz/chrome/src]$ gn args out/Default
Waiting for editor on "/Users/mfoltz/chrome/src/out/Default/args.gn"...
Waiting for Emacs...
Generating files...
ERROR at //chrome/BUILD.gn:254:5: Assertion failed.
    assert(false)
    ^-----

Please use labels and text to provide additional information.


NOTE:
There is no assertion message, or assertion statement at line 254 of chrome/BUILD.gn, so it's not easy to tell what config caused this problem.  Manual bisecting of args.gn points to "is_component_build" as the culprit.
 
 
Components: -Build
Labels: Build-Tools-GN
Cc: rsesek@chromium.org thakis@chromium.org brettw@chromium.org
Labels: -Build-Tools-GN
I'm not sure what file you're looking at, but the message points right at the error for me:

https://code.google.com/p/chromium/codesearch?q=chrome%2FBUILD.gn#chromium/src/chrome/BUILD.gn&l=254

you can't build chrome in component build on the mac yet. I thought we had a bug for this somewhere, but I'm not seeing it at the moment.
Status: WontFix (was: Untriaged)
c#2 looks good to me.  Not sure which file I was looking at when I filed the issue.

Sign in to add a comment