Closed mjsteinbaugh closed 3 years ago
g++: fatal error: Killed signal terminated program cc1plus
This usually happens when you run out of RAM. I suggest to take a look at htop
at the same time to monitor whether this is the cause.
Thanks, that could definitely be the culprit. Will report back.
Yes I answered that resource starvation a few times over over the years. C++ compilers need some RAM.
Now, the simplest way to avoid this is sudo apt install r-cran-rcppeigen
as you don't have to compile. Just use a binary.
And there is a reason I provide rocker/r-base
aka r-base
: you get a well maintained, Debian-based container to build on.
Yep, Docker was too RAM starved. That fixed the issue. @eddelbuettel rocker/r-base
is a fantastic resource and I use that in some Docker images as well. Thanks for maintaining that. This is safe to close.
Hi, I'm having trouble getting RcppEigen to build inside Docker on Debian 10.8, R 4.0.4. I'm hitting this with the R CRAN binary, R built from source, and with R-devel. I'm also hitting this issue with the older version of RcppEigen, 0.3.3.7.0. Something may be messed up in my configuration, but I can't figure it out. Here's a minimal reprex:
For reference, a Google search appears to indicate that the r-lib development team has been hitting this recently as well, as seen in the testthat logs.
Any help would be greatly appreciated, as a bunch of my Docker images depend on the package.
Best, Mike