when having ACCEPT_KEYWORDS="~x86" in make.conf , this problem happends when running emerge system right after bootstrabing: emerge system doesn't update ncurses to version 5.3 , and therefore sash can't be compiled correct. I fixed it on my computer by first running: emerge /usr/portage/sys- libs/ncurses/ncurses-5.3.ebuild first, and then emerge system, and it works like a dream.
Ncurses is masked in package.mask. This is not a bug. It's double masked and intentional.
Well, the problem isn't ncurses 5.3 , the problem is that if I try emerging sash 3.4-r5 with ncurses 5.2.xxxxx it b0rks, but if I update to the masked version of ncurses it works. So the problem is in sash 3.4-r5 and not in ncurses 5.3 .