June 16, 2015
http://stackoverflow.com/questions/30798244/dmd-looking-for-random-file-on-disk-when-linking

In short, it seems when the dmd -o command is passed a filename with a space in it, dmd gets confused. Is this a bug?
June 16, 2015
On Tuesday, 16 June 2015 at 04:19:59 UTC, wobbles wrote:
> http://stackoverflow.com/questions/30798244/dmd-looking-for-random-file-on-disk-when-linking
>
> In short, it seems when the dmd -o command is passed a filename with a space in it, dmd gets confused. Is this a bug?

I would say it's a bug in dub, it should pass escaped path to the compiler. Or put in double quotes.