Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-39831][BUILD] Fix R dependencies installation failure
### What changes were proposed in this pull request? move `libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev` from Install dependencies for documentation generation to Install R linter dependencies and SparkR Update after apache#37243: **add `apt update` before installation.** ### Why are the changes needed? to make CI happy Install R linter dependencies and SparkR started to fail after devtools_2.4.4 was released. ``` --------------------------- [ANTICONF] -------------------------------- Configuration failed to find the fontconfig freetype2 library. Try installing: * deb: libfontconfig1-dev (Debian, Ubuntu, etc) * rpm: fontconfig-devel (Fedora, EPEL) * csw: fontconfig_dev (Solaris) * brew: freetype (OSX) it seems that libfontconfig1-dev is needed now. ``` also refer to r-lib/systemfonts#35 (comment) ### Does this PR introduce any user-facing change? No ### How was this patch tested? CI passed Closes apache#37247 from Yikun/patch-25. Lead-authored-by: Ruifeng Zheng <[email protected]> Co-authored-by: Yikun Jiang <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
- Loading branch information