Masatake Iwasaki created BIGTOP-4421: ----------------------------------------
Summary: Fix build failure of Hadoop and Alluxio due to node-gyp error on rockylinux-9 Key: BIGTOP-4421 URL: https://issues.apache.org/jira/browse/BIGTOP-4421 Project: Bigtop Issue Type: Bug Reporter: Masatake Iwasaki Assignee: Masatake Iwasaki Looks like same with BIGTOP-4114. We need python2 for rebuilding native libraries required for old node-spss by node-gyp. {noformat} [INFO] gyp ERR! configure error [INFO] gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. [INFO] gyp ERR! stack at PythonFinder.failNoPython (/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/lib/configure.js:484:19) [INFO] gyp ERR! stack at PythonFinder.<anonymous> (/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_modules/node-gyp/lib/configure.js:406:16) [INFO] gyp ERR! stack at F (/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:68:16) [INFO] gyp ERR! stack at E (/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:80:29) [INFO] gyp ERR! stack at /bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/which/which.js:89:16 [INFO] gyp ERR! stack at /bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/index.js:42:5 [INFO] gyp ERR! stack at /bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/isexe/mode.js:8:5 [INFO] gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21) [INFO] gyp ERR! System Linux 6.10.14-linuxkit [INFO] gyp ERR! command "/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/node" "/bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass/node_module\ s/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" [INFO] gyp ERR! cwd /bigtop-home/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass [INFO] gyp ERR! node -v v12.22.1 [INFO] gyp ERR! node-gyp -v v3.8.0 [INFO] gyp ERR! not ok {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010)