Aeternity build error

When I tried to build the https://github.com/aeternity/aeternity, I alwasy gets an error as follows.


make[1]: Entering directory ‘/mnt/d/aeternity’
===> Fetching swagger_endpoints (from {git,“https://github.com/aeternity/swagger_endpoints”,
{ref,“47f1b7a”}})

[core]
===> Fetching jesse (from {git,“https://github.com/for-GET/jesse.git”,
{ref,“9126f3db675977f11da8da9b61dd4003f8449618”}})
===> Fetching jsx v2.9.0
===> Fetching yamerl v0.6.0
===> Skipping jsx (from {git,“git://github.com/talentdeficit/jsx.git”,{tag,“2.9.0”}}) as an app of the same name has already been fetched
===> Fetching rfc3339 (from {git,“git://github.com/andreineculau/rfc3339.git”,
{tag,“0.2.1-r15-compat”}})
===> Errors loading plugin {swagger_endpoints,
{git,
https://github.com/aeternity/swagger_endpoints”,
{ref,“47f1b7a”}}}. Run rebar3 with DEBUG=1 set to see errors.
===> Fetching aesophia_rebar_plugin (from {git,“https://github.com/aeternity/aesophia_rebar_plugin”,
{ref,“df113cc”}})
===> Fetching aesophia_aci_encoder (from {git,“https://github.com/aeternity/aesophia_aci_encoder”,
{ref,“41d0427391ad9c153a5af1a4dcb9b361c4f425b0”}})
===> Fetching aesophia_cli (from {git,“git://github.com/aeternity/aesophia_cli”,
{ref,“37e3ac85d912d953ff76e3022fdbef9ab8742569”}})
===> Errors loading plugin {aesophia_rebar_plugin,
{git,
https://github.com/aeternity/aesophia_rebar_plugin”,
{ref,“df113cc”}}}. Run rebar3 with DEBUG=1 set to see errors.
===> Verifying dependencies…
===> Fetching aesophia (from {git,“https://github.com/aeternity/aesophia.git”,
{tag,“v6.0.0”}})
===> Fetching aesophia_cli (from {git,“git://github.com/aeternity/aesophia_cli”,
{tag,“v6.0.0”}})
===> Failed to fetch and copy dep: {git,“git://github.com/aeternity/aesophia_cli”,
{tag,“v6.0.0”}}
make[1]: *** [Makefile:411: internal-compile-deps] Error 1
make[1]: Leaving directory ‘/mnt/d/aeternity’
make: *** [Makefile:230: ct-iris] Error 2


I know a work around for it is to change all git:// url in the project into https://. Besides this approach, is there other better way?

Below are the steps to reproduce the error.

  1. Checkout repository.
    git cloen https://github.com/aeternity/aeternity
    cd aeternity
    git checkout v6.3.0

  2. Build
    make local-build

Hey there, what guide are you following? Are you sure you have all the libraries needed before doing that?

https://docs.aeternity.io/en/stable/build/

1 Like

Hi @ae-omar , The steps in https://docs.aeternity.io/en/stable/build works in v6.2.0, doesn’t work for v6.3.0.

1 Like

What error are you getting now?

is this the Apple M1 problem again? didn’t check the logs. just wondering

I met the error in office, and not at home. I know where the problem is: my company has blocked the git protocal port 9418.

3 Likes