OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005176 [r_base] major always 2014-05-31 00:50 2014-09-13 18:39
Reporter fedoracoreuser View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0005176: Cannot install packages from CRAN
Description 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!
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010850)
dam (administrator)
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 (administrator)
2014-06-02 14:01

Upstream bug report is tracked at
  https://bugs.r-project.org/bugzilla/show_bug.cgi?id=15815 [^]
(0010890)
maciej (reporter)
2014-08-13 10:25

Upstream bug has been resolved as not reproducible.
(0010907)
maciej (reporter)
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 (reporter)
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 (reporter)
2014-09-13 18:39

Yes, thank you very much for the update! The fixed version will be pushed to the testing catalog overnight.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker