Build errors in Rembed with RInside 0.2.13

Environment

Ubuntu 15.10 amd64 r-base 3.2.2-1. r-cran-rcpp 0.12.0-1, RInside 0.2.13

Description

Ubuntu 15.10 is a new Ubuntu release.
HPCC Platform Community build (branch 6.0.0-beta1) failed with following errors:

log: http://10.176.32.6/job/CE-Candidate-withplugins-u15.10-test/CE=Ubuntu-15.10-amd64-1/4/console

system ip: 10.176.32.19 login as user ubuntu with hpcc_key_pair key file

Conclusion

None

Activity

Show:

Xiaoming Wang November 10, 2015 at 3:58 PM

could you help to update wiki "Build HPCC" in github?

Richard Chapman October 28, 2015 at 5:42 PM

Actually we can't use them as submodules.

We should probably standardize on the version of RCpp, RInside, and inline (used by the above) that we install on build boxes - at the moment they will be whatever is current at the tie the build box is set up, and as we have seen this can cause build or other issues if they change something.

We can install a particular version of RInside etc on a build box as follows:

First install R (this should be versioned per-distro):

sudo apt-get install r-base-dev

Then fetch and install the R packages we need:

wget http://cran.r-project.org/src/contrib/Rcpp_0.12.1.tar.gz
wget http://cran.r-project.org/src/contrib/RInside_0.2.12.tar.gz
wget http://cran.r-project.org/src/contrib/inline_0.3.14.tar.gz

If these are not available, then perhaps they have been replaced by newer versions.
In this case the specified versions SHOULD be available from the archive:

wget https://cran.r-project.org/src/contrib/Archive/RCpp/Rcpp_0.12.1.tar.gz
wget https://cran.r-project.org/src/contrib/Archive/RInside/RInside_0.2.12.tar.gz
wget https://cran.r-project.org/src/contrib/Archive/inline/inline_0.3.14.tar.gz

Having downloaded them, you can install via:

sudo R CMD INSTALL Rcpp_0.12.1.tar.gz RInside_0.2.12.tar.gz inline_0.3.14.tar.gz

I will (as a separate issue, in 6.0.0) fix our code so that it compiles with RInside 0.2.13 - but we still want to rationalize our build processes.

Richard Chapman October 27, 2015 at 10:33 AM

Looks like both RCpp and RInside are now on github, which should make things easier. I have forked them into HPCC-Systems repo so that we have a non-moving target, and can add them as submodules.

Richard Chapman October 27, 2015 at 10:22 AM

Sounds like rcpp or RInside have been updated to break my workaround for their previous bugs...

We probably need to consider freezing a copy of these in our own github repo so we know what we are dealing with since they are not versioned with the distro. I don't know if there are any licensing constraints that would prevent us from doing so.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Affects versions

Created October 26, 2015 at 7:56 PM
Updated November 11, 2015 at 1:48 PM
Resolved November 11, 2015 at 1:48 PM