Summary: | dev-lang/R-4.3.2: configure: error: which is required but missing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 646588 | ||
Attachments: | /var/log/portage/dev-lang:R-4.3.2:20231215-105952.log |
Having dealt with this before, I recall that a couple of years ago the R programming language provided a native, builtin function to detect the location of a command on $PATH. This is similar to how python has `shutil.which`. The R programming language being the R programming language, the standard library function was, of course, a thin execve() wrapper around `/usr/bin/which`, truly a brilliant and innovative move for a ***standard library***. I don't anticipate this having changed since then; the configure error is assuredly there to tell you that `which` is an expected runtime dependency. There's no actual solution here other than to add an RDEPEND. Terribly unfortunate for the 3 users of R. :) |
Created attachment 879476 [details] /var/log/portage/dev-lang:R-4.3.2:20231215-105952.log checking for a BSD-compatible install... (cached) /usr/bin/install -c checking for sed... (cached) /bin/sed checking for which... no configure: error: which is required but missing !!! Please attach the following file when seeking support: !!! /tmp/portage/dev-lang/R-4.3.2/work/R-4.3.2/config.log