Re: [cros-dev] Borked gclient sync in cros chrome-sdk

21 views
Skip to first unread message

Mike Frysinger

unread,
Feb 24, 2015, 7:04:47 PM2/24/15
to Steve ꔚ McKay, chromium-dev
[ chromium-os-dev -> chromium-dev ]

pretty much every question that involves simple chrome should be posted to chromium-dev@.  especially when you start talking about running gyp.
-mike

On Tue, Feb 24, 2015 at 6:59 PM, 'Steve ꔚ McKay' via Chromium OS dev <chromiu...@chromium.org> wrote:
Esteemed ChromeOS colleagues (and your handsome families),

It appears I have a perma-borked checkout in-so-far as not being able to run `gclient runhooks` from inside `cros chrome-sdk` shell.

Background: I was doing a binary search for the cause of an issue (unrelated issue) I saw after pulling this morning.

End result: *any* revision checked out in master, and no local changes, gclient sync always fails (details below if you're interested).

FACTOID #1: gclient sync runs just fine outside of the cros chrome-sdk shell.

FACTOID #2: It might be looking like gyp is croaking on what looks to be an android specific target. `tools/imagediff/image_diff.gyp:image_diff#host` but I'm no gyp master, so I can't say for sure.

Any advice would be appreciated.


Details for the dauntless:

GYP_DEFINES in the cros chrome-sdk shell:

use_ozone=0 remoting=1 branding=Chrome clang=0 use_brlapi=1 linux_use_gold_flags=1 chromeos=1 linux_use_debug_fission=0 use_vtable_verify=0 use_xi2_mt=2 host_clang=1 use_cups=0 gomadir=/usr/local/google/home/smckay/srcs/chromium/.cros_cache/common/goma+2 use_evdev_gestures=0 use_goma=1 release_extra_cflags=-g internal_gles2_conform_tests=1 linux_link_libbrlapi=1 use_gnome_keyring=0 sysroot=/usr/local/google/home/smckay/srcs/chromium/.cros_cache/chrome-sdk/tarballs/lumpy+6818.0.0+sysroot_chromeos-base_chromeos-chrome.tar.xz system_libdir=lib64 buildtype=Official use_v4l2_codec=1 use_xkbcommon=0 use_cras=1 linux_sandbox_path=/opt/google/chrome/chrome-sandbox linux_use_bundled_binutils=0 swig_defines=-DOS_CHROMEOS use_v4lplugin=0 linux_use_bundled_gold=0 icu_use_data_file_flag=1 target_arch=x64 strip_tests=1 internal_khronos_glcts_tests=1 pkg-config=pkg-config-parrot

The stack:

Updating projects from gyp files...
Traceback (most recent call last):
  File "src/build/gyp_chromium", line 322, in <module>
    gyp_rc = gyp.main(args)
  File "/usr/local/google/home/smckay/srcs/chromium/src/tools/gyp/pylib/gyp/__init__.py", line 526, in main
    return gyp_main(args)
  File "/usr/local/google/home/smckay/srcs/chromium/src/tools/gyp/pylib/gyp/__init__.py", line 502, in gyp_main
    params, options.check, options.circular_check)
  File "/usr/local/google/home/smckay/srcs/chromium/src/tools/gyp/pylib/gyp/__init__.py", line 129, in Load
    params['parallel'], params['root_targets'])
  File "/usr/local/google/home/smckay/srcs/chromium/src/tools/gyp/pylib/gyp/input.py", line 2756, in Load
    RemoveLinkDependenciesFromNoneTargets(targets)
  File "/usr/local/google/home/smckay/srcs/chromium/src/tools/gyp/pylib/gyp/input.py", line 1501, in RemoveLinkDependenciesFromNoneTargets
    if targets[t].get('variables', {}).get('link_dependency', 0):
KeyError: '/usr/local/google/home/smckay/srcs/chromium/src/tools/imagediff/image_diff.gyp:image_diff#host'
Error: Command /usr/bin/python src/build/gyp_chromium returned non-zero exit status 1 in /usr/local/google/home/smckay/srcs/chromium

--
Steve McKay | Eng. | smc...@google.com | 310-359-8331


--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en


Mike Frysinger

unread,
Feb 24, 2015, 11:07:50 PM2/24/15
to Steve ꔚ McKay, chromium-dev
Reply all
Reply to author
Forward
0 new messages