eix makes use of close() and isatty() calls without including <unistd.h> header in some of the files, which causes a build failure with gcc-4.7.0_pre9999. I attached a trivial patch to fix this. SVN revision of gcc is r182860, in case you need.
Created attachment 297869 [details]
emerge --info =app-portage/eix-0.23.3-r1
Created attachment 297871 [details]
Created attachment 297873 [details, diff]
Thanks. Missing includes of md5.cc had already been fixed in eix-0.23.4,
but the isatty() calls were not yet included in src/check_includes.sh
This is now fixed in eix git master at BerliOS (>=eix-0.23.6).
+*eix-0.23.6 (16 Jan 2012)
+ 16 Jan 2012; Jeremy Olexa <email@example.com> +eix-0.23.6.ebuild:
+ Version bump, small bug fixes including Gentoo bug 397589 and new cache
+ method (mainly for Funtoo Linux usage)