Created attachment 457130 [details] Build log net-misc/freerdp-1.2.1_pre20150326-r1 (stable) tries to write to /.git/index.lock if /.git/ exists. Logs are attached.
Created attachment 457132 [details] Emerge output
Created attachment 457134 [details] emerge --info output
Do I understand correctly that you have your root directory in a git repository?
I suggest adding the following to /etc/sandbox.conf on any systems you have configured this way. SANDBOX_PREDICT="/.git"
No, it's not actually a git repository. It's just some random junk .git folder that wound up there. I can solve the problem easily enough by moving it away, but it seems like the freerdp build system isn't fully respecting the PREFIX variable and friends, since it shouldn't touch things outside of the work directory... I guess it's an uncommon enough situation that it doesn't matter. Thanks!
The build system probably runs "git status" or some related command to detect if it is being run from a git repository. Probably to embed the commit hash in the program somewhere. git looks for a .git folder in the current directory. If it does not find .git in the current directory, it looks in the parent directory, and its parent, and so on until it runs out of parents. There are lots of packages that do this, and I don't think it's worth "fixing" all of them.
Fair enough. Thanks :)