Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data.table setup error at CI macOS job in master #4008

Closed
StrikerRUS opened this issue Feb 21, 2021 · 5 comments
Closed

data.table setup error at CI macOS job in master #4008

StrikerRUS opened this issue Feb 21, 2021 · 5 comments

Comments

@StrikerRUS
Copy link
Collaborator

  There is a binary version available but the source version is later:
           binary source needs_compilation
data.table 1.13.6 1.14.0              TRUE


...


* installing *source* package ‘data.table’ ...
** package ‘data.table’ successfully unpacked and MD5 sums checked
** using staged installation
zlib 1.2.11 is available ok
R CMD SHLIB supports OpenMP without any extra hint
** libs
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp  -fPIC  -Wall -g -O2  -c assign.c -o assign.o
clang: error: unsupported option '-fopenmp'
make: *** [assign.o] Error 1
ERROR: compilation failed for package ‘data.table’
* removing ‘/Users/runner/Rlib/data.table’

The downloaded source packages are in
	‘/private/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/RtmpVQXmzz/downloaded_packages’
Warning message:
In install.packages(c("data.table", "jsonlite", "Matrix", "R6",  :
  installation of package ‘data.table’ had non-zero exit status

Full logs: https://github.com/microsoft/LightGBM/runs/1946047294?check_suite_focus=true.

@StrikerRUS
Copy link
Collaborator Author

cc @jameslamb

@StrikerRUS
Copy link
Collaborator Author

I guess we just should wait for compiled binary version from CRAN.

@jameslamb
Copy link
Collaborator

it is pretty strange, since only the R 3.6 jobs are failing, even though Mac binaries for the newest {data.table} version are not available for R 4.0.

image

https://cran.r-project.org/web/packages/data.table/index.html

@jameslamb
Copy link
Collaborator

I think this issue will resolve itself when the {data.table} binaries are up, but I've also opened #4010 with a proposal to prevent this in the future. I was able to reproduce the issue on my Mac and fix it with the proposal in that PR.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot removed the blocking label Aug 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants