The permission of fpc folders are wrong... If you check the /opt folder, look at the "fpc" permissions they are marked to "700" instead of "755". In other word only the "root" user is the only one owner to execute the fpc compiler and list files into fpc folders. Reproducible: Always Steps to Reproduce: 1.emerge dev-lang/fpc-bin 2.ls /opt -l 3.ls /opt/fpc -l Actual Results: with: # ls -l /opt ... drwx------ 5 root root 4096 13 dic 11:51 fpc ... # ls -l /opt/fpc drwx------ 2 root root 4096 13 dic 11:51 bin drwx------ 3 root root 4096 13 dic 11:51 lib drwx------ 4 root root 4096 13 dic 11:51 share # Expected Results: after the chmod 755 correction I see this list: # ls -l /opt ... drwxr-xr-x 5 root root 4096 13 dic 11:51 fpc ... # ls -l /opt/fpc drwxr-xr-x 2 root root 4096 13 dic 11:51 bin drwxr-xr-x 3 root root 4096 13 dic 11:51 lib drwxr-xr-x 4 root root 4096 13 dic 11:51 share # now it's ok. :-) to resolve the bug, simply You execute the chmod command to set the correct permissions. # chmod 755 /opt/fpc /opt/fpc/lib /opt/fpc/bin /opt/fpc/share Is It possible to modify the installation script of fpc-bin's ebuild ? I think that it's the fast way to solve the problem...
*** Bug 115397 has been marked as a duplicate of this bug. ***
Use dev-lang/fpc, fpc-bin will be removed.