I am having a very troubled installation of an AUR package’s dependencies and I need your help.
I want to install the package
r-rstan and its dependencies, while also keeping
r-rstan is a bit of a nightmare regarding dependencies, since it depends on
pandoc, and some R packages at the same time (which are not fun to update via package manager).
At first, I tried to install it straight away with
pamac, but it did not recognise
pandoc-bin as providing
pandoc. Since it’s something I could give up to, I went forward anyway to try it out, but
v8 failed too. Now,
v8 is provided by
v8-r on Arch, according to the installation instructions provided by the developer. It obviously conflicts with the original
v8 and it’s required by
r-v8 (which is a different package), a dependency of
Given the long compilation time, the developer of
v8-r offers a prepacked binary on its repository, which I proceeded to install. At this point, retrying to install
r-rstan still prompts me to substitute both
pandoc (annoying but fine) and
v8 (which is not).
And that’s where I got lost. The last thing I thought about trying is to compile
v8-r using the source package, but I doubt it would solve much, because the same thing happens with
pandoc-bin, despite providing
What I thought it might be a possible solution is to install everything individually and to edit the PKGBUILD of
r-rstan so to skip the dependency check or to explicitly use
v8-r as dependencies, but it isn’t futureproof and I suspect it would be a last-resort solution. I also haven’t modified a PKGBUILD before, so I don’t really know
What are your thoughts about this? Do you think there’s any other possibility?
Thank you very much in advance!