minimal protocols support now needs RIP?
Hello, I'm not the FreeBSD port maintainer for bird, however did wrote the initial bird2 port. In there I created the interface to "assemble" which protocols you wish, by un/checking checkboxes. This allows to only support what's needed. That worked all fine untill 2.0.3, but now I get stuck with this: BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: System configuration: ./sysdep/cf/bsd.h Debugging: no POSIX threads: yes
Routing protocols: bgp static Kernel MPLS support: no Client: yes ===> Building for bird2-2.0.3 gmake[2]: Entering directory '/usr/ports/net/bird2/work/bird-2.0.3' /bin/sh: git: not found MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bgp obj/proto/static obj/sysdep/unix obj/sysdep/bsd obj/doc gm4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y obj/.dir-stamp filter/config.Y nest/config.Y proto/bgp/config.Y proto/static/config.Y sysdep/unix/config.Y sysdep/unix/krt.Y sysdep/bsd/krt-sock.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: 8 nonterminals useless in grammar [-Wother] conf/gen_parser.m4: warning: 29 rules useless in grammar [-Wother] conf/confbase.Y:337.1-4: warning: nonterminal useless in grammar: time [-Wother] time: ^^^^ nest/config.Y:363.1-3: warning: nonterminal useless in grammar: tos [-Wother]
However, installing goes well with: BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: System configuration: ./sysdep/cf/bsd.h Debugging: no POSIX threads: yes
Routing protocols: bgp rip static Kernel MPLS support: no Client: yes ===> Building for bird2-2.0.3 gmake[2]: Entering directory '/usr/ports/net/bird2/work/bird-2.0.3' /bin/sh: git: not found MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bgp obj/proto/rip obj/proto/static obj/sysdep/unix obj/sysdep/bsd obj/doc gm4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y obj/.dir-stamp filter/config.Y nest/config.Y proto/bgp/config.Y proto/rip/config.Y proto/static/config.Y sysdep/unix/config.Y sysdep/unix/krt.Y sysdep/bsd/krt-sock.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: 2 shift/reduce conflicts [-Wconflicts-sr] echo >obj/sysdep/paths.h "/* Generated by Makefile, don't edit manually! */" echo >>obj/sysdep/paths.h "#define PATH_CONFIG_FILE \"/usr/local/etc/bird.conf\"" echo >>obj/sysdep/paths.h "#define PATH_CONTROL_SOCKET \"/var/run/bird.ctl\"" if test -n "" ; then echo >>obj/sysdep/paths.h "#define PATH_IPROUTE_DIR \"\"" ; fi CC -o obj/conf/cf-parse.tab.o -c obj/conf/cf-parse.tab.c nest/config.Y:330:25: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign etc, etc. only warnings, but in the end all fine.
-- Met vriendelijke groet, With kind regards, Leo Vandewoestijne <***@dns.company> <www.dns.company>
On Mon, Feb 11, 2019 at 09:06:59AM +0000, Leo Vandewoestijne wrote:
Hello,
I'm not the FreeBSD port maintainer for bird, however did wrote the initial bird2 port. In there I created the interface to "assemble" which protocols you wish, by un/checking checkboxes. This allows to only support what's needed. That worked all fine untill 2.0.3, but now I get stuck with this:
Hello It seems like bison is stuck when there are unused rules related to passwords (even with rip when iface password option is removed). Seems like we hit some bug in bison, as having useless rules/nonterminals should be ok AFAIK. I am not sure how/why that is related to 2.0.3, as the similar cf-parse.y whould happen with most versions. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Leo Vandewoestijne -
Ondrej Zajicek