New issue
Advanced search Search tips

Issue 615631 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

How to build chromium-51.0.2704.63-lite?

Reported by zbos...@gmail.com, May 28 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Steps to reproduce the problem:
1. Download http://gsdview.appspot.com/chromium-browser-official/chromium-51.0.2704.63-lite.tar.xz

2. Try to build it with these flags:

$ cat include.gypi 
{
  'variables': {
    'target_arch': 'x64',
  }
}

$ cat oe-defaults.gypi 
{
  'variables': {
    'use_system_harfbuzz': 1,
    'use_system_fontconfig':1,
    'use_system_libjpeg':1,
    'use_libjpeg_turbo':1,
    'use_system_libxml':1,
    'use_system_zlib':1,
    'use_system_expat':1,
    'use_system_libexif':1,
    'disable_nacl': 1,
    'proprietary_codecs': 1,
    'v8_use_external_startup_data':1,
    'v8_use_snapshot': 'true',
    'use_system_ffmpeg': 0,
    'ffmpeg_branding': 'Chrome',
    'media_use_ffmpeg': 1,
    'media_use_libvpx': 1,
    'media_use_libwebm': 1,
    'linux_use_tcmalloc': 1,
    'linux_link_kerberos': 0,
    'use_kerberos': 0,
    'use_cups': 1,
    'use_gnome_keyring': 0,
    'linux_link_gnome_keyring': 0,
    'use_gconf': 0,
    'use_gio': 0,
  }, 
}

GYP_DEFINES='-Dangle_use_commit_id=0 -Dclang=0 -Dhost_clang=0 -Ddisable_fatal_linker_warnings=1 -Dlinux_use_gold_binary=0 -Dlinux_use_gold_flags=0 -Dwant_separate_host_toolset=0 -Duse_system_icu=1 -Dicu_use_data_file_flag=0 -Dv8_enable_vtunejit=0 -Dtest_isolation_mode="noop" '

3. Start build.

What is the expected behavior?
I don't know.

What went wrong?
Updating projects from gyp files...
Traceback (most recent call last):
  File "build/gyp_chromium", line 12, in <module>
    execfile(__file__ + '.py')
  File "build/gyp_chromium.py", line 341, in <module>
    sys.exit(main())
  File "build/gyp_chromium.py", line 328, in main
    gyp_rc = gyp.main(args)
  File "/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/tools/gyp/pylib/gyp/__init__.py", line 538, in main
    return gyp_main(args)
  File "/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/tools/gyp/pylib/gyp/__init__.py", line 514, in gyp_main
    options.duplicate_basename_check)
  File "/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/tools/gyp/pylib/gyp/__init__.py", line 130, in Load
    params['parallel'], params['root_targets'])
  File "/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/tools/gyp/pylib/gyp/input.py", line 2800, in Load
    RemoveLinkDependenciesFromNoneTargets(targets)
  File "/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/tools/gyp/pylib/gyp/input.py", line 1510, in RemoveLinkDependenciesFromNoneTargets
    if targets[t].get('variables', {}).get('link_dependency', 0):
KeyError: '/data/OE/setup-scripts/build/tmp-angstrom_v2014_06-eglibc/work/core2-64-sicom-linux/chromium-lite/51.0.2704.63-r6/chromium-51.0.2704.63/v8/src/d8.gyp:d8#host'

Did this work before? N/A 

Chrome version: 51.0.2704.63  Channel: n/a
OS Version: 
Flash Version: 

I am running this through a Bitbake recipe for Yocto to build chromium-lite but it shouldn't be a problem. The big brother, Chromium from the same version builds fine, except that that last few flags are not needed for it, because it contains the ICU and the vtunejit 3rd party codes built-in. These flags are omitted for Chromium:

-Dwant_separate_host_toolset=0 -Duse_system_icu=1 -Dicu_use_data_file_flag=0 -Dv8_enable_vtunejit=0 -Dtest_isolation_mode="noop" '

What else would be needed or what should be changed to make chromium-lite tree build?
 
Labels: Te-NeedsFurtherTriage
Components: Build
Status: WontFix (was: Unconfirmed)
Please, use chromium-dev https://groups.google.com/a/chromium.org/d/forum/chromium-dev for build related questions.

Sign in to add a comment