While testing another bug, that required I install ucspi-tcp, I found that the test case fails as follows: Test phase [check]: sys-apps/ucspi-tcp-0.88-r13 ./instcheck instcheck: warning: /usr/ has wrong permissions instcheck: warning: /usr//bin has wrong permissions instcheck: warning: /usr//man does not exist instcheck: warning: /usr//man/man1 does not exist instcheck: warning: /usr//man/man5 does not exist instcheck: fatal: unable to switch to /usr//man/man1: file does not exist make: *** [check] Error 111 It happens on both my x86 stable (and stable chroots) as well as my ~amd64 system. The check for /usr/ /usr/bin/ is looking for if ((st.st_mode & 07777) != mode). That one should be a easy enough fix to match with what gentoo has as the main level permissions levels. however the rest of the do not exist's are a bit more worrying.
Fixed by putting RESTRICT="test" into the ebuild. The tests are broken for almost all djb software (see qmail/netqmail). Will be in CVS in an hour or so.