Mantis - r_base
Viewing Issue Advanced Details
5176 major always 2014-05-31 00:50 2014-09-13 18:39
fedoracoreuser  
dam  
normal  
closed  
fixed  
none    
none  
0005176: Cannot install packages from CRAN
First of all, thank you, I am enormously grateful to you for delivering this package.
However, when I attempt to install packages from CRAN, I receive a relocation error when the mirror list should appear.

Full output:
> install.packages('Rcpp')
Installing package into β€˜/home/ghost/R/i386-pc-solaris2.10-library/3.1’
(as β€˜lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Error in url("http://cran.r-project.org/CRAN_mirrors.csv") [^] :
  internet routines cannot be loaded
In addition: Warning message:
In url("http://cran.r-project.org/CRAN_mirrors.csv") [^] :
  unable to load shared object '/opt/csw/lib/R/modules//internet.so':
  ld.so.1: R: fatal: relocation error: file /opt/csw/lib/R/modules//internet.so: symbol accept: referenced symbol not found


I believe the issue lies in the double forward slash before 'internet.so'.
Is it something I can fix on my machines, or does the package need to be fixed? If it's a self fix, how can I do that?

Again, thank you!
Issue History
2014-05-31 00:50 fedoracoreuser New Issue
2014-06-02 13:26 dam Status new => assigned
2014-06-02 13:26 dam Assigned To => dam
2014-06-02 13:38 dam Note Added: 0010850
2014-06-02 13:38 dam Status assigned => confirmed
2014-06-02 14:01 dam Note Added: 0010851
2014-08-13 10:25 maciej Note Added: 0010890
2014-09-12 19:06 maciej Note Added: 0010907
2014-09-13 11:05 fedoracoreuser Note Added: 0010911
2014-09-13 18:39 maciej Note Added: 0010912
2014-09-13 18:39 maciej Status confirmed => closed
2014-09-13 18:39 maciej Resolution open => fixed

Notes
(0010850)
dam   
2014-06-02 13:38   
The problem is that accept(3socket) from internet.so requires libsocket and libnsl which for whatever reason is not added during linkage. This will fix it for now:
  LD_PRELOAD_32=/usr/lib/libsocket.so:/usr/lib/libnsl.so LD_PRELOAD_64=/usr/lib/64/libsocket.so:/usr/lib/64/libnsl.so /opt/csw/bin/R

I'll see if I can add the flags and notify upstream.
(0010851)
dam   
2014-06-02 14:01   
Upstream bug report is tracked at
  https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15815 [^]
(0010890)
maciej   
2014-08-13 10:25   
Upstream bug has been resolved as not reproducible.
(0010907)
maciej   
2014-09-12 19:06   
FYI this bug blocks the integration of R from unstable to testing.

If this problem also present in the testing catalog?

I've pushed a new version of R to unstable. Does it fix the problem?
(0010911)
fedoracoreuser   
2014-09-13 11:05   
Version 3.1.1 (2014-07-10) in unstable does not present the same behavior, but instead correctly installs the packages.

This works in both 32 and 64-bit versions.

I guess this can be marked as "solved"?

Thank you very much for your help in this matter!
(0010912)
maciej   
2014-09-13 18:39   
Yes, thank you very much for the update! The fixed version will be pushed to the testing catalog overnight.