Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179063 - dev-lang/R-2.5.0 failure to install an add-on package, "foreign"
Summary: dev-lang/R-2.5.0 failure to install an add-on package, "foreign"
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-19 01:05 UTC by hakjin
Modified: 2008-01-17 12:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hakjin 2007-05-19 01:05:05 UTC
"R CMD INSTALL foreign_x.x.x.tar.gz" generates an error. However it can be installed if we do manually like untar the package, configure and use a command such as "R CMD INSTALL foreign".

Reproducible: Always

Steps to Reproduce:
1.Install R-2.5.0
2.Run "R CMD INSTALL foreign_0.8-20.tar.gz
3.

Actual Results:  
* Installing to library '/home/lab/hakjin/R/library'
* Installing *source* package 'foreign' ...
/usr/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission denied
ERROR: configuration failed for package 'foreign'
** Removing '/home/lab/hakjin/lib/R/foreign'
** Restoring previous '/home/lab/hakjin/lib/R/foreign'


Expected Results:  
The package should have been installed.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-05-19 12:36:36 UTC
This looks like some sort of an permission issue. Are you attempting
to install the add on package as your user or as root?

Thanks,
Markus
Comment 2 Jukka Ruohonen 2007-07-29 11:10:00 UTC
This is not an permission issue at all, but most likely the default way R informs that the package is already installed.

Since we use the option --with-recommended-packages (defaults to yes), the foreign-package is always included in the base Gentoo "emerge dev-lang/R"-installation. The same thing applies to other core R-packages (may change between versions, but usually e.g. boot, cluster, lattice, MASS, and so on).

I suggest closing this bug.
Comment 3 Jukka Ruohonen 2007-07-29 11:41:31 UTC
I may have been a little hasty with my comments.

Nevertheless, I can not reproduce this.

1. chroot / # whoami
   root
2. emerge =dev-lang/R-2.5.0
3. wget http://cran.cybermirror.org/src/contrib/foreign_0.8-20.tar.gz
4. chroot / # R CMD INSTALL foreign_0.8-20.tar.gz
5. all fine.


Any chance you have /tmp mounted as noexec?
Comment 4 Markus Dittrich (RETIRED) gentoo-dev 2007-09-16 10:11:55 UTC
Any news regarding this issue?

Thanks,
Markus
Comment 5 Neil 2007-11-16 10:19:45 UTC
Does this persist with the current R-2.6.0-r1?

If it does have you tried installing the package using the install.packages() command from within R (when running as root of course)?
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2008-01-17 11:51:59 UTC
Unable to reproduce this, as others in the bug, and no news from original poster. Closing as WONTFIX. Re-open if the problem happens in >=R-2.6.1-r1