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...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-24 08:15 UTC by Andrew Savchenko
Modified: 2024-03-10 12:16 UTC (History)
2 users (show)

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


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

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]
build.log.gz

Hi!

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
Hi,

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.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-10 12:16:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=141ec1201e8aed3251a08800f1e798705a96035b

commit 141ec1201e8aed3251a08800f1e798705a96035b
Author:     Guilherme Amadio <amadio@gentoo.org>
AuthorDate: 2024-03-09 16:36:36 +0000
Commit:     Guilherme Amadio <amadio@gentoo.org>
CommitDate: 2024-03-10 12:16:25 +0000

    profiles: mask sci-physics/root[R]
    
    Closes: https://bugs.gentoo.org/791802
    
    Signed-off-by: Guilherme Amadio <amadio@gentoo.org>

 profiles/base/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)