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

Issue 627974 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

chromiumos-sdk buildbot failing

Project Member Reported by rahulchaudhry@chromium.org, Jul 13 2016

Issue description

The bot is here: https://uberchromegw.corp.google.com/i/chromiumos/builders/chromiumos-sdk

Last successful run was on 6/30.

Failure has something to do with ncurses dependency and slot change:

[blocks B      ] <=sys-libs/ncurses-5.9-r4:5 ("<=sys-libs/ncurses-5.9-r4:5" is blocking sys-libs/ncurses-5.9-r5)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-libs/ncurses-5.9-r3:5/5::gentoo, installed) pulled in by
    >=sys-libs/ncurses-5.9-r3[abi_x86_64(-)] required by (sys-libs/readline-6.2_p5-r1:0/0::gentoo, installed)

  (sys-libs/ncurses-5.9-r5:0/5::portage-stable, ebuild scheduled for merge) pulled in by
    sys-libs/ncurses required by (sys-devel/gettext-0.18.3.2:0/0::gentoo, installed)
    >=sys-libs/ncurses-5.2 required by (dev-lang/python-2.7.10:2.7/2.7::chromiumos, installed)
    >=sys-libs/ncurses-5.2-r2 required by (app-shells/bash-4.2_p45:0/0::gentoo, installed)
    >=sys-libs/ncurses-5.2-r2 required by (sys-apps/util-linux-2.24.1-r3:0/0::gentoo, installed)
    >=sys-libs/ncurses-5.9-r3:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-libs/ncurses-5.9-r3:0=) required by (sys-devel/llvm-3.9_pre265926-r5:0/3.9_pre265926::chromiumos, ebuild scheduled for merge)
    sys-libs/ncurses required by (app-admin/eselect-1.4.1:0/0::gentoo, installed)
    sys-libs/ncurses:0= required by (dev-util/cmake-3.5.2-r1:0/0::portage-stable, ebuild scheduled for merge)
    >=sys-libs/ncurses-5.2-r2 required by (sys-apps/texinfo-4.13-r2:0/0::gentoo, installed)


I think the failure started with https://chromium-review.googlesource.com/#/c/349365: cmake: update to 3.5.2

 
Owner: shuqianz@chromium.org
Cc: sduvvuri@chromium.org dnojiri@chromium.org
Owner: yunlian@chromium.org
yunlian@, can you take a look? cc sheriffs
Cc: davidjames@chromium.org
Labels: Build
Status: unassigned (was: Untriaged)

The thing is that Yunlian is on vacation and I think he would be asking for the same help we are asking for. We don't understand the issue here.

We need help from one of the portage experts to solve this issue.
Mike is on Vacation.
I pinged David for help but he has not replied. Who else could help us with this?

THanks

Cc: yunlian@chromium.org
Owner: ----
Owner: chirantan@chromium.org
chirantan@ uploads a fix here: https://chromium-review.googlesource.com/#/c/360231/
There are two separate here:

- The first is that the llvm ebuild was out-of-date and was depending on ncurses being in slot 5 when it has now changed to slot 0.  This is what the CL in #5 is supposed to fix.

- The second is that it appears that sys-libs/ncurses-5.9-r3 (which uses slot 5) is already installed on the system, which is blocking the update to the newer version (which uses slot 0).

I'm guessing that the old version of ncurses is being installed by the stage3 tarball, which might be stale.  Where do the stage3 tarballs come from?  I see a reference to a cache_dir option in cros-sdk.py but I can't find where it gets set.
I found the cache_dir: <cros_checkout>/.cache/sdks and it seems to confirm my suspicions.  The sdk tarball in there is cros-sdk-2014.03.28.172717.tar.xz, which is super old.
Ok, I found the culprit.  We need to update BOOTSTRAP_LATEST_VERSION to something newer than "2014.09.18" in src/third_party/chromiumos-overlay/chromeos/binhost/host/sdk_version.conf

Comment 9 Deleted

Project Member

Comment 10 by bugdroid1@chromium.org, Jul 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/crosutils/+/af1b9500fc202f350db1cf7af92f38baabea8e99

commit af1b9500fc202f350db1cf7af92f38baabea8e99
Author: Chirantan Ekbote <chirantan@chromium.org>
Date: Thu Jul 14 18:29:16 2016

Fix chromiumos-sdk bot breakage

The version of ncurses in the stage3 tarball is too old and causes slot
conflicts when we try to setup the toolchains during a bootstrap.
Manually update ncurses to the latest version, which can gracefully handle
the slot changes.

BUG= chromium:627974 
TEST='cbuildbot --remote chromiumos-sdk' is green

Change-Id: Ib7e2c3836dc958ec65b695b1dc5eb3ed542b3667
Signed-off-by: Chirantan Ekbote <chirantan@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/360324
Reviewed-by: David James <davidjames@chromium.org>

[modify] https://crrev.com/af1b9500fc202f350db1cf7af92f38baabea8e99/sdk_lib/make_chroot.sh

Status: Fixed (was: Unassigned)
Status: Verified (was: Fixed)

Sign in to add a comment