Skip to content
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

Missing dependency on Fedora 38 jobs #633

Closed
albersonmiranda opened this issue Aug 9, 2024 · 6 comments
Closed

Missing dependency on Fedora 38 jobs #633

albersonmiranda opened this issue Aug 9, 2024 · 6 comments

Comments

@albersonmiranda
Copy link

Hello there! 👋🏽

CRAN requests that Rust dependencies are vendored instead of downloaded at compilation time:

In most cases all the Rust software can be bundled into the package via cargo vendor. (Thanks to Hiroaki Yutani for providing an example of doing that in his string2path package, version 0.1.5 at the time of writing.) Please tar the included Rust sources using xz compression. If the bundle is too large to be included in the package sources, it could be hosted at a long-term secure site under the maintainer’s control.

But xz package is missing on Fedora 38 jobs (gcc13, intel, mkl, nosuggests, and valgrind) which is required in order to extract .tar.xz.

@gaborcsardi
Copy link
Collaborator

You need to include xz in SystemRequirements if you need it.

@albersonmiranda
Copy link
Author

Thanks @gaborcsardi , that fixed it. Now I'm having

Error in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/github/home/R/x86_64-pc-linux-gnu-library/4.5/writexl/libs/writexl.so':
libsvml.so: cannot open shared object file: No such file or directory

due to writexl dependency. Should I also add system libs required for my dependencies? Or maybe it's related to #616 ?

@gaborcsardi
Copy link
Collaborator

I don't know, can you link to a failing build?

@albersonmiranda
Copy link
Author

@gaborcsardi
Copy link
Collaborator

writexl is built in the container, so this is possibly because the cache has a version that does not work any more. Try deleting the cache.

@albersonmiranda
Copy link
Author

writexl is built in the container, so this is possibly because the cache has a version that does not work any more. Try deleting the cache.

🎯! Thank you very much!

For others that may find this issue, a quick way to delete all repository cache is through Github CLI: gh cache delete --all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants