New issue
Advanced search Search tips

Issue 776343 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Oct 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

cannot build Chromium from source inside ChromeOS

Reported by dave.rod...@arm.com, Oct 19 2017

Issue description

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

Steps to reproduce the problem:
1. enter chroot
2. cros_workon --board=kevin start chromeos-chrome
3. cros_workon_make --board=kevin chromeos-chrome

What is the expected behavior?
Chromium should build

What went wrong?
It immediately fails with the following error:

WARNING : Cleaning up stale workdir: /build/kevin/tmp/portage/chromeos-base/chromeos-chrome-9999/work/chromeos-chrome-9999
Error(s) in metadata for 'chromeos-base/chromeos-chrome-9999':
  REQUIRED_USE: Operator '??' is not supported with EAPI '4'

This appears to be be due to the change made in

https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/726267

Did this work before? N/A 

Chrome version: 62.0.3202.45  Channel: n/a
OS Version: 
Flash Version:
 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/b634d8fa75ec90712581f44d6dc0a4f16f99afb8

commit b634d8fa75ec90712581f44d6dc0a4f16f99afb8
Author: Dave Rodgman <dave.rodgman@arm.com>
Date: Thu Oct 19 17:09:08 2017

Fix error in chromeos-chrome ebuild

This fixes use of EAPI=5 syntax (the ?? operator) in an ebuild
which is labelled as EAPI=4. This was causing the build to fail.

BUG= chromium:776343 
TEST=None

Change-Id: Ife154ccf746a0b0555084c415f31b94ac12b6938
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Reviewed-on: https://chromium-review.googlesource.com/727892
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/b634d8fa75ec90712581f44d6dc0a4f16f99afb8/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild

Status: Fixed (was: Unconfirmed)
Project Member

Comment 3 by bugdroid1@chromium.org, Oct 31 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/fea5dc540d904160bf7db7508457c32bbe039ecb

commit fea5dc540d904160bf7db7508457c32bbe039ecb
Author: Dave Rodgman <dave.rodgman@arm.com>
Date: Tue Oct 31 13:04:49 2017

chromeos-chrome: tidy-up ebuild

This updates the ebuild to EAPI=5 and tidies up the REQUIRED_USE
flags with EAPI=5 syntax.

BUG= chromium:776343 
TEST=cros_workon_make --board=${BOARD} chromeos-chrome --reconf

Change-Id: I23fc87197e64b5aa04e675407f94c9ae17b1611a
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
Reviewed-on: https://chromium-review.googlesource.com/740021
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/fea5dc540d904160bf7db7508457c32bbe039ecb/chromeos-base/chromeos-chrome/chromeos-chrome-9999.ebuild

Comment 4 by dchan@chromium.org, Jan 22 2018

Status: archived (was: Fixed)

Comment 5 by dchan@chromium.org, Jan 23 2018

Status: Fixed (was: Archived)

Sign in to add a comment