minimal protocols support now needs RIP?

Leo Vandewoestijne bird at unicycle.net
Mon Feb 11 10:06:59 CET 2019


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>


More information about the Bird-users mailing list