-
Notifications
You must be signed in to change notification settings - Fork 1
Conda Forge build failures #3
Comments
R has switched to ucrt compilers last year. R versions 4.2 and up use a new toolchain system based on MXE, called rtools42. This rtools42 bundle includes all the system libraries. The ucrt version of R no longer downloads libraries from rwinlib, but instead uses gdal from rtools42. Put simply: compiling R packages with conda's msvcrt gcc is no longer supported. The only way to make things work well is switch your build system to a ucrt compiler; preferable the official rtools42 compiler bundle. See also: conda-forge/conda-forge.github.io#1654 (comment) |
based on this it seems you can also do
|
@rhijmans I think he is the maintainer of |
Oh that is funny. Sorry for the static! |
Thanks for sharing your insight and for the references! A point to clarify though is that the logged failures are for R 4.1 builds, which are still using the |
Conda Forge has been unable to build any R packages depending on this. Here is an example failure from the latest attempt at building the
terra
package:Example Build Failure
From searching, this seems like perhaps a UCRT version issue (unsure - I don't use Windows myself). Do you have any insights into what is going on here and how to address it?
The text was updated successfully, but these errors were encountered: