Skip to content

Build broken with OTP 21: use of the deprecated get_stacktrace/0 in dependency meck #260

Open
@yati-sagade

Description

@yati-sagade

get_stacktrace/0 has been removed since OTP 21. The upstream meck project (https://github.com/eproxus/meck) has addressed this, can you please update your fork if possible?

This is the error I see when I try to build:

$ make
...
==> meck (compile)
Compiled src/meck_history.erl
Compiled src/meck_proc.erl
/home/ysagade/bitcask/deps/meck/src/meck_code_gen.erl:182: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
ERROR: compile failed while processing /home/ysagade/bitcask/deps/meck: rebar_abort
make: *** [Makefile:16: compile] Error 1

Do I need to downgrade? Or can m

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions