Unable to build Bird2 with --with-protocols=bgp

Maria Matějka maria.matejka at nic.cz
Fri May 22 21:31:55 CEST 2020


Hello!
This may be a bug in protocol selection as we don't care much about builds with a subset of protocols. Will check it.
Maria

On May 22, 2020 4:55:23 PM GMT+02:00, Nabeel Omer <me at nabeelomer.me> wrote:
>Hi Everyone,
>
>I am trying to build Bird2 with `./configure --with-protocols=bgp` and
>it prints the following information:
>
>ubuntu at ip-172-26-14-214:~/bird$ make
>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
>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
>bison  -Dparse.lac=full -Dparse.error=verbose -dv -pcf_ -b
>obj/conf/cf-parse obj/conf/cf-parse.y
>conf/gen_parser.m4: warning: 11 nonterminals useless in grammar
>[-Wother]
>conf/gen_parser.m4: warning: 34 rules useless in grammar [-Wother]
>conf/confbase.Y:111.13-29: warning: nonterminal useless in grammar:
>label_stack_start [-Wother]
> %type <mls> label_stack_start label_stack
>             ^^^^^^^^^^^^^^^^^
>conf/confbase.Y:111.31-41: warning: nonterminal useless in grammar:
>label_stack [-Wother]
> %type <mls> label_stack_start label_stack
>                               ^^^^^^^^^^^
>conf/confbase.Y:107.22-25: warning: nonterminal useless in grammar:
>time [-Wother]
> %type <time> expr_us time
>                      ^^^^
>nest/config.Y:94.162-164: warning: nonterminal useless in grammar: tos
>[-Wother]
> 
>%token END CLI_MARKER INVALID_TOKEN ELSECOL DDOT
>                                                                    ^^^
>nest/config.Y:438.1-13: warning: nonterminal useless in grammar:
>password_list [-Wother]
>
>And gets stuck. Does not produce any further output and doesn’t quit.
>
>Ctrl+C produces the following output:
>
>conf/Makefile:23: recipe for target 'obj/conf/cf-parse.tab.c' failed
>make: *** [obj/conf/cf-parse.tab.c] Interrupt
>
>Does anyone have any idea about why this might be happening? I am able
>to build successfully without passing --with-protocols=bgp to autoconf.
>
>Thanks,
>Nabeel Omer
>https://nabeelomer.me

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200522/445d518a/attachment.htm>


More information about the Bird-users mailing list