dev-lang/dmd-bin-2.008 installs the dmd binary, but fails to install the Phobos library (libphobos2.a) that is bundled with dmd. This makes it impossible to compile any D code that uses the Phobos library. (Most D code.) The ebuild deletes the bundled libphobos2.a and attempts to recompile it, but I believe this recompile fails. I believe because of various "permission denied" errors. (Surprising since emerge runs as root, but maybe this ebuild is not sandbox-friendly?) Workaround: pluck libphobos2.a out of the dmd.2.008.zip file, create /opt/dmd/lib, and drop the file there. Since this is a -bin ebuild anyway, maybe it would make sense to just copy libphobos2.a rather than attempting to rebuild it?
I can't seem to reproduce this. Could you paste outputs of your emerge, and emerge --info so I can see where the problem is? On my machine: anant@tg-nix ~ $ equery files dmd-bin | grep libphobos2 /opt/dmd/lib/libphobos2.a I unmerged and emerged it for good measure, and still don't see any problems.
Created attachment 141218 [details] output of emerge --info
Created attachment 141219 [details] output from "sudo emerge dmd-bin" Note that I had to hit "y" after each "rm: remove write-protected regular file `bin//dmd'?" This is already logged as bug 203350. I suspect the problems are related.
Added emerge --info and emerge dmd-bin output as attachments. Turning off sandbox didn't help with the "permission denied" errors.
Fixed in CVS.