New issue
Advanced search Search tips

Issue 918017 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Feature



Sign in to add a comment

portage: Update eclass files to allow for EAPI 7

Project Member Reported by cjmcdonald@chromium.org, Dec 27

Issue description

Many of the eclass files in portage-stable aren't recent enough to include support for EAPI 7 and die with "Unsupported EAPI version" if used in a EAPI 7 ebuild. We should update our eclass files to more current upstream versions to allow usage of EAPI 7.

Known eclass files that need to be updated:

distutils-r1
multibuild
udev

Updated:
python-r1
python-any-r1
python-single-r1
 
Labels: OS-Chrome Pri-3 Type-Feature
Do we have to worry about the EAPI 5 ceiling for bootstrapping the SDK?
usually eclasses add optional support for EAPI 7 and don't drop support for EAPI 5, so upgrading them shouldn't be a problem

Comment 4 Deleted

Comment 5 Deleted

Description: Show this description
Project Member

Comment 7 by bugdroid1@chromium.org, Jan 10

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

commit 3f2f2c6c248384df461add2dce9967ebe7dca867
Author: Chris McDonald <cjmcdonald@chromium.org>
Date: Thu Jan 10 03:52:13 2019

graphyte, webplot: Bump ebuild EAPI version

EAPI 4 is too old for updated versions of python eclass files and these
ebuilds are simple enough to work fine with a version bump. Not bumping
this ebuild past EAPI 5 to maintain SDK stage0 compatibility.

BUG=chromium:918017
TEST=emerge graphyte

Change-Id: Idc3d7d05cd78aa0fdf10b6056de74eda2e488141
Reviewed-on: https://chromium-review.googlesource.com/1403374
Commit-Ready: Chris McDonald <cjmcdonald@chromium.org>
Tested-by: Chris McDonald <cjmcdonald@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/3f2f2c6c248384df461add2dce9967ebe7dca867/chromeos-base/graphyte/graphyte-9999.ebuild
[modify] https://crrev.com/3f2f2c6c248384df461add2dce9967ebe7dca867/chromeos-base/webplot/webplot-9999.ebuild

Project Member

Comment 8 by bugdroid1@chromium.org, Jan 10

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/e8fb0b77c69e30555ff97a3e1381fe424e4773c6

commit e8fb0b77c69e30555ff97a3e1381fe424e4773c6
Author: Chris McDonald <cjmcdonald@chromium.org>
Date: Thu Jan 10 12:49:55 2019

Update python eclass files for EAPI7

BUG=chromium:918017
TEST=None
CQ-DEPEND=CL:1403374

Change-Id: I57feed4298c04f8932a7edc609f9cb1bfa266f22
Reviewed-on: https://chromium-review.googlesource.com/1400975
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Chris McDonald <cjmcdonald@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/e8fb0b77c69e30555ff97a3e1381fe424e4773c6/eclass/python-any-r1.eclass
[modify] https://crrev.com/e8fb0b77c69e30555ff97a3e1381fe424e4773c6/eclass/python-r1.eclass
[modify] https://crrev.com/e8fb0b77c69e30555ff97a3e1381fe424e4773c6/eclass/python-single-r1.eclass

Project Member

Comment 9 by bugdroid1@chromium.org, Jan 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/2e822f1ea287f1ab73bf5710cd2aeb285c1f9433

commit 2e822f1ea287f1ab73bf5710cd2aeb285c1f9433
Author: Allen Webb <allenwebb@google.com>
Date: Tue Jan 15 10:54:46 2019

eapi7-ver: Add the eapi7-ver.eclass from upstream

BUG=chromium:918017
TEST=sudo emerge imagemagic

Change-Id: I08eee8c6ab6a6b657776cabfda887417370a0057
Reviewed-on: https://chromium-review.googlesource.com/1410157
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/2e822f1ea287f1ab73bf5710cd2aeb285c1f9433/eclass/eapi7-ver.eclass

Project Member

Comment 10 by bugdroid1@chromium.org, Jan 17 (6 days ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/1c1e712b566a1930fddbbcf1d3c11f192f85c801

commit 1c1e712b566a1930fddbbcf1d3c11f192f85c801
Author: Allen Webb <allenwebb@google.com>
Date: Thu Jan 17 02:39:51 2019

elt-patches: upgraded package to upstream

Upgraded app-portage/elt-patches to version 20170815 on amd64

This is required to upgrade the libtool eclass.

BUG=chromium:918017
TEST=precq passes

Change-Id: I5a4050dbe0de7f31c9ceeb1baa6b08dc886a3b84
Reviewed-on: https://chromium-review.googlesource.com/1413032
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/1c1e712b566a1930fddbbcf1d3c11f192f85c801/metadata/md5-cache/app-portage/elt-patches-20170815
[rename] https://crrev.com/1c1e712b566a1930fddbbcf1d3c11f192f85c801/app-portage/elt-patches/elt-patches-20170815.ebuild
[delete] https://crrev.com/37f04a3e42fe6fa64be595428ae5b748ab915d26/metadata/md5-cache/app-portage/elt-patches-20170317
[modify] https://crrev.com/1c1e712b566a1930fddbbcf1d3c11f192f85c801/app-portage/elt-patches/Manifest

Project Member

Comment 11 by bugdroid1@chromium.org, Jan 19 (3 days ago)

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

commit 28e90675cf888000678b0bcdb5a0efdf1bbc7a27
Author: Allen Webb <allenwebb@google.com>
Date: Sat Jan 19 08:14:07 2019

chromeos: Add elt-patches to packages.provided for new libtool.eclass

The new upstream libtool.eclass depends on elt-patches being at least a
certain version. This package only needs to be present on the builder
though so adding it to packages.provided to resolve a circular
dependency.

BUG=chromium:918017
TEST=build_packages --board=${BOARD}

Change-Id: Ieded8a035d7d4275f86693ea74c4c504f72bdc23
Reviewed-on: https://chromium-review.googlesource.com/1421859
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/28e90675cf888000678b0bcdb5a0efdf1bbc7a27/profiles/targets/chromeos/package.provided

Project Member

Comment 12 by bugdroid, Today (96 minutes ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f

commit 78233cb13f0f1b4550a2576bfc2d4b621a19fa4f
Author: Allen Webb <allenwebb@google.com>
Date: Wed Jan 23 05:05:18 2019

Updated the libtool eclass.

CQ-DEPEND=CL:1421859
BUG=chromium:918017
TEST=sudo emerge libtasn1

Change-Id: Ide77a8b1a588b6da17192b8114505267697d2d05
Reviewed-on: https://chromium-review.googlesource.com/1413033
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f/eclass/libtool.eclass

Project Member

Comment 14 by bugdroid, Today (75 minutes ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f

commit 78233cb13f0f1b4550a2576bfc2d4b621a19fa4f
Author: Allen Webb <allenwebb@google.com>
Date: Wed Jan 23 05:05:18 2019

Updated the libtool eclass.

CQ-DEPEND=CL:1421859
BUG=chromium:918017
TEST=sudo emerge libtasn1

Change-Id: Ide77a8b1a588b6da17192b8114505267697d2d05
Reviewed-on: https://chromium-review.googlesource.com/1413033
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f/eclass/libtool.eclass

Project Member

Comment 16 by bugdroid, Today (53 minutes ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f

commit 78233cb13f0f1b4550a2576bfc2d4b621a19fa4f
Author: Allen Webb <allenwebb@google.com>
Date: Wed Jan 23 05:05:18 2019

Updated the libtool eclass.

CQ-DEPEND=CL:1421859
BUG=chromium:918017
TEST=sudo emerge libtasn1

Change-Id: Ide77a8b1a588b6da17192b8114505267697d2d05
Reviewed-on: https://chromium-review.googlesource.com/1413033
Commit-Ready: Allen Webb <allenwebb@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/78233cb13f0f1b4550a2576bfc2d4b621a19fa4f/eclass/libtool.eclass

Sign in to add a comment