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

Issue 726810 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

flake in generating build

Project Member Reported by scottmg@chromium.org, May 26 2017

Issue description

[362b714...]c:\src\cr\src>tim cmd /c gn gen //out/Debug "--args=is_debug=true is_component_build=true enable_nacl=false is_chrome_branded=true symbol_level=2 target_cpu=\"x86\" is_win_fastlink=true is_clang=true win_console_app=true win_linker_timing=true use_goma=true" --check
ERROR Unresolved dependencies.
//media:media(//build/toolchain/win:clang_x86)
  needs //third_party/ffmpeg:ffmpeg_features(//build/toolchain/win:clang_x86)
//media/ffmpeg:ffmpeg(//build/toolchain/win:clang_x86)
  needs //third_party/ffmpeg:ffmpeg_features(//build/toolchain/win:clang_x86)

I only got this once. I pulled and sync'd again and it didn't repro, so I tried going back to the rev above (362b714), but it didn't repro there either, so seems a bit flaky.

Any GN changes that might cause this recently? Vaguely reminiscent of  crbug.com/674213 .

 

Comment 1 by thakis@chromium.org, May 26 2017

I'm getting this too:

thakis@thakis:~/src/chrome/src$ time ninja -C out/gnand6 chrome_public_apk -j1000
ninja: Entering directory `out/gnand6'
[1/1] Regenerating ninja files
FAILED: build.ninja 
/usr/local/google/home/thakis/src/chrome/src/buildtools/linux64/gn --root=/usr/local/google/home/thakis/src/chrome/src -q gen .
ERROR Unresolved dependencies.
//media:media(//build/toolchain/android:android_clang_arm)
  needs //third_party/ffmpeg:ffmpeg_features(//build/toolchain/android:android_clang_arm)
//media/ffmpeg:ffmpeg(//build/toolchain/android:android_clang_arm)
  needs //third_party/ffmpeg:ffmpeg_features(//build/toolchain/android:android_clang_arm)

ninja: error: rebuilding 'build.ninja': subcommand failed

Comment 3 by thakis@chromium.org, May 26 2017

In my case the explanation is that I just forgot to `gclient sync` after `git pull`, apparently.
Cc: thomasanderson@chromium.org
Don't see any GN changes recently.

Maybe the recent changes to exe_and_shlibs_deps triggered this somehow?
Huh, I'm 98.67% positive I didn't forget to sync. But the scrollback is gone, so I can't prove anything unfortunately.
Status: Fixed (was: Untriaged)
Assuming this is fixed now.

Sign in to add a comment