-
Notifications
You must be signed in to change notification settings - Fork 200
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
provide meaningful error message when failing sanity step #657
Comments
This is probably caused by the Perl module name you should specify when you want to use it, i.e. options = {'modulename': 'YAML::Syck'} @xaver42 : That being said: you're right, the error message could be a lot clearer here. We'll look into that, issue a PR and ask you to take a look at it. But it's going to be post-v1.6 though. |
@boegel with PR you mean a PR for this module? Even if it dosn't build properly? |
@xaver42: OK, then something else is going on, e.g. an incomplete Perl search path. We fixed something related to that in EB v1.6 (see easybuilders/easybuild-easyblocks#209). With PR I mean a pull request for easybuild-framework that makes the error message clearer (and which isn't there yet right now). |
Sorry, I don't know enough about the internals of easybuild-framework to create a PR. Edit: Ah, I think now I understand: You issue a PR, and I check whether this creates a more readable error message!? |
@xaver42: Don't worry, we can look into that. I was not trying to convince you to issue a PR te resolve this (I know the framework can be quite daunting), I was just informing you that we're aware of the issue, and will look into it. We already made sanity check errors a lot more clear for non-extensions, we should do it for extensions as well. |
Trying to build this recipy:
https://gist.github.com/xaver42/5822924
the build fails with "Sanity check for YAMLSyck failed!"
Checking the logfile it takes some time to find the real error (disguised as a warning):
main.PerlModule WARNING Extension: YAMLSyck failed to install! (output: No module found for "YAML::Syck".
)
But even with this message I am puzzled, because the module is already installed at that time in easybuild's "software" directory.
So it would be good if:
The text was updated successfully, but these errors were encountered: