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

Command dub run --build=release dlangide failed entirelly! #420

Open
ghost opened this issue Dec 22, 2020 · 5 comments
Open

Command dub run --build=release dlangide failed entirelly! #420

ghost opened this issue Dec 22, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Dec 22, 2020

Hello!
Command dub run --build=release dlangide failed entirelly!

With strange errors:

$ dub run --build=release dlangide
Building package dlangide in /home/energokoder/.dub/packages/dlangide-0.8.17/dlangide/
Fetching emsi_containers 0.8.0 (getting selected version)...
Fetching dsymbol 0.4.8 (getting selected version)...
Fetching msgpack-d 1.0.3 (getting selected version)...
Fetching dcd 0.9.13 (getting selected version)...
Fetching dlangui 0.9.182 (getting selected version)...
Fetching libdparse 0.9.10 (getting selected version)...
Invalid source/import path: /home/energokoder/.dub/packages/dcd-0.9.13/dcd/bin
Running pre-generate commands for dcd...
Performing "release" build using dmd for x86_64.
stdx-allocator 2.77.5: building configuration "library"...
emsi_containers 0.8.0: building configuration "library"...
libdparse 0.9.10: building configuration "library"...
dsymbol 0.4.8: building configuration "library"...
../../../../.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.3: building configuration "default"...
dcd 0.9.13: building configuration "library"...
../../../../.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"...
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dom/cssparser.d(86,18): Deprecation: union field intValue with default initialization 0 must be before field typeFlagId
/snap/dmd/102/bin/../import/phobos/std/math.d(282,12): Error: variable std.math.floatTraits!(inout(double)).RECIP_EPSILON only parameters or stack based variables can be inout
/snap/dmd/102/bin/../import/phobos/std/math.d(6814,15): Error: template instance std.math.floatTraits!(inout(double)) error instantiating
/snap/dmd/102/bin/../import/phobos/std/format.d(2654,27):        instantiated from here: isInfinity!(inout(double))
/snap/dmd/102/bin/../import/phobos/std/format.d(1875,20):        instantiated from here: formatValueImpl!(Appender!string, inout(double), char)
/snap/dmd/102/bin/../import/phobos/std/conv.d(1072,16):        instantiated from here: formatValue!(Appender!string, inout(double), char)
/snap/dmd/102/bin/../import/phobos/std/conv.d(222,24):        instantiated from here: toImpl!(string, inout(double))
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core/settings.d(501,33):        instantiated from here: to!(inout(double))
/snap/dmd/102/bin/../import/phobos/std/format.d(2694,31): Error: template instance std.math.signbit!(inout(double)) error instantiating
/snap/dmd/102/bin/../import/phobos/std/format.d(1875,20):        instantiated from here: formatValueImpl!(Appender!string, inout(double), char)
/snap/dmd/102/bin/../import/phobos/std/conv.d(1072,16):        instantiated from here: formatValue!(Appender!string, inout(double), char)
/snap/dmd/102/bin/../import/phobos/std/conv.d(222,24):        instantiated from here: toImpl!(string, inout(double))
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/core/settings.d(501,33):        instantiated from here: to!(inout(double))
/snap/dmd/102/bin/../import/phobos/std/format.d(2732,10): Error: forward reference to inferred return type of function call function () @trusted
{
import core.stdc.stdio : snprintf;
return snprintf(buf2.ptr, buf2.length, sprintfSpec.ptr, fs.width, fs.precision == fs.UNSPECIFIED ? -1 : fs.precision, tval);
}
()
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,54): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly.
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,63): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly.
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,73): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly.
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,81): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly.
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/dialogs/filedlg.d(377,90): Deprecation: function std.typecons.Nullable!(SysTime).Nullable.get_ is deprecated - Implicit conversion with alias Nullable.get this will be removed after 2.096. Please use .get explicitly.
../../../../.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
../../../../.dub/packages/dlangui-0.9.182/dlangui/src/dlangui/graphics/scene/scene3d.d(123,9): Deprecation: variable res is shadowing variable dlangui.graphics.scene.scene3d.visit.res. Rename the foreach variable.
../../../../.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
../../../../.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
dmd failed with exit code 1.

@RealDoigt
Copy link

me too :-|

@dpenztech
Copy link

I had the same issue on Slackware64. I resolved it by following the instructions further down to build from git source (after making sure I had SDL2 installed). Then it worked fine.

@ghost
Copy link
Author

ghost commented Feb 20, 2021

I had the same issue on Slackware64. I resolved it by following the instructions further down to build from git source (after making sure I had SDL2 installed). Then it worked fine.

This does not help me either. Can you be more specific how did you get working DlangIDE?

@dpenztech
Copy link

With slackware 64 14.2, I had also couldn't get 'dub run --build=release dlangide' to work. What did work for me (after building and installing packages dmd, d-tools, and SDL2 from slackbuilds.org) was to clean up the dub build, then go down to the section labeled "Building DLangIDE" further down README.md. And doing the

  1. git clone https://github.com/buggins/dlangide.git
  2. cd dlangide
  3. dub run
    process. Then it built fine.

A quick copy of the dlangide executable to a bin path and I was in business.

I hope this helps,

Duane

@dpenztech
Copy link

One more note: by "cleaning up the dub build", I just deleted the ~/.dub folder. That way I didn't have to worry about any possible side effects from the failed 'dub run --build=release...' command.

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

2 participants