Skip to content

OTP 21 build failure #87

@ilovezfs

Description

@ilovezfs

HEAD @ aa2330a

==> ./configure --prefix=/usr/local/Cellar/wrangler/HEAD-aa2330a_1
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether make sets $(MAKE)... yes
checking for erlc... /usr/local/opt/erlang/bin/erlc
checking for erl... /usr/local/opt/erlang/bin/erl
checking for erlc... /usr/local/opt/erlang/bin/erlc
configure: found 64-bit Erlang
checking for Erlang/OTP library installation base directory... ${exec_prefix}/lib/erlang/lib
configure: creating ./config.status
config.status: creating Makefile
config.status: creating c_src/suffixtree/Makefile
config.status: creating c_src/gsuffixtree/Makefile
==> make
"/usr/local/opt/erlang/bin/erlc" -o src src/wrangler_parse.yrl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_parse.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_expand_rule.erl
src/wrangler_expand_rule.erl:7: Warning: export_all flag enabled - all functions will be exported
src/wrangler_expand_rule.erl:542: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_scan.erl
src/wrangler_scan.erl:28: Warning: export_all flag enabled - all functions will be exported
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_epp_dodger.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_syntax.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_syntax_lib.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/wrangler_misc.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/api_ast_traverse.erl
"/usr/local/opt/erlang/bin/erlc" -pa ebin -I include -W -o ebin +debug_info src/api_refac.erl
src/api_refac.erl: error in parse transform 'wrangler_expand_rule': {{badrecord,class_qualifier},
                                                  [{erl_syntax,
                                                    class_qualifier_argument,
                                                    1,
                                                    [{file,"erl_syntax.erl"},
                                                     {line,6779}]},
                                                   {erl_syntax,subtrees,1,
                                                    [{file,"erl_syntax.erl"},
                                                     {line,7766}]},
                                                   {wrangler_expand_rule,
                                                    '-transform/4-fun-0-',4,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,527}]},
                                                   {wrangler_expand_rule,map,
                                                    2,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,558}]},
                                                   {wrangler_expand_rule,
                                                    '-transform/4-fun-0-',4,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,532}]},
                                                   {wrangler_expand_rule,map,
                                                    2,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,558}]},
                                                   {wrangler_expand_rule,map,
                                                    2,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,564}]},
                                                   {wrangler_expand_rule,
                                                    '-transform/4-fun-0-',4,
                                                    [{file,
                                                      "src/wrangler_expand_rule.erl"},
                                                     {line,532}]}]}
make: *** [ebin/api_refac.beam] Error 1
rm src/wrangler_parse.erl

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