Ok let's be more specific I get the following error: >>> Install liblockfile-1.08 into /Users/frb15/Desktop/Gentoo/var/tmp/portage/net-libs/liblockfile-1.08/image/Users/frb15/Desktop/Gentoo/ category net-libs make -j3 ROOT=/Users/frb15/Desktop/Gentoo/var/tmp/portage/net-libs/liblockfile-1.08/image/ install install -m 644 lockfile.h maillock.h /Users/frb15/Desktop/Gentoo/var/tmp/portage/net-libs/liblockfile-1.08/image//Users/frb15/Desktop/Gentoo/usr/include if [ "UOCNT\domain" != "" ]; then\ install -g UOCNT\domain -m 2755 dotlockfile /Users/frb15/Desktop/Gentoo/var/tmp/portage/net-libs/liblockfile-1.08/image//Users/frb15/Desktop/Gentoo/usr/bin;\ else \ install -g root -m 755 dotlockfile /Users/frb15/Desktop/Gentoo/var/tmp/portage/net-libs/liblockfile-1.08/image//Users/frb15/Desktop/Gentoo/usr/bin; \ fi install: invalid group `UOCNTdomain' ............. My group on this OS X machine is "UOCNT\domain users", no jokes. In the ebuild we have the following line in src_configure: use prefix && grp=$(id -gn) the "n" bit means id will return a name instead of a code for the group. In my case the funny string above. id -g return the group number, which is also a valid option for configure on this machine. Replacing id -gn with id -g I can merge the package without problems and the files all belong to the right group.
Still get this in 1.09.
That is probably fine for all. + 23 Feb 2012; Jeremy Olexa <darkside@gentoo.org> liblockfile-1.09.ebuild: + (Gentoo Prefix only) Use id -g instead of id -gn, bug 350763 by Francois + Bissey