Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261557 - ncurses-5.7 does not emerge while bootstrapping Prefix Gentoo
Summary: ncurses-5.7 does not emerge while bootstrapping Prefix Gentoo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-07 14:19 UTC by Rabbe Fogelholm
Modified: 2009-03-10 09:53 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 Rabbe Fogelholm 2009-03-07 14:19:16 UTC
It seems that there is some problem related to ncurses-5.7. The problem may be similar to the one described in 249363. When bootstrapping on SUSE Enterprise 10 SP 1 I am getting this:

[Early on ncurses-5.6 is emerged]

emerge --oneshot =bash-3.2_p17-r1
!!! Problem with sandbox binary. Disabling...

Calculating dependencies   ... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 8311

>>> Emerging (1 of 2) sys-libs/ncurses-5.6-r2 to /

...
...

[Later on ncurses-5.7 is emerged]

emerge -u system
Calculating dependencies   ... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 23) sys-apps/portage-2.2.00.12699

...
...


>>> Emerging (1 of 22) sys-libs/ncurses-5.7

......
......

[The last lines in the console are these]

** Building terminfo database, please wait...
Running tic to install /local/scratch/portage/sys-libs/ncurses-5.7/image//local/scratch/nightly/2009-03-07-1/usr/share/terminfo ...

	You may see messages regarding extended capabilities, e.g., AX.
	These are extended terminal capabilities which are compiled
	using
		tic -x
	If you have ncurses 4.2 applications, you should read the INSTALL
	document, and install the terminfo without the -x option.


At this point there is a process that eats 100% of the CPU:

1110  1108 99 11:43 ? 03:23:18 tic -x -s -o /local/scratch/portage/sys-libs/ncurses-5.7/image//local/scratch/nightly/2009-03-07-1/usr/share/terminfo terminfo.tmp

I will try as a workaround to mask ncurses-5.7 in /etc/portage/package.mask.
Comment 1 Fabian Groffen gentoo-dev 2009-03-07 14:24:43 UTC
Does it help when you bootstrap with latest_tree instead of tree?  Then you shouldn't get an upgrade from 5.6 to 5.7.
Comment 2 Rabbe Fogelholm 2009-03-07 15:12:38 UTC
(In reply to comment #1)
> Does it help when you bootstrap with latest_tree instead of tree?  Then you
> shouldn't get an upgrade from 5.6 to 5.7.

How do I do it? Do I just substitute 'latest_tree' in this line:

./bootstrap-prefix.sh $EPREFIX tree



Comment 3 Fabian Groffen gentoo-dev 2009-03-07 15:31:16 UTC
yep:

 ./bootstrap-prefix.sh $EPREFIX latest_tree
Comment 4 Rabbe Fogelholm 2009-03-08 09:01:30 UTC
I tried "latest_tree", but bootstrapping stops early on with this,

emerge --oneshot =bash-3.2_p17-r1
!!! Problem with sandbox binary. Disabling...

Calculating dependencies  ... done!

emerge: there are no ebuilds to satisfy "=app-shells/bash-3.2_p17-r1".
Comment 5 Fabian Groffen gentoo-dev 2009-03-08 09:41:35 UTC
True, you no longer need the version pin with the latest tree.  I'll release and change the docs accordingly today.
Comment 6 Rabbe Fogelholm 2009-03-08 12:35:23 UTC
I suppose that means I can go back to

./bootstrap-prefix.sh $EPREFIX tree

and no workaround should be needed?


Comment 7 Fabian Groffen gentoo-dev 2009-03-08 12:43:43 UTC
starting from now, yes.
Comment 8 Fabian Groffen gentoo-dev 2009-03-10 09:42:39 UTC
does this also work, or does this fail immediately on ncurses now?
Comment 9 Rabbe Fogelholm 2009-03-10 09:48:03 UTC
Bootstrapping works for me now. The ncurses version being emerged is 5.7.

Actually at this point bootstrapping succeeds 100% "out of the box" on SUSE 10,
the box being the Solaris-10 recipe:
<http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml>. Great
work!
Comment 10 Fabian Groffen gentoo-dev 2009-03-10 09:53:10 UTC
nice!  Thanks for testing.