Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failing to install erlang for power on (ppc64le) architecture #1

Open
asellappen opened this issue Oct 8, 2020 · 4 comments
Open

Comments

@asellappen
Copy link

Trying to enhance travis build to support for power on (ppc64le) cpu architecture

The step to install erlang lanague is failing for ppc64le as below

wget -o aruwget_erlang.tar.bz2 https://storage.googleapis.com/travis-ci-language-archives/erlang/binaries/ubuntu/16.04/ppc64le/erlang-18.0-nonroot.tar.bz2

(python2.7.16) root@858d14965eb3:~/asellappen/averell# cat aruwget_erlang.tar.bz2
--2020-10-08 10:37:58-- https://storage.googleapis.com/travis-ci-language-archives/erlang/binaries/ubuntu/16.04/ppc64le/erlang-18.0-nonroot.tar.bz2
Resolving storage.googleapis.com (storage.googleapis.com)... 74.125.142.128, 74.125.20.128, 74.125.195.128, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|74.125.142.128|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-10-08 10:37:58 ERROR 404: Not Found.

the installation binary https://storage.googleapis.com/travis-ci-language-archives/erlang/binaries/ubuntu/16.04/ppc64le/erlang-18.0-nonroot.tar.bz2 is not found in storage ,Please help to enable this ?

@jeanparpaillon
Copy link
Owner

You should be able to use a more recent version of erlang

@asellappen
Copy link
Author

i have tried with latest versions as below
otp_release:

  • "23.0.2"
  • "22.3.4"

Its getting suc for downloading erlang now, however it fails to build as below

DEPEND averell.d
ERLC averell.erl averell_app.erl averell_cors.erl averell_cors_impl.erl averell_cors_policy.erl averell_handler.erl averell_infos.erl averell_log.erl averell_sup.erl
compile: warnings being treated as errors
src/averell_cors.erl:54: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
src/averell_cors.erl:207: erlang:get_stacktrace/0 is deprecated and will be removed in OTP 24; use use the new try/catch syntax for retrieving the stack backtrace
erlang.mk:4940: recipe for target 'ebin/averell.app' failed
make[1]: *** [ebin/averell.app] Error 1
erlang.mk:4758: recipe for target 'app' failed
make: *** [app] Error 2
The command "make" exited with 2.

@jeanparpaillon
Copy link
Owner

Code should be updated to comply with latest erlang apparently. erlang doc mention how to use the new syntax

@asellappen
Copy link
Author

thats true ,can you help to revise the package code ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants