Kengo Seki created BIGTOP-4013:
----------------------------------

             Summary: Fix toolchain to install R 3.6.0+ into Debian 10
                 Key: BIGTOP-4013
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4013
             Project: Bigtop
          Issue Type: Improvement
          Components: toolchain
            Reporter: Kengo Seki
            Assignee: Kengo Seki


Building Debian 10 image based on trunk causes the following error. [The latest 
version of the testthat package seems to only support R 
3.6.0+|https://github.com/r-lib/testthat/commit/dc9b3811be8ebd1d3aa334488ac09b2015868534].

{code}
$ ./gradlew bigtop-slaves -POS=debian-10

...

#8 1310.4 Error: '/usr/bin/R -e 'pkgs <- c("devtools", "evaluate", "rmarkdown", 
"knitr", "roxygen2", "testthat", "e1071"); install.packages(pkgs, 
repo="https://cran.r-project.org/";); for (pkg in pkgs[pkgs != "devtools"]) if 
(!library(pkg, character.only=TRUE, logical.return=TRUE)) q(save="no", 
status=1)'' returned 1 instead of one of [0]
#8 1310.4 Notice: 
/Stage[main]/Bigtop_toolchain::Renv/Exec[install_r_packages]/returns: In 
library(pkg, character.only = TRUE, logical.return = TRUE) :
#8 1310.4 Notice: 
/Stage[main]/Bigtop_toolchain::Renv/Exec[install_r_packages]/returns:   there 
is no package called 'testthat'
#8 1310.4 Error: 
/Stage[main]/Bigtop_toolchain::Renv/Exec[install_r_packages]/returns: change 
from 'notrun' to ['0'] failed: '/usr/bin/R -e 'pkgs <- c("devtools", 
"evaluate", "rmarkdown", "knitr", "roxygen2", "testthat", "e1071"); 
install.packages(pkgs, repo="https://cran.r-project.org/";); for (pkg in 
pkgs[pkgs != "devtools"]) if (!library(pkg, character.only=TRUE, 
logical.return=TRUE)) q(save="no", status=1)'' returned 1 instead of one of [0]
{code}

[Debian 10 is not officially supported in Bigtop 
3.3.0|https://issues.apache.org/jira/browse/BIGTOP-3909], but I'd like to 
support it as far as we can since its EOL hasn't come yet.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to