<html><head></head><body>Hello!<br>This may be a bug in protocol selection as we don't care much about builds with a subset of protocols. Will check it.<br>Maria<br><br><div class="gmail_quote">On May 22, 2020 4:55:23 PM GMT+02:00, Nabeel Omer <me@nabeelomer.me> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi Everyone,<br><br>I am trying to build Bird2 with `./configure --with-protocols=bgp` and it prints the following information:<br><br>ubuntu@ip-172-26-14-214:~/bird$ make<br>MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bgp obj/sysdep/linux obj/sysdep/unix obj/doc<br>m4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y proto/bgp/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/cf-parse.y<br>bison  -Dparse.lac=full -Dparse.error=verbose -dv -pcf_ -b obj/conf/cf-parse obj/conf/cf-parse.y<br>conf/gen_parser.m4: warning: 11 nonterminals useless in grammar [-Wother]<br>conf/gen_parser.m4: warning: 34 rules useless in grammar [-Wother]<br>conf/confbase.Y:111.13-29: warning: nonterminal useless in grammar: label_stack_start [-Wother]<br> %type <mls> label_stack_start label_stack<br>             ^^^^^^^^^^^^^^^^^<br>conf/confbase.Y:111.31-41: warning: nonterminal useless in grammar: label_stack [-Wother]<br> %type <mls> label_stack_start label_stack<br>                               ^^^^^^^^^^^<br>conf/confbase.Y:107.22-25: warning: nonterminal useless in grammar: time [-Wother]<br> %type <time> expr_us time<br>                      ^^^^<br>nest/config.Y:94.162-164: warning: nonterminal useless in grammar: tos [-Wother]<br> <br>%token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT<br>                                                                                                                                                                  ^^^<br>nest/config.Y:438.1-13: warning: nonterminal useless in grammar: password_list [-Wother]<br><br>And gets stuck. Does not produce any further output and doesn’t quit.<br><br>Ctrl+C produces the following output:<br><br>conf/Makefile:23: recipe for target 'obj/conf/cf-parse.tab.c' failed<br>make: *** [obj/conf/cf-parse.tab.c] Interrupt<br><br>Does anyone have any idea about why this might be happening? I am able to build successfully without passing --with-protocols=bgp to autoconf.<br><br>Thanks,<br>Nabeel Omer<br><a href="https://nabeelomer.me">https://nabeelomer.me</a><br><br><br></pre></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>