First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 221061
Alias:
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jens Langner <Jens.Langner@light-speed.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 221061 depends on: Show dependency tree
Bug 221061 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-09 09:38 0000
After installation of the recent R-2.7.0 version the /usr/bin/Rscript wrapper
binary does not work anymore. Normally, it should allow to directly execut a R
command on the command-line but with 2.7.0 it just outputs and error.


Reproducible: Always

Steps to Reproduce:
1. emerge R
2. /usr/bin/Rscript -e "cat('Hello World')"
3. notice the file or directoy does not exist warning

Actual Results:  
After execution of "/usr/bin/Rscript -e "cat('Hello World')" the following
error occurrs:

-- cut here --
Rscript execution error: No such file or directory
-- cut here --


By executing Rscript with 'strace' it points at the sandbox compilation that is
to be blamed:

-- cut here --
1> strace Rscript -e "cat('Hello World')"
...
execve("/var/tmp/portage/dev-lang/R-2.7.0/work/R-2.7.0/bin/R",
["/var/tmp/portage/dev-lang/R-2.7."..., "--slave"..., "--no-restore"...,
"-e"..., "cat(\'Hello World\')"..., "--args"...], [/* 63 vars */]) = -1 ENOENT
(No such file or directory)
...
-- cut here --

So here you can clearly see that it tries to execute the R binary from
"/var/tmp/portage/dev-lang/R-2.7.0/work/R-2.7.0/bin/" rather than executing it
from /usr/bin/R like it should be. And this of course causes the problem. After
symlinking R to the /var/tmp/ directory, Rscript works.

------- Comment #1 From Markus Dittrich 2008-05-10 11:40:26 0000 -------
Thanks much for the note. I'll have a look at it.

Best,
Markus

------- Comment #2 From Markus Dittrich 2008-05-10 16:31:13 0000 -------
This should be fixed now in portage cvs. Thanks again
for reporting.

Best,
Markus

------- Comment #3 From Jens Langner 2008-05-14 14:41:43 0000 -------
Ok, the problem is really gone

First Last Prev Next    No search results available      Search page      Enter new bug