Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Try DlangIDE" very long building time and unsuccessful every time. #409

Open
BoQsc opened this issue Jun 13, 2019 · 3 comments
Open

"Try DlangIDE" very long building time and unsuccessful every time. #409

BoQsc opened this issue Jun 13, 2019 · 3 comments

Comments

@BoQsc
Copy link

BoQsc commented Jun 13, 2019

I tried to try dlangide, but it seems to be unsuccessful in all the computers that I have. https://github.com/buggins/dlangide#try-dlangide

What I tried to do:

dub fetch dlangide
dub run --build=release dlangide

https://github.com/buggins/dlangide#try-dlangide

This is the output:

C:\Users\Juozas\Desktop>dub fetch dlangide
Fetching dlangide 0.8.17...
Please note that you need to use `dub run <pkgname>` or add it to dependencies of your package to actually use/run it. dub does not do actual installation of packages outside of its own ecosystem.

C:\Users\Juozas\Desktop>dub run --build=release dlangide
Building package dlangide in C:\Users\Juozas\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\
Fetching dsfml 2.1.1 (getting selected version)...
Fetching emsi_containers 0.8.0-alpha.15 (getting selected version)...
Fetching derelict-gl3 2.0.0-beta.8 (getting selected version)...
Fetching dsymbol 0.4.8 (getting selected version)...
Fetching msgpack-d 1.0.0-beta.8 (getting selected version)...
Fetching dcd 0.9.13 (getting selected version)...
Fetching dlangui 0.9.182 (getting selected version)...
Fetching derelict-ft 2.0.0-beta.5 (getting selected version)...
Fetching x11 1.0.21 (getting selected version)...
Fetching derelict-sdl2 3.0.0-beta.8 (getting selected version)...
Fetching derelict-util 3.0.0-beta.2 (getting selected version)...
Fetching libdparse 0.9.10 (getting selected version)...
Invalid source/import path: C:\Users\Juozas\AppData\Local\dub\packages\dcd-0.9.13\dcd\bin
Running pre-generate commands for dcd...
Performing "release" build using C:\D\dmd2\windows\bin\dmd.exe for x86_64.
stdx-allocator 2.77.5: building configuration "library"...
emsi_containers 0.8.0-alpha.15: building configuration "library"...
libdparse 0.9.10: building configuration "library"...
dsymbol 0.4.8: building configuration "library"...
..\AppData\Local\dub\packages\dsymbol-0.4.8\dsymbol\src\dsymbol\symbol.d(198,10): Deprecation: Cannot use alias this to partially initialize variable part of type SymbolOwnership. Use part.ptr
msgpack-d 1.0.0-beta.8: building configuration "library"...
dcd 0.9.13: building configuration "library"...
..\AppData\Local\dub\packages\msgpack-d-1.0.0-beta.8\msgpack-d\src\msgpack\value.d(284,30): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(212,59): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(449,46): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(464,52): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(562,29): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(152,52): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(386,60): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(405,61): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(416,62): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\complete.d(336,52): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\doc.d(69,28): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\localuse.d(109,30): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dcd-0.9.13\dcd\src\dcd\server\autocomplete\symbols.d(119,51): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dsymbol-0.4.8\dsymbol\src\dsymbol\symbol.d(198,10): Deprecation: Cannot use alias this to partially initialize variable part of type SymbolOwnership. Use part.ptr
derelict-util 3.0.0-beta.2: building configuration "library"...
derelict-ft 2.0.0-beta.5: building configuration "library"...
derelict-gl3 2.0.0-beta.8: building configuration "library"...
derelict-sdl2 3.0.0-beta.8: building configuration "derelict-sdl2-dynamic"...
dlangui 0.9.182: building configuration "default"...
..\AppData\Local\dub\packages\dlangui-0.9.182\dlangui\src\dlangui\graphics\ftfonts.d(541,9): Deprecation: foreach: loop index implicitly converted from size_t to int
..\AppData\Local\dub\packages\dlangui-0.9.182\dlangui\src\dlangui\widgets\editors.d(3447,9): Deprecation: foreach: loop index implicitly converted from size_t to int
..\AppData\Local\dub\packages\dlangui-0.9.182\dlangui\src\dlangui\widgets\editors.d(3797,21): Deprecation: foreach: loop index implicitly converted from size_t to int
dlangide 0.8.17: building configuration "default"...
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\tools\d\dcdinterface.d(241,34): Deprecation: function `dcd.common.messages.AutocompleteResponse.docComments` is deprecated - use completions[].documentation + escapeConsoleOutputString instead
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\tools\d\dcdinterface.d(322,25): Deprecation: function `dcd.common.messages.AutocompleteResponse.completionKinds` is deprecated - use completions[].kind instead
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\tools\d\dcdinterface.d(323,28): Deprecation: function `dcd.common.messages.AutocompleteResponse.completionKinds` is deprecated - use completions[].kind instead
C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d(171,38): Deprecation: function `dcd.common.messages.AutocompleteResponse.Completion.compatibilityContent` is deprecated - Use identifier (or definition for calltips) instead
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\ui\dsourceedit.d(793,9): Deprecation: foreach: loop index implicitly converted from size_t to int
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\ui\searchPanel.d(375,5): Deprecation: foreach: loop index implicitly converted from size_t to int
C:\D\dmd2\windows\bin\..\..\src\phobos\std\functional.d-mixin-215(215,35): Error: module std.ascii is not accessible here, perhaps add static import std.ascii;
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3710,28): Error: template instance `std.functional.F!(" a && (b == '_' || b == '-' || std.ascii.isAlphaNum(b)) ", "a", "b").binaryFun!(bool, dchar)` error instantiating
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3674,32):        instantiated from here: reduceImpl!(false, string, bool)
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3658,33):        instantiated from here: reducePreImpl!(string, bool)
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\workspace\project.d(937,78):        instantiated from here: reduce!(bool, string)
C:\D\dmd2\windows\bin\..\..\src\phobos\std\functional.d-mixin-215(215,23): Error: module std.ascii is not accessible here, perhaps add static import std.ascii;
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3710,28): Error: template instance `std.functional.F!(" a && (b == '_' || std.ascii.isAlphaNum(b)) ", "a", "b").binaryFun!(bool, dchar)` error instantiating
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3674,32):        instantiated from here: reduceImpl!(false, string, bool)
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3658,33):        instantiated from here: reducePreImpl!(string, bool)
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\workspace\project.d(943,66):        instantiated from here: reduce!(bool, string)
C:\D\dmd2\windows\bin\..\..\src\phobos\std\functional.d-mixin-215(215,47): Error: module std.ascii is not accessible here, perhaps add static import std.ascii;
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3710,28): Error: template instance `std.functional.F!(" a && (b == '_' || b == '.' || b == '-' || std.ascii.isAlphaNum(b)) ", "a", "b").binaryFun!(bool, dchar)` error instantiating
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3674,32):        instantiated from here: reduceImpl!(false, string, bool)
C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d(3658,33):        instantiated from here: reducePreImpl!(string, bool)
..\AppData\Local\dub\packages\dlangide-0.8.17\dlangide\src\dlangide\workspace\project.d(949,90):        instantiated from here: reduce!(bool, string)
C:\D\dmd2\windows\bin\dmd.exe failed with exit code 1.
@Imperatorn
Copy link

Is this still the case? I will try later today.

The errors seem to come from som mixin.

Error: module std.ascii

@Imperatorn
Copy link

FYI, I just did

git clone https://github.com/buggins/dlangide.git
dub build

And everything worked.

dmd version is v2.105.2
dub version is 1.34.0

@GrimMaple
Copy link
Collaborator

I shall probably add workflows to ensure the thing builds at least...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants