New issue
Advanced search Search tips

Issue 814066 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

'cros_sdk --create' is failing because of incorrect python dependencies

Project Member Reported by adityakali@google.com, Feb 21 2018

Issue description

Not sure if somehow my dev environment is messed up, but this seems to be happening everytime I try to create a new chroot.
(existing sdk chroots are fine).

$ cros_sdk --create
...
INFO    cros_sdk:make_chroot: Updating python
 * Generating locale-archive: forcing # of jobs to 1

Performing Global Updates
(Could take a couple of minutes if you have a lot of binary packages.)


 * ERROR: chromeos-base/update_payload-0.0.1-r46::chromiumos failed (depend phase):
 *   Invalid implementation in PYTHON_COMPAT: python3_6
 * 
 * Call stack:
 *                         ebuild.sh, line 624:  Called source '/mnt/host/source/src/third_party/chromiumos-overlay/chromeos-base/update_payload/update_payload-0.0.1-r46.ebuild'
 *   update_payload-0.0.1-r46.ebuild, line  14:  Called inherit 'cros-workon' 'python-r1'
 *                         ebuild.sh, line 320:  Called __qa_source '/mnt/host/source/src/third_party/portage-stable/eclass/python-r1.eclass'
 *                         ebuild.sh, line 120:  Called source '/mnt/host/source/src/third_party/portage-stable/eclass/python-r1.eclass'
 *                  python-r1.eclass, line 210:  Called _python_set_globals
 *                  python-r1.eclass, line 172:  Called _python_set_impls
 *            python-utils-r1.eclass, line 115:  Called _python_impl_supported 'python3_6'
 *            python-utils-r1.eclass, line  83:  Called die
 * The specific snippet of code:
 *   			die "Invalid implementation in PYTHON_COMPAT: ${impl}"
 * 
 * If you need support, post the output of `emerge --info '=chromeos-base/update_payload-0.0.1-r46::chromiumos'`,
 * the complete build log and the output of `emerge -pqv '=chromeos-base/update_payload-0.0.1-r46::chromiumos'`.
 * Working directory: '/usr/lib64/python2.7/site-packages'
 * S: '/var/tmp/portage/chromeos-base/update_payload-0.0.1-r46/work/update_payload-0.0.1'



[ebuild  N    ] app-admin/eselect-python-20140125 
[ebuild  NS   ] dev-lang/python-3.3.5-r1 [2.7.10-r2, 3.4.7] USE="gdbm hardened ipv6 ncurses readline sqlite ssl threads xml -build -doc -examples -tk -wininst" 
[blocks B     ] app-admin/eselect-python ("app-admin/eselect-python" is blocking app-eselect/eselect-python-20140125-r1)

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

  (app-admin/eselect-python-20140125:0/0::portage-stable, ebuild scheduled for merge) pulled in by
    app-admin/eselect-python required by (dev-lang/python-3.3.5-r1:3.3/3.3::portage-stable, ebuild scheduled for merge)

  (app-eselect/eselect-python-20140125-r1:0/0::portage-stable, installed) pulled in by
    app-eselect/eselect-python required by (dev-lang/python-2.7.10-r2:2.7/2.7::chromiumos, installed)

Running ['/usr/local/google/clients/gci/lakitu1/src/scripts/sdk_lib/make_chroot.sh', '--stage3_path', '/usr/local/google/clients/gci/lakitu1/.cache/sdks/cros-sdk-2018.02.19.155117.tar.xz', '--chroot', '/usr/local/google/clients/gci/lakitu1/chroot', '--cache_dir', '/usr/local/google/clients/gci/lakitu1/.cache'] failed!


Assigning to current infra deputy. Please help redirect as appropriate.

 
I believe that if you repo sync this will be resolved. My guess is that you sync'd part of the tree, but not all of it?
Owner: adityakali@google.com

Comment 3 by aga...@chromium.org, Feb 21 2018

Components: -Infra>SDK Infra>Client>ChromeOS
Status: WontFix (was: Untriaged)
Yeah, I had several errors during repo sync.
Resolving them helped. Sorry for the noise. Thanks!

Sign in to add a comment