unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28157: “r-minimal” retains no reference to “which”
@ 2017-08-20 11:16 Ricardo Wurmus
  2017-08-22  8:51 ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2017-08-20 11:16 UTC (permalink / raw)
  To: 28157

R provides a function “Sys.which”, which embeds the full path to “which”
at configure time.  The path it embeds is that of “which” *before*
grafts.

The final package does not retain any reference to the “which” package,
however.  What’s worse: this cannot be fixed by adding “which” to the
environment, as “Sys.which” holds a reference to the ungrafted “which”
package.

This is a problem in containers, where the ungrafted “which” will not be
available even when the “which” package is added to the container.

It may also be a security problem, because R references an ungrafted
package.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-22 14:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-20 11:16 bug#28157: “r-minimal” retains no reference to “which” Ricardo Wurmus
2017-08-22  8:51 ` Ludovic Courtès
2017-08-22  9:19   ` Ricardo Wurmus
2017-08-22  9:29     ` Ricardo Wurmus
2017-08-22  9:38     ` Ludovic Courtès
2017-08-22 11:02       ` Ricardo Wurmus
2017-08-22 13:40         ` Ludovic Courtès
2017-08-22 14:03           ` Ricardo Wurmus
2017-08-22 14:33             ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).