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

rebar.config: Fix deps syntax #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pespin
Copy link

@pespin pespin commented Oct 26, 2023

  • Fix git:// protocol not available anymore on github.
  • Fix following warning from rebar3: "WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref, Ref}, otherwise updating the dep may not work as expected."

* Fix git:// protocol not available anymore on github.
* Fix following warning from rebar3:
"WARNING: It is recommended to use {branch, Name}, {tag, Tag} or {ref,
Ref}, otherwise updating the dep may not work as expected."
It also fixes a compile error during build with OTP-26:
"""
===> Compiling _build/default/lib/gen_netlink/src/netlink_cache.erl failed
_build/default/lib/gen_netlink/src/netlink_cache.erl:none: error in parse transform 'lager_transform':
exception error: bad argument
  in function  integer_to_list/1
     called as integer_to_list({105,5})
     *** argument 1: not an integer
  in call from lager_transform:make_varname/2 (/gtp_u_kmod/_build/default/lib/lager/src/lager_transform.erl, line 241)
  in call from lager_transform:do_transform/5 (/gtp_u_kmod/_build/default/lib/lager/src/lager_transform.erl, line 180)
  in call from lager_transform:walk_body/2 (/gtp_u_kmod/_build/default/lib/lager/src/lager_transform.erl, line 83)
  in call from lager_transform:walk_clauses/2 (/gtp_u_kmod/_build/default/lib/lager/src/lager_transform.erl, line 78)
  in call from lager_transform:walk_ast/2 (/gtp_u_kmod/_build/default/lib/lager/src/lager_transform.erl, line 60)
  in call from compile:foldl_transform/3 (compile.erl, line 1195)
  in call from compile:fold_comp/4 (compile.erl, line 410)
"""
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

Successfully merging this pull request may close these issues.

1 participant