Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prefix builds failing in stage 3 on python and bash
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 115
Location: San Diego, CA

PostPosted: Wed Mar 16, 2016 10:02 pm    Post subject: Prefix builds failing in stage 3 on python and bash Reply with quote

Following the bootstrap instructions https://wiki.gentoo.org/wiki/Project:Prefix
my builds were dieing in the python build with "recipe for target 'sharedmods' failed". I found discussion that this is caused by the latest readline (https://forums.gentoo.org/viewtopic-p-7509398.html) so added it to package.mask by patching bootstrap_prefix.sh (https://gist.github.com/anonymous/6d139bab9effadb02ab3) and now it's failing at bash build:

I put these outputs into a gist https://gist.github.com/anonymous/d0cbe23479779a965f91
* stage3.log
* emerge --info '=app-shells/bash-4.3_p39::gentoo_prefix'
* emerge -pqv '=app-shells/bash-4.3_p39::gentoo_prefix'

There don't seem to be any obvious failures in the stage3.log, so I'm at a loss for why it died. Any thoughts?
Back to top
View user's profile Send private message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 115
Location: San Diego, CA

PostPosted: Fri Mar 18, 2016 8:19 pm    Post subject: Reply with quote

Looking further at this, it seems to be failing at bashline:

Code:
bashline.c: In function 'initialize_readline':
bashline.c:552:3: error: 'rl_filename_stat_hook' undeclared (first use in this function)
bashline.c:552:3: note: each undeclared identifier is reported only once for each function it appears in
bashline.c: In function 'bashline_set_event_hook':
bashline.c:606:3: error: 'rl_signal_event_hook' undeclared (first use in this function)
...


The configure line is:

Code:
./configure --prefix=/opt/gentoo/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/opt/gentoo/usr/share/man --infodir=/opt/gentoo/usr/share/info --datadir=/opt/gentoo/usr/share --sysconfdir=/opt/gentoo/etc --localstatedir=/opt/gentoo/var/lib --libdir=/opt/gentoo/usr/lib --docdir=$(datarootdir)/doc/bash-4.3_p39 --htmldir=$(docdir)/html --with-curses --without-afs --enable-net-redirections --disable-profiling --disable-mem-scramble --without-bash-malloc --enable-readline --enable-history
--enable-bang-history --disable-nls --with-installed-readline=.
...
checking version of installed readline library... (cached) 6.3


which is weird, since I specifically masked >=readline-6.3 to avoid problems compiling python.
Back to top
View user's profile Send private message
anjames
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2004
Posts: 115
Location: San Diego, CA

PostPosted: Fri Mar 18, 2016 8:31 pm    Post subject: Reply with quote

And also the last line immediately prior to the bash merge was:
>>> sys-libs/readline-6.2_p1-r1 merged.
Back to top
View user's profile Send private message
honp
Guru
Guru


Joined: 25 Sep 2006
Posts: 355
Location: Good old Prague, Czech rep.

PostPosted: Sun Mar 19, 2017 9:13 pm    Post subject: Reply with quote

I have the same problem...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum