[
https://issues.apache.org/jira/browse/AMBARI-20534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17343747#comment-17343747
]
Martin Tzvetanov Grigorov commented on AMBARI-20534:
----------------------------------------------------
I've just tried to build Ambari master on Linux ARM64 and it failed with:
{code:java}
INFO]
[INFO] --- frontend-maven-plugin:1.4:yarn (yarn install) @ ambari-web ---
[INFO] Running 'yarn install --ignore-engines --pure-lockfile' in
/home/ubuntu/git/apache/ambari/ambari-web
[INFO] yarn install v0.23.2
[ERROR] warning [email protected]: No license field
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[ERROR] warning [email protected]: The platform "linux" is incompatible with this
module.
[INFO] info "[email protected]" is an optional dependency and failed compatibility
check. Excluding it from installation.
[ERROR] warning [email protected]: The platform "linux" is incompatible with this
module.
[INFO] info "[email protected]" is an optional dependency and failed compatibility
check. Excluding it from installation.
[INFO] [3/4] Linking dependencies...
[INFO] [4/4] Building fresh packages...
[ERROR] error
/home/ubuntu/git/apache/ambari/ambari-web/node_modules/phantomjs-prebuilt:
Command failed.
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation
about this command.
[ERROR] Exit code: 1
[ERROR] Command: sh
[ERROR] Arguments: -c node install.js
[ERROR] Directory:
/home/ubuntu/git/apache/ambari/ambari-web/node_modules/phantomjs-prebuilt
[ERROR] Output:
[ERROR] PhantomJS not found on PATH
[ERROR] Unexpected platform or architecture: linux/arm64
[ERROR] It seems there is no binary available for your platform/architecture
[ERROR] Try to install PhantomJS globally
[INFO] ------------------------------------------------------------------------
{code}
There is no PhantomJS binary for aarch64! And PhantomJS is not maintained since
several years so there is no chance that it will be improved.
I'll see whether it could be replaced with something more modern.
> Enable Ambari builds on ARM64 and PPC
> -------------------------------------
>
> Key: AMBARI-20534
> URL: https://issues.apache.org/jira/browse/AMBARI-20534
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-admin, ambari-web
> Affects Versions: 2.4.2
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Priority: Major
> Fix For: 3.0.0
>
> Attachments: AMBARI-20534.patch.txt
>
>
> Currently Ambari fails to build on ARM64 and PPC in big part because of
> dependency on the old version of com.github.eirslett:frontend-maven-plugin
> Bumping the version to 1.3 solves this issue and doesn't seem to affect the
> build in any other way.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)