Masatake Iwasaki created BIGTOP-4535:
----------------------------------------

             Summary: Fix installation failure of R packages in toolchain
                 Key: BIGTOP-4535
                 URL: https://issues.apache.org/jira/browse/BIGTOP-4535
             Project: Bigtop
          Issue Type: Bug
          Components: toolchain
            Reporter: Masatake Iwasaki
            Assignee: Masatake Iwasaki


Insifficient dependency causes installation failure of R packages on Fedora 40 
and openEuler 22.03. This resulted in build failure of Spark.

{noformat}
* installing *source* package ‘systemfonts’ ...
** package ‘systemfonts’ successfully unpacked and MD5 sums checked
** using staged installation
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'virtual:world', not found
Package 'freetype2', required by 'virtual:world', not found
Using PKG_CFLAGS=
Using PKG_LIBS=-lfontconfig -lfreetype
--------------------------- [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)
 * apk: harfbuzz-dev fribidi-dev (Alpine)
 * brew: freetype (OSX)
If fontconfig freetype2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a fontconfig freetype2.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: fontconfig/fontconfig.h: No such file or directory
compilation terminated.
--------------------------------------------------------------------
{noformat}
{noformat}
* installing *source* package ‘fs’ ...
** package ‘fs’ successfully unpacked and MD5 sums checked
** using staged installation
Package libuv was not found in the pkg-config search path.
Perhaps you should add the directory containing `libuv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libuv', required by 'virtual:world', not found
Using PKG_CFLAGS=
Using PKG_LIBS=-luv
--------------------------- [CONFIGURE] --------------------------------
Configuration failed because libuv was not found. Try installing:
 * deb: libuv1-dev (Debian, Ubuntu, etc)
 * rpm: libuv-devel (Fedora, EPEL)
 * brew: libuv (OSX)
Alternatively set environment variable USE_BUNDLED_LIBUV=1 to build a static
version of libuv that is included with this package.
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:10: fatal error: uv.h: No such file or directory
compilation terminated.
--------------------------------------------------------------------
{noformat}




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

Reply via email to