Created attachment 1762
build log with errors in phobos
I'v just install dmd & dub and try to run dlangGUI, but it fails with few errors about /usr/include/dmd/phobos/std/functional.d-mixin-215 and /usr/include/dmd/phobos/std/algorithm/iteration.d
Full log is attached
Comment #1 by mike.pryadko — 2019-09-30T01:02:29Z
P.S. my software versions:
~$ dmd --version
DMD64 D Compiler v2.088.0
Copyright (C) 1999-2019 by The D Language Foundation, All Rights Reserved written by Walter Bright
~$ dub --version
DUB version 1.17.0, built on Sep 1 2019
Comment #2 by bugzilla — 2019-12-29T10:35:45Z
It seems to me, that the Phobos part (*) works and the problem is some configuration problem outside Phobos. I therefore change the component to installer.
(*) Small example with the offending code, that works for me:
import std.algorithm.iteration : reduce;
import std.ascii : isAlphaNum;
void main()
{
string s = "test";
assert(reduce!((a, b) => a && (b == '_' || b == '-' || isAlphaNum(b)))(true, s) == true);
}
Comment #3 by bugzilla — 2019-12-29T10:40:40Z
Maybe this is a Dlangide bug which is allready fixed? [1]
The strange thing is, that the fix happend before the issue was reported and according to the attached log the version of Dlangide is one, where the issue was allready fixed.
[1] https://github.com/buggins/dlangide/issues/398
Comment #4 by pro.mathias.lang — 2020-04-08T05:27:33Z
As berni mentioned, this is an issue with dlangide and its dependency not compiling with an up-to-date DMD/Phobos.
I do think there's a point where compatibility was broken in Phobos, which is unfortunate, but not related to installer.
I took at look at https://github.com/buggins/dlangide/issues/398 and saw what I could do, unfortunately the maintainer didn't seem to be very active recently. I have pinged him on a relevant PR, let's see if it gets things moving again. Closing as invalid because there's nothing for us to do.