r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

System Libraries not picked up by `maketools::package_sysdeps()` #205

Closed shikokuchuo closed 1 year ago

shikokuchuo commented 1 year ago

Hi Jeroen, my package 'nanonext' (universe 'shikokuchuo') requires both 'libnng' and 'libmbedtls'. It will detect suitable system installations of both and fall back to building from included sources if not found.

At the moment R-universe only shows the 'libmbedtls' system library, whereas ideally it should show both. This is because the package builds NNG at install time so it is not picked up by maketools::package_sysdeps().

A very recent version of the library is required and it is not available in system repos yet, so I am afraid it is not as simple as installing a package on the build machines. Of course you could borrow and build the bundled source file within the package, but again I don't think maketools::package_sysdeps() will pick up custom-installed libraries at the moment?

Just flagging this in case you have a solution.

Thanks!

shikokuchuo commented 1 year ago

Closing as this is superseded - I've made nanonext compatible with existing 'libnng' releases, and both libraries show up nicely now. Thanks for having the libraries on your build system.