-
Notifications
You must be signed in to change notification settings - Fork 8
Mir-algorithm fails to build #38
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
Comments
I will certailny need more details, this builds fine forme, though I`m on windows |
I'm using Arch linux kernel 6.12.12-1-lts. Haven't tested on Windows. For a better test I deleted my {
"authors": [
"Vabenil"
],
"copyright": "Copyright © 2025, Vabenil",
"dependencies": {
"mir-algorithm": "~>3.22.3"
},
"description": "Test",
"license": "MIT",
"name": "bl_test"
} This was the output of the command: Beware no linewrapping!
|
I tested it in an Ubuntu 24.04 instance in AWS, using |
I'll test it later today against linux |
I have just tested on Linux and it still builds fine for me:
Maybe you could try posting the |
After some tests, I've noticed: The order of source files matters for mir. This is a known bug that 0xEAB commented on D discord. Further tests allowed me to know that: Dub specifies files by using The main difference is due to depth allocating less memory and thus being faster. As a workaround, I could suggest a redub flag ( |
@MrcSnm Hey, regarding your workaround I would personally appreciate it in the case this issue is not easily solvable (if it's a long-term issue that I will have to live with). It generally prevents me from using redub in anything that uses mir after all. |
@vabenil Take a look on the new version. Try it with |
Actually, I don't think I'm able to fix that easily @vabenil . Update: I've added my own implementation of |
So I tried with the latest git version:
and now |
I have tried building |
Redub version:
1.20.3
dmd version:
2.109.1
dub version:
1.38.1
Any project with
mir-algorithm
as a dependency fails to build, dub builds mir projects just fine.I have been having this problem for a couple of months already, so it's unrelated to the latest realese.
Steps to reproduce
create a project and set the dub.json to:
Then do:
You will get something like this:
Feel free to ask for extra details
The text was updated successfully, but these errors were encountered: