dmd icon indicating copy to clipboard operation
dmd copied to clipboard

DMD FE: mir-algorithm fails to build based on order specified of files

Open MrcSnm opened this issue 10 months ago • 2 comments

OS: Posix (Likely ArchLinux)

Reproduction Steps:

  1. dub init -n
  2. dub add mir-algorithm
  3. dub build --combined

More details on that problem can also be found at https://github.com/MrcSnm/redub/issues/38#issuecomment-2683670681

Although I'm using dub here, what happens is basically:

Dub specifies files by using dirEntries("*.d", SpanMode.breadth) Redub specifies files by using dirEntries("*.d", SpanMode.depth).

That difference in how files are specified, makes redub gets the same error as dub build --combined. I have asked Adam a little of directions on that problem, he says it might be related to how package.d works.

I believe that having errors like that can create frustrating experiences with really tricky ways to solve it. I would argue that even if uncommon, that is highly important

MrcSnm avatar Feb 26 '25 01:02 MrcSnm

I have run into this error in a fresh Ubuntu 24.04.1 LTS system and also on Arch Linux.

vabenil avatar Feb 26 '25 14:02 vabenil

Bump: More people is still having those issues when trying to use redub because of that error, I would appreciate if that at least had some eyes on it

MrcSnm avatar May 05 '25 18:05 MrcSnm