dlang / dub

Package and build management system for D
MIT License
670 stars 230 forks source link

Can't compile any sources #1189

Open Gargo opened 7 years ago

Gargo commented 7 years ago

System information

Bug Description

I don't know what does this issue mean but I can't compile any D sources. Maybe issue occurs because Dub doesn't support cyrillic fonts. If so then how to uninstall this app/component and reinstall into another place? .exe installer suggests a new installation only.

How to reproduce?

Installed via .exe installer. For example for the log I mentioned before - I download sources from here and try to compile them: https://github.com/p0nce/aliasthis

Expected Behavior

No errors in console

Logs

Fetching derelict-util 2.0.6 (getting selected version)... Fetching ae-graphics 0.0.9 (getting selected version)... Fetching msgpack-d 1.0.0-beta.2 (getting selected version)... Fetching derelict-sdl2 1.9.7 (getting selected version)... Fetching logger 2.66.0 (getting selected version)... Fetching gfm 2.3.37 (getting selected version)... Invalid source/import path: C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\logger-2.66.0\logger\std\experimental\logger Invalid source/import path: C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\logger-2.66.0\logger\std\experimental\logger Invalid source/import path: C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\logger-2.66.0\logger\std\experimental\logger Invalid source/import path: C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\logger-2.66.0\logger\std\experimental\logger Performing "debug" build using dmd for x86. gfm:core 2.3.37: building configuration "library"... Error: module memory is in file 'C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\gfm-2.3.37\gfm\core\gfm\core\memory.d' which cannot be read import path[0] = C:\Users\╨Р╨┤╨╝╨╕╨╜╨╕╤Б╤В╤А╨░╤В╨╛╤А\AppData\Roaming\dub\packages\gfm-2.3.37\gfm\core import path[1] = E:\D\dmd2\windows\bin....\src\phobos import path[2] = E:\D\dmd2\windows\bin....\src\druntime\import dmd failed with exit code 1.

s-ludwig commented 7 years ago

Thanks for the report! Can you post the actual cyrillic path for comparison? And can you also verify that the .../experimental/logger folder is actually there? Because the error message means that it thinks that the path either does not exist, or is not a directory.

Gargo commented 7 years ago

@s-ludwig something is wrong. It seems the path to logger is: C:\Users\Администратор\AppData\Roaming\dub\packages\logger-2.66.0\logger no experimental folder