Skip to content

Commit

Permalink
rebar.config: Use latest upstream tag release for lager dep
Browse files Browse the repository at this point in the history
It also fixes a compile error during build with OTP-26:
"""
===> Compiling src/netlink_queue.erl failed
src/netlink_queue.erl:none: error in parse transform 'lager_transform':
exception error: bad argument
  in function  integer_to_list/1
     called as integer_to_list({80,6})
     *** argument 1: not an integer
  in call from lager_transform:make_varname/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 241)
  in call from lager_transform:do_transform/5 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 180)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 109)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 109)
  in call from lager_transform:transform_statement/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 107)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 109)
  in call from lager_transform:'-transform_statement/2-lc$^0/1-0-'/2 (/home/pespin/dev/git/gen_netlink/_build/default/lib/lager/src/lager_transform.erl, line 109)
"""
  • Loading branch information
pespin committed Oct 26, 2023
1 parent 92b36d3 commit 72cc51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
{lager_extra_sinks, [netlink]}]}.

{deps, [
{lager, ".*", {git, "https://github.com/basho/lager", {tag, "3.2.1"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.2"}}},
{gen_socket, ".*", {git, "https://github.com/travelping/gen_socket", {branch, "master"}}}
]}.

0 comments on commit 72cc51a

Please sign in to comment.