Skip to content

Compiling folsomite error #646

Open
Open

Description

@amit-siddhu

Compiling /home/disco/master/deps/folsomite/src/folsomite_graphite_client.erl failed:
/home/disco/master/deps/folsomite/src/folsomite_graphite_client.erl:none: error in parse transform 'lager_transform': {function_clause,
[{lager_transform,
'-walk_ast/2-fun-0-',
[{typed_record_field,
{record_field,21,
{atom,21,tcp_socket}},
{remote_type,21,
[{atom,21,inet},
{atom,21,socket},
[]]}}],
[{file,
"src/lager_transform.erl"},
{line,60}]},
{lists,map,2,
[{file,"lists.erl"},
{line,1239}]},
{lager_transform,walk_ast,2,
[{file,
"src/lager_transform.erl"},
{line,60}]},
{compile,
'-foldl_transform/2-anonymous-2-',
2,
[{file,"compile.erl"},
{line,964}]},
{compile,foldl_transform,2,
[{file,"compile.erl"},
{line,966}]},
{compile,
'-internal_comp/4-anonymous-1-',
2,
[{file,"compile.erl"},
{line,321}]},
{compile,fold_comp,3,
[{file,"compile.erl"},
{line,347}]},
{compile,internal_comp,4,
[{file,"compile.erl"},
{line,331}]}]}
ERROR: compile failed while processing /home/disco/master/deps/folsomite: rebar_abort

Activity

  1. amit-siddhu commented on Feb 2, 2017

    @amit-siddhu
    Author

    Erlang - 19
    Rebar - 2.2.0

    I managed to compile against erlang 18.3 but after handling many deprecation issues.

  2. added a commit that references this issue on Feb 2, 2017
    4763ac8
  3. jackieduckie commented on Aug 22, 2017

    @jackieduckie

    I'm running into the same issue on Erlang - 20, Rebar 3.5.1

  4. jackieduckie commented on Aug 23, 2017

    @jackieduckie

    ==> goldrush (get-deps)
    ==> lager (get-deps)
    ==> bear (get-deps)
    ==> meck (get-deps)
    ==> folsom (get-deps)
    ==> folsomite (get-deps)
    ==> plists (get-deps)
    ==> mochiweb (get-deps)
    ==> master (get-deps)
    ==> goldrush (compile)
    ==> lager (compile)
    ==> bear (compile)
    ==> meck (compile)
    ==> folsom (compile)
    ==> folsomite (compile)
    Compiling /Users/RuiningDong/disco/master/deps/folsomite/src/folsomite_graphite_client.erl failed:
    /Users/RuiningDong/disco/master/deps/folsomite/src/folsomite_graphite_client.erl:none: error in parse transform 'lager_transform': {function_clause,
    [{lager_transform,
    '-walk_ast/2-fun-0-',
    [{typed_record_field,
    {record_field,21,
    {atom,21,tcp_socket}},
    {remote_type,21,
    [{atom,21,inet},
    {atom,21,socket},
    []]}}],
    [{file,
    "src/lager_transform.erl"},
    {line,60}]},
    {lists,map,2,
    [{file,"lists.erl"},
    {line,1239}]},
    {lager_transform,walk_ast,2,
    [{file,
    "src/lager_transform.erl"},
    {line,60}]},
    {compile,
    '-foldl_transform/3-anonymous-2-',
    3,
    [{file,"compile.erl"},
    {line,1038}]},
    {compile,foldl_transform,3,
    [{file,"compile.erl"},
    {line,1041}]},
    {compile,
    '-internal_comp/5-anonymous-1-',
    3,
    [{file,"compile.erl"},
    {line,342}]},
    {compile,fold_comp,4,
    [{file,"compile.erl"},
    {line,369}]},
    {compile,internal_comp,5,
    [{file,"compile.erl"},
    {line,353}]}]}
    ERROR: compile failed while processing /Users/RuiningDong/disco/master/deps/folsomite: rebar_abort
    make: *** [master] Error 1

  5. jackieduckie commented on Aug 29, 2017

    @jackieduckie

    Yes that solves part of the problem, combined with replacing now() with timestamp(), and updating the .config file of rebar, it works now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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