Another to throw on the pile of dead and wounded. A patch to fix it follows.
Created attachment 9589 [details, diff] patch to fix ebuild Changes error.h to use errno.h instead of defining errno directly.
thanks for the patch. commited.