commit:     f99af4631f3251f9e10cbd048ab8638e027fe1b2
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 16:08:52 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 16:13:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99af463

sys-libs/glibc: python pkg_setup fails during bootstrap.

Glibc-2.29 introduces a new python dependency for building. However,
during Prefix bootstrap, glibc has to be built before python.  The
dependency circle is broken by disabling pkg_setup() of
python-any-r1.eclass.

Bug: https://bugs.gentoo.org/682570
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sys-libs/glibc/glibc-2.29-r2.ebuild | 4 ++++
 sys-libs/glibc/glibc-9999.ebuild    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-libs/glibc/glibc-2.29-r2.ebuild 
b/sys-libs/glibc/glibc-2.29-r2.ebuild
index e675e2b5c14..0e1db7e3c85 100644
--- a/sys-libs/glibc/glibc-2.29-r2.ebuild
+++ b/sys-libs/glibc/glibc-2.29-r2.ebuild
@@ -719,6 +719,10 @@ pkg_pretend() {
        sanity_prechecks
 }
 
+pkg_setup() {
+       [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup
+}
+
 # src_unpack
 
 src_unpack() {

diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 478b5e5c9dc..ba1d5041cb7 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -720,6 +720,10 @@ pkg_pretend() {
        sanity_prechecks
 }
 
+pkg_setup() {
+       [[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup
+}
+
 # src_unpack
 
 src_unpack() {

Reply via email to