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

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

Open
MrcSnm opened this issue Feb 26, 2025 · 1 comment
Open

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

MrcSnm opened this issue Feb 26, 2025 · 1 comment

Comments

@MrcSnm
Copy link

MrcSnm commented Feb 26, 2025

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 MrcSnm/redub#38 (comment)

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

@vabenil
Copy link
Contributor

vabenil commented Feb 26, 2025

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

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