I've had this problem on several systems now so it's time to report it.. vim won't build and returns a non-valid error message, in other words this triggers a bug in vim.h (i've emailed vim@vim.org or whatever the addy was to notify them of this problem) However, it fails because the test that checks for sizeof_int ends up in 0! (I'm using x86 systems so it should obviously be 4) This is the somewhat comfusing part: I unpacked the vim-sources (from /usr/portage/distfiles/) in my home-dir and started to play around with it. After playing around with the configure-script there it "suddenly" worked. When this worked I decided to try the emerge again, and this time it worked?!! (i didn't install the version in my home..) I cannot figure out how the hell the ebuild suddenly worked - but it did?! Other friends of mine has had this problem (emerge vim not working) too so this is not a single user-error fault ;)
libtermcap needed to be in the deps... fixed.