-
Notifications
You must be signed in to change notification settings - Fork 203
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
Java/11 not considered present with HMNS on develop #3335
Comments
Sorry I don't know what HMNS is exactly and how modules are supposed to be named. If the build attempts to find |
Sorry, HierarchicalMNS, the module naming system where there's a hierarchy of modules. I can You can see this in this log: https://gist.github.com/zao/6c90bab96218fcbe8584918b09a0444b Regardless of if this is something underlying broken thing that was exposed by changing the method with which things were looked up, it's a regression. |
The existence check in 4.2.0 produced True in the same situation: https://gist.github.com/zao/1d41be949440435974a3d6c5c8b3953d |
True. I was just pointing out that exactly this is the case: Something is broken trying to use Hence me relaying it to someone familiar with HMNS to sort this out. From your log I see:
I.e. see the And
So I guess the
which shows that |
When using HierarchicalMNS, EasyBuild checks for the existence of modules with the "full" name ( The reason for that is that the module may not be visible without loading other modules first, since that's how the module hierarchy works (loading a If this got broken, we should really fix it, even if it means re-introducing the fallback. I'm a bit surprised by this regression though, I could've sworn this was covered by the tests... |
This seems to only apply to aliases. See my last sentence how the underlying module exists with and without Core but the alias only exists without Core.
The tests are (now) done so as |
@Flamefire I've fixed this issue in #3337 be restoring the fallback mechanism with We can reconsider this going forward, but short term I don't think we can easily avoid checking for existence of modules using the "full" module naming starting from the top of the hierarchy. For top-level modules installed in If we should discuss this further, please open a dedicated issue on this, since following up in a closed issue isn't going to work out well. |
Well I brought my arguments forward here and in other issues and the PR. I haven't seen a verification that this incomplete solution is indeed required so nothing changed. But with the module-show fix that's still present it works for me. |
Att: @Flamefire
The changes in #3216 seem to have caused a regression on my Ubuntu 18.04 machine, where something depending on
Java/11
fails to notice the installed module.This works fine on 4.2.0, but fails on 4.2.0 w/ 3216 applied and on current develop.
The build attempts to find
Core/Java/11
which doesn't resolve with my module path, whileJava/11
does.The text was updated successfully, but these errors were encountered: