Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500040 - regression, rev 12855c2ec2a3, bootstrap-prefix.sh bash readline issues
Summary: regression, rev 12855c2ec2a3, bootstrap-prefix.sh bash readline issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://prefix.gentooexperimental.org/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 04:20 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2014-02-11 19:53 UTC (History)
0 users

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


Attachments
build.log (build.log,46.59 KB, text/plain)
2014-02-02 04:20 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-02-02 04:20:11 UTC
Created attachment 369314 [details]
build.log

Before revision, bash-4.1* built fine. After revision, bash-4.2* failed to build. Attached build.log
Comment 1 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-02-02 04:26:14 UTC
This is probably because bash uses USE=readline in more than one way:

>    econf \
>        --with-installed-readline=. \
>        --with-curses \
>        $(use_with afs) \
>        $(use_enable net net-redirections) \
>        --disable-profiling \
>        $(use_enable mem-scramble) \
>        $(use_with mem-scramble bash-malloc) \
>        $(use_enable readline) \
>        $(use_enable readline history) \
>        $(use_enable readline bang-history) \
>        "${myconf[@]}"

So combining EXTRA_ECONF=--disable-readline and USE=readline (which is forced in profiles/base/package.use.force) cannot possibly work right.

Adding --disable-history and --disable-bang-history MIGHT work, but note that USE=readline is forced for a reason (portage needs the functionality to work right).
Comment 2 Fabian Groffen gentoo-dev 2014-02-02 14:37:54 UTC
Yes, but it also only needs this for stuff that doesn't hurt during the bootstrap.  So if those two --disable flags work, then I'm fine using that, but if messing around with the profile fits in the current hacks then that would work for me too.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-02-02 15:28:04 UTC
(In reply to Fabian Groffen from comment #2)
> bootstrap.  So if those two --disable flags work, then I'm fine using that,

It allows me to get past this issue.
Comment 4 Fabian Groffen gentoo-dev 2014-02-02 17:43:24 UTC
in fef4efe7f3df
Comment 5 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-02-02 18:22:33 UTC
I see, prefix portage has patched away the need for bash[readline]. Maybe the nicer solution is to unforce bash[readline] in the prefix profile then?
Comment 6 Fabian Groffen gentoo-dev 2014-02-02 19:36:29 UTC
I'm not aware of any hacks we made, did we?  (Or did Zac do, and forgot to lift the mask again?)
Comment 7 Ruud Koolen (RETIRED) archtester gentoo-dev Security 2014-02-02 19:39:58 UTC
bin/save-ebuild-env.sh, line 89. I don't know who put it there.
Comment 8 Fabian Groffen gentoo-dev 2014-02-03 09:01:49 UTC
That's flagged as a prefix hack, so must be me.  Guess clearing the mask is the way to go then.
Comment 9 Fabian Groffen gentoo-dev 2014-02-11 19:53:37 UTC
This should be fixed with tomorrows snapshot