Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628096 - bootstrap-rap.sh fails in stage2 because app-portage/elt-patches has a new dependency to sys-apps/gentoo-functions
Summary: bootstrap-rap.sh fails in stage2 because app-portage/elt-patches has a new de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 13:22 UTC by Jens Lindenmeier
Modified: 2017-08-23 03:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Lindenmeier 2017-08-17 13:22:06 UTC
bootstrap-rap.sh has an problem with the introduction of a new dependency of app-portage/elt-patches, since app-portage/elt-patches-20170422.

Add dependency is to sys-apps/gentoo-functions, because now the lib/gentoo/functions.sh is required.

Note: precondition is the fix for EPREFIX and elt-patches:
https://bugs.gentoo.org/show_bug.cgi?id=627824

I patched the script in the following way and it works for rap:

$ diff -p bootstrap-rap.sh.orig bootstrap-rap.sh     
*** bootstrap-rap.sh.orig       2017-08-17 15:18:12.287095689 +0200
--- bootstrap-rap.sh    2017-08-17 13:52:47.556887321 +0200
*************** bootstrap_stage2() {
*** 1445,1450 ****
--- 1445,1451 ----
  
        # Build a basic compiler and portage dependencies in $ROOT/tmp.
        pkgs=(
+               sys-apps/gentoo-functions
                app-portage/elt-patches
                $([[ ${CHOST} == *-aix* ]] && echo dev-libs/libiconv ) # bash dependency
                $([[ ${CHOST} == *-cygwin* ]] && echo dev-libs/libiconv ) # bash dependency

Reproducible: Always

Steps to Reproduce:
1. bootstrap-rap.sh always fails for me at xz-utils, since this one uses elibtoolize
Comment 1 Benda Xu gentoo-dev 2017-08-23 03:54:02 UTC
Fixed.  Thanks Jens.