If cdrom is mounted, emerge baselayout fail while trying copy .keep file to /mnt/cdrom directory. Possible solution - umount /mnt/cdrom before install stage
*** This bug has been marked as a duplicate of 9849 ***