You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2024/05/31 13:06:00 UTC
[jira] [Comment Edited] (BIGTOP-4114) Fix build failure of Hadoop and Alluxio due to node-gyp error on rockylinux-8 and fedora-38 aarch64
[ https://issues.apache.org/jira/browse/BIGTOP-4114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17851049#comment-17851049 ]
Masatake Iwasaki edited comment on BIGTOP-4114 at 5/31/24 1:05 PM:
-------------------------------------------------------------------
Unfortunately we seem to need python2 for rebuilding native libraries required for (old?) node-spss by node-gyp. {{/usr/bin/python}} pointing to {{/usr/bin/pytyon3}} did not fix this. /usr/bin/python was not needed if /usr/bin/python2 exists.
{noformat}
[INFO] gyp verb check python checking for Python executable "python" in the PATH
[INFO] gyp verb `which` succeeded python /usr/bin/python
[INFO] gyp ERR! configure error
[INFO] gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
[INFO] gyp ERR! stack File "<string>", line 1
[INFO] gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
[INFO] gyp ERR! stack ^
[INFO] gyp ERR! stack SyntaxError: invalid syntax
[INFO] gyp ERR! stack
[INFO] gyp ERR! stack at ChildProcess.exithandler (child_process.js:308:12)
[INFO] gyp ERR! stack at ChildProcess.emit (events.js:314:20)
[INFO] gyp ERR! stack at maybeClose (internal/child_process.js:1022:16)
[INFO] gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:444:11)
[INFO] gyp ERR! stack at Socket.emit (events.js:314:20)
[INFO] gyp ERR! stack at Pipe.<anonymous> (net.js:675:12)
[INFO] gyp ERR! System Linux 4.18.0-425.3.1.el8.aarch64
[INFO] gyp ERR! command "/home/rocky/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node/node" "/home/rocky/srcs/bigtop/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/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
[INFO] gyp ERR! cwd /home/rocky/srcs/bigtop/build/hadoop/rpm/BUILD/hadoop-3.3.6-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/target/webapp/node_modules/node-sass
{noformat}
was (Author: iwasakims):
Unfortunately we seem to need python2 for rebuilding native libraries required for (old?) node-spss by node-gyp. {{/usr/bin/python}} pointing to {{/usr/bin/pytyon3}} did not fix this. /usr/bin/python was not needed if /usr/bin/python2 exists.
> Fix build failure of Hadoop and Alluxio due to node-gyp error on rockylinux-8 and fedora-38 aarch64
> ---------------------------------------------------------------------------------------------------
>
> Key: BIGTOP-4114
> URL: https://issues.apache.org/jira/browse/BIGTOP-4114
> Project: Bigtop
> Issue Type: Improvement
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> hadoop-yan-ui failed due to build error by node-gyp. Only rockylinux-8 and fedora-38 on aarch64 are affected. Other platforms seem not to need rebuilding of native libraries.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)