Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791802 - sci-physics/root-6.24.00[R] lacks necessary dependencies: Could NOT find R (missing: Rcpp RInside)
Summary: sci-physics/root-6.24.00[R] lacks necessary dependencies: Could NOT find R (m...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
Depends on:
Reported: 2021-05-24 08:15 UTC by Andrew Savchenko
Modified: 2021-06-06 16:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log.gz (build.log.gz,5.83 KB, application/gzip)
2021-05-24 08:15 UTC, Andrew Savchenko
emerge --info (,12.87 KB, application/x-info)
2021-05-24 08:16 UTC, Andrew Savchenko

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2021-05-24 08:15:27 UTC
Created attachment 710979 [details]


While building root-6.24.00 with R:

-- Looking for R
-- Could NOT find R (missing: Rcpp RInside)
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:1099 (message):
  R installation not found and is required ('r' option enabled)

Apparently it needs not only R, but Rcpp and RInside R packages. They are not available in the main Gentoo repo right now, but both can be found in R_Overlay and Rcpp is also available in GURU.

Please add Rcpp and RInside to the main repo (this is preferred solution) or remove/mask R dependency in ROOT.
Comment 1 Andrew Savchenko gentoo-dev 2021-05-24 08:16:08 UTC
Created attachment 710982 [details]
emerge --info
Comment 2 Alessandro Barbieri 2021-05-24 08:45:50 UTC
Hello, I'm trying to package R stuff in guru while unbundling it etc. (not like the R_Overlay). I've already packaged Rcpp and it's dependencies, feel free to contact me
Comment 3 Guilherme Amadio gentoo-dev 2021-05-25 14:19:50 UTC

Yeah, this is a known thing for me. Since Gentoo doesn't have the packages for R modules without overlays, I've usually just installed them using RScript as root.
I still kept the USE flag because I thought that'd be useful in any case. If adding the packages for Rcpp and RInside is doable, we should go with that. Otherwise, we can either mask the flag, as you suggested, or simply add a message in pkg_pretend advising people that they need to install Rcpp/RInside via other means since they are not in the main repo.