-
Notifications
You must be signed in to change notification settings - Fork 55
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
clang16-20 - testthat - unable to load shared object undefined symbol: __asan_register_elf_globals #645
Comments
Seems like a bug, an incompatible binary package. I'll try to fix it soon. |
Thank you! In the same runs there's also this: https://github.com/SciomeLLC/ToxicR/actions/runs/11802401294/job/32878144042 Is that another bug? Should I make another issue for it? |
I am sorry, I don't know what you are referring to. Which line(s) specifically? |
I am referring to:
|
No, that's not a bug in R-hub. |
This is a bug in the cache key, the GHA cache is shared between the clang-asan and the other clang containers, but some packages built from source in clang-asan are not compatible with the other clang containers. A workaround for now is to clear the cache, this one:
https://github.com/SciomeLLC/ToxicR/actions/runs/11802401294/job/32878139449#step:5:5202 I'll have to think what to do with the cache key, so this does not happen. |
I think we've just received a report in LightGBM that might have the same root cause: microsoft/LightGBM#6836 (comment) Using the
I don't see any compile lines in the logs they provided, so I strongly suspect it might be the same root cause... prebuilt packages from some other UBSAN build are getting picked up, and then failing to load because
|
@jameslamb Have you tried the workaround mentioned above? |
I haven't, do you mean this?
My understanding of that comment is that that was something to be done by R-hub administrators. How do I do that myself? |
|
Sorry, I did not mean to make you search GitHub docs for me. I just read https://github.com/r-hub/rhub?tab=readme-ov-file#setup ... I guess R-Hub has changed a lot since the last time I used it. The last time I used it, it was a managed service you submitted package tarballs to. It seems that now it's a client library that runs GitHub Actions workflows in your own (the package owner's) GitHub repositories. I'll go try to reproduce this, following your advice. Thanks. |
Confirmed that clearing the cache between runs did resolve this issue: microsoft/LightGBM#6836 (comment) |
I am facing an issue that I don't understand with rhub:
Full logs here:
https://github.com/SciomeLLC/ToxicR/actions/runs/11802401294/job/32878139449
but the rhub pipeline passes for
clang-asan
. See the same link above.Has anyone seen this before?
The text was updated successfully, but these errors were encountered: