-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
OpenSUSE CI image builder fails to run dub tests #11773
Comments
It seems that latest Dub version has changed the cache location to
Dub computes the hash part from all build settings, including compiler, compiler version, architecture etc. |
All unit tests relying on finding a dub dependency in the cache will eventually fail at some point (when distro will move to this version of Dub). I suggest to skip these tests globally from now. |
Relates to dlang/dub#2589 |
Thanks for debugging this. You're right, it does look very serious. But that should probably be exposed as an explanatory error for users running meson, not just skipped in the testsuite. Hopefully a solution can be found either in meson or dub, so that |
In meson, it would require to calculate the same hash as dub does. Hopefully it can be done from the data returned by |
Awesome, the proposed fix has been merged for the next upcoming Dub release. |
See https://github.com/mesonbuild/meson/actions/runs/4904266480/jobs/8757181437#step:5:2540
@rtbo as you've contributed quite a bit to this I'm hoping you might have an idea what's going on here? Your dub-build-deep program doesn't appear to be performing as expected in at least the latter case.
The text was updated successfully, but these errors were encountered: