benoitc / erlang-idna

Erlang IDNA lib
MIT License
43 stars 29 forks source link

can not compile because of misssing dependency unicode_util_compat-0.2.0 #17

Closed mbike2000ru closed 7 years ago

mbike2000ru commented 7 years ago

Hello

I came across an error while compiling: ==> idna (compile) Dependency not available: unicode_util_compat-0.2.0 (undefined) ERROR: compile failed while processing /var/lib/jenkins/jobs/TEST_acceptor/workspace/acceptor/deps/idna: rebar_abort

benoitc commented 7 years ago

i've no error with the latest version right now. how can i reproduce it?

mbike2000ru commented 7 years ago

in my rebar.config I have: {hackney, ".*", {git, "https://github.com/benoitc/hackney.git", "HEAD"}} and it automatically pulls idna

benoitc commented 7 years ago

hrm ci of hackney is working with latest idna, so is local code. Are you on windows or maybe a rebar.lock fetching an old version?

-- Benoit Chesneau

On 5 June 2017 at 07:43:15, mbike2000ru (notifications@github.com) wrote:

in my rebar.config I have: {hackney, ".*", {git, "https://github.com/benoitc/hackney.git", "HEAD"}} and it automatically pulls idna

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/benoitc/erlang-idna/issues/17#issuecomment-306108012, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA4onMqvz4-JjaJb1sVnXPAeLShncm2ks5sA5VzgaJpZM4NvqDh .

mbike2000ru commented 7 years ago

I am on Ubuntu Linux

benoitc commented 7 years ago

I'm not reproducing it. Did you tried from a fresh build ? Also don't use head but the tagged version to make things simpler.

mbike2000ru commented 7 years ago

I made {hackney, ".*", {git, "https://github.com/benoitc/hackney.git", {tag,"1.8.5"}}}

but it still gives a dependency error during compilation

benoitc commented 7 years ago

i still not reproducing the error, even on barrel. Are you sure you actually upgraded idna, sometimes the rebar.lock is using an old version. Also make sure to clean the _build folder.