Created attachment 1550
the utf.d file
dmd 2.068.1-1
it fails when using dub to compile a file.
/usr/include/dlang/dmd/std/utf.d(3128): Error: variable std.utf.byCodeUnit!(inout(char)[]).byCodeUnit.ByCodeUnitImpl.r only parameters or stack based variables can be inout
/usr/include/dlang/dmd/std/utf.d(3278): Error: template instance std.utf.byCodeUnit!(inout(char)[]) error instantiating
/usr/include/dlang/dmd/std/string.d(386): instantiated from here: byDchar!(inout(char)[])
actually this is not just one error it is a load of them,
Comment #1 by pedrolopes — 2015-09-13T04:16:42Z
Solves!
clean all phobos files and reinstalled DMD.
old files from phobos had not been replaced during some DMD update installation.
Comment #2 by anton — 2015-10-21T06:55:20Z
Unfortunately, this issue is still actual. Just ran into it while trying to build dlangui with dmd 2.068.2 on openSUSE Tumbleweed. After manual deletion of phobos dir and reinstallation of dmd errors persist.