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

Is rebar supported ? #509

Closed
silviucpp opened this issue May 24, 2018 · 7 comments
Closed

Is rebar supported ? #509

silviucpp opened this issue May 24, 2018 · 7 comments

Comments

@silviucpp
Copy link

Hello,

Right now only rebar3 seems working on master. old rebar is broken even if is still used in lot of projects.

Looking on the repo I think you are still support rebar as time in rebar.config.script some deps are specified.

But seems idna doesn't support it and unicode_util_compat fails to download.

Silviu

@benoitc
Copy link
Owner

benoitc commented May 25, 2018

that's possible. Can you post the trace you had?

@silviucpp
Copy link
Author

rebar get-deps

==> hackney (get-deps)
Pulling idna from {git,"https://github.com/benoitc/erlang-idna",{tag,"5.1.1"}}
Cloning into 'idna'...
Pulling mimerl from {git,"https://github.com/benoitc/mimerl",{tag,"1.0.2"}}
Cloning into 'mimerl'...
Pulling certifi from {git,"https://github.com/certifi/erlang-certifi",
                          {tag,"2.3.1"}}
Cloning into 'certifi'...
Pulling metrics from {git,"https://github.com/benoitc/erlang-metrics",
                          {tag,"1.0.1"}}
Cloning into 'metrics'...
Pulling ssl_verify_fun from {git,"https://github.com/deadtrickster/ssl_verify_fun.erl",
                                 {tag,"1.1.1"}}
Cloning into 'ssl_verify_fun'...
==> idna (get-deps)
==> mimerl (get-deps)
==> certifi (get-deps)
==> metrics (get-deps)
==> ssl_verify_fun (get-deps)

Compile:

 rebar compile
==> idna (compile)
Dependency not available: unicode_util_compat-0.3.1 (undefined)
ERROR: compile failed while processing /Desktop/hackney/deps/idna: rebar_abort

@benoitc benoitc closed this as completed in 8319244 Jun 9, 2018
@silviucpp
Copy link
Author

Hello,

I tested today on the master and still not working with different error:

Silviu:Desktop silviu.caragea$ git clone https://github.com/benoitc/hackney.git
Cloning into 'hackney'...
remote: Counting objects: 6047, done.
remote: Total 6047 (delta 0), reused 0 (delta 0), pack-reused 6047
Receiving objects: 100% (6047/6047), 6.08 MiB | 3.82 MiB/s, done.
Resolving deltas: 100% (4347/4347), done.
Silviu:Desktop silviu.caragea$ cd hackney/
Silviu:hackney silviu.caragea$ rebar get-deps
==> hackney (get-deps)
Pulling idna from {git,"https://github.com/benoitc/erlang-idna",{tag,"5.1.2"}}
Cloning into 'idna'...
Pulling mimerl from {git,"https://github.com/benoitc/mimerl",{tag,"1.0.2"}}
Cloning into 'mimerl'...
Pulling certifi from {git,"https://github.com/certifi/erlang-certifi",
                          {tag,"2.3.1"}}
Cloning into 'certifi'...
Pulling metrics from {git,"https://github.com/benoitc/erlang-metrics",
                          {tag,"1.0.1"}}
Cloning into 'metrics'...
Pulling ssl_verify_fun from {git,"https://github.com/deadtrickster/ssl_verify_fun.erl",
                                 {tag,"1.1.1"}}
Cloning into 'ssl_verify_fun'...
==> idna (get-deps)
Pulling unicode_util_compat from {git,"https://github.com/benoitc/unicode_util_compat.git",
                                      {tag,"0.3.1"}}
Cloning into 'unicode_util_compat'...
==> unicode_util_compat (get-deps)
==> mimerl (get-deps)
==> certifi (get-deps)
==> metrics (get-deps)
==> ssl_verify_fun (get-deps)
Silviu:hackney silviu.caragea$ rebar compile
==> unicode_util_compat (compile)
Compiled src/unicode_util_compat.erl
==> idna (compile)
Compiled src/idna_ucs.erl
Compiled src/idna.erl
Compiled src/punycode.erl
==> mimerl (compile)
Compiled src/mimerl.erl
==> certifi (compile)
Dependency not available: parse_trans-3.2.0 (undefined)
ERROR: compile failed while processing /Users/silviu.caragea/Desktop/hackney/deps/certifi: rebar_abort
Silviu:hackney silviu.caragea$ 

This was referenced Jul 9, 2018
@benoitc benoitc reopened this Jul 10, 2018
@silviucpp
Copy link
Author

Any news on this ?

@benoitc
Copy link
Owner

benoitc commented Aug 3, 2018

@silviucpp see my answer in certifi/erlang-certifi#29 . I will take care of it and do a release on monday.

@benoitc
Copy link
Owner

benoitc commented Sep 3, 2018

change have been done in erlang-certifi. a release will land later today.

@silviucpp
Copy link
Author

Close this because works fine now !

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