New issue
Advanced search Search tips

Issue 917462 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug
Build-Toolchain

Blocking:
issue 874977



Sign in to add a comment

GCC failing to build

Project Member Reported by manojgupta@chromium.org, Dec 21

Issue description

GCC is failing to build in llvm-next builders and also my local chroot.

Seems to be related to portage upgrade.


https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8926506527814554624

 * Log: /var/log/portage/cross-x86_64-cros-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...Calculating dependencies  ... done!

!!! All ebuilds that could satisfy "cross-x86_64-cros-linux-gnu/gcc" have been masked.
!!! One of the following masked packages is required to complete your request:
- cross-x86_64-cros-linux-gnu/gcc-9999::crossdev (masked by: missing keyword, invalid: DEPEND: USE flag 'test' referenced in conditional 'test?' is not in IUSE)
- cross-x86_64-cros-linux-gnu/gcc-4.9.2-r198::crossdev (masked by: invalid: DEPEND: USE flag 'test' referenced in conditional 'test?' is not in IUSE)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



 * error: gcc failed :(
 * 
 
Cc: allenwebb@google.com
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 21

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

commit 2ca45c68049e4408db6b70f3a83bd881374bb4e5
Author: Manoj Gupta <manojgupta@google.com>
Date: Fri Dec 21 20:12:35 2018

gcc: Add test use flag.

Fixes the following error reported by portage:
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-9999::chromiumos (masked by: missing keyword, invalid: DEPEND: USE flag 'test' referenced in conditional 'test?' is
not in IUSE)
- sys-devel/gcc-4.9.2-r198::chromiumos (masked by: invalid: DEPEND: USE flag 'test' referenced in conditional 'test?' is not in
IUSE)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

Note: There is another tests flag but does not seem to be same as test
in behavior.

BUG= chromium:917462 
TEST=no more portage complains.

Change-Id: I94835d035c305a30edab0a06abb1fadac7ed5159
Reviewed-on: https://chromium-review.googlesource.com/c/1388330
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Trybot-Ready: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: Allen Webb <allenwebb@google.com>

[modify] https://crrev.com/2ca45c68049e4408db6b70f3a83bd881374bb4e5/sys-devel/gcc/gcc-9999.ebuild

Blocking: 874977
Owner: manojgupta@chromium.org
Status: Fixed (was: Untriaged)

Sign in to add a comment