tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

updating rebar3 (wip/rebar3), erlang help?


I'm trying to update rebar3 for wip/gleam.

I can't figure out where the build process of rebar3 makes a call to
update bbmustache from

When I comment the "false" match condition of fetch/2 in line 86 of
bootstrap, or when I leave it uncommented and add a print statement I
see that it's not in fetch itself.

I'm new to debugging Erlang code, so any help is appreciated.

I can't apply what Nix does in nixpkgs, they seem to manage to skip this
with a more complicated bootstrap including a self-written bootstrap
script for the bootstrap.


escript ./bootstrap
Dependency providers already exists
Dependency getopt already exists
Dependency cf already exists
Dependency erlware_commons already exists
Dependency parse_trans already exists
Dependency certifi already exists
===> Expanded command sequence to be run: [{default,app_discovery},
===> Provider: {default,app_discovery}
===> Evaluating config script
===> Evaluating config script
===> Provider: {default,install_deps}
===> Verifying dependencies...
===> Hex get_package request failed: {error,
                                                  "TLS client: In state
certify at ssl_handshake.erl:377 generated CLIENT ALERT: Fatal -
Internal Error\n {unexpected_error,undef}"}}}]}}
===> Failed to update package bbmustache from repo hexpm
escript: exception error: no match of right hand side value
  in function  erl_eval:expr/5 (erl_eval.erl, line 453)
  in call from escript:eval_exprs/5 (escript.erl, line 872)
  in call from erl_eval:local_func/6 (erl_eval.erl, line 567)
  in call from escript:interpret/4 (escript.erl, line 788)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1
  in call from init:do_boot/3
*** Error code 127

make[1]: stopped in /usr/pkgsrc/wip/rebar3
*** Error code 1

make: stopped in /usr/pkgsrc/wip/rebar3

Home | Main Index | Thread Index | Old Index