Problem installation on FreeBSD 13.2
David S.
david at zeromail.us
Fri Nov 10 09:05:58 CET 2023
Dear Lists,
I'm trying to install a bird-2.14 from the source on FreeBSD 13.2 and found
the following error message:
make[1]: "/root/installer/bird-2.14/Makefile" line 45: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 47: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 49: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 51: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 53: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 56: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 59: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 61: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 63: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 93: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 95: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 97: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 99: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 102: Invalid line type
make[1]: /root/installer/bird-2.14/: read error: Is a directory
Step to reproduce the issue:
1. Download Bird-2.14 from https://bird.network.cz/download/bird-2.14.tar.gz
2. tar -zxvf bird-2.14.tar.gz
3. cd bird-2.14
4. ./configure
5. gmake
Please see the attached file for the details
Thank you.
Best regards,
David S.
------------------------------------------------
e. david at zeromail.us
w. pnyet.web.id
p. 087881216110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20231110/21f56f57/attachment.htm>
-------------- next part --------------
fatal: not a git repository (or any of the parent directories): .git
MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/aggregator obj/proto/bfd obj/proto/babel obj/proto/bgp obj/proto/l3vpn obj/proto/mrt obj/proto/ospf obj/proto/perf obj/proto/pipe obj/proto/radv obj/proto/rip obj/proto/rpki obj/proto/static obj/sysdep/unix obj/sysdep/bsd obj/doc
gm4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/aggregator/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/config.Y proto/l3vpn/config.Y proto/mrt/config.Y proto/ospf/config.Y proto/perf/config.Y proto/pipe/config.Y proto/radv/config.Y proto/rip/config.Y proto/rpki/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
obj/conf/cf-parse.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
obj/conf/cf-parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
gm4 -s -P conf/gen_keywords.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/aggregator/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/config.Y proto/l3vpn/config.Y proto/mrt/config.Y proto/ospf/config.Y proto/perf/config.Y proto/pipe/config.Y proto/radv/config.Y proto/rip/config.Y proto/rpki/config.Y proto/static/config.Y sysdep/unix/config.Y sysdep/unix/krt.Y sysdep/bsd/krt-sock.Y >obj/conf/keywords.h
gm4 -s -P conf/gen_commands.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y nest/mpls.Y proto/aggregator/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/config.Y proto/l3vpn/config.Y proto/mrt/config.Y proto/ospf/config.Y proto/perf/config.Y proto/pipe/config.Y proto/radv/config.Y proto/rip/config.Y proto/rpki/config.Y proto/static/config.Y sysdep/unix/config.Y sysdep/unix/krt.Y sysdep/bsd/krt-sock.Y >obj/conf/commands.h
gm4 -s -DTARGET=I -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-interpret.c
gm4 -s -DTARGET=H -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.h
GEN obj/nest/proto-build.c
GEN obj/sysdep/paths.h
CC -o obj/conf/cf-parse.tab.o -c obj/conf/cf-parse.tab.c
flex -f -s -B -8 -Pcf_ -oobj/conf/cf-lex.c conf/cf-lex.l
CC -o obj/conf/cf-lex.o -c obj/conf/cf-lex.c
CC -o obj/conf/conf.o -c conf/conf.c
CC -o obj/filter/filter.o -c filter/filter.c
CC -o obj/filter/data.o -c filter/data.c
CC -o obj/filter/f-util.o -c filter/f-util.c
CC -o obj/filter/tree.o -c filter/tree.c
CC -o obj/filter/trie.o -c filter/trie.c
gm4 -s -DTARGET=C -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.c
CC -o obj/filter/inst-gen.o -c obj/filter/inst-gen.c
CC -o obj/lib/bitmap.o -c lib/bitmap.c
CC -o obj/lib/bitops.o -c lib/bitops.c
CC -o obj/lib/blake2s.o -c lib/blake2s.c
CC -o obj/lib/blake2b.o -c lib/blake2b.c
CC -o obj/lib/checksum.o -c lib/checksum.c
CC -o obj/lib/event.o -c lib/event.c
CC -o obj/lib/flowspec.o -c lib/flowspec.c
CC -o obj/lib/idm.o -c lib/idm.c
CC -o obj/lib/ip.o -c lib/ip.c
CC -o obj/lib/lists.o -c lib/lists.c
CC -o obj/lib/mac.o -c lib/mac.c
CC -o obj/lib/md5.o -c lib/md5.c
CC -o obj/lib/mempool.o -c lib/mempool.c
CC -o obj/lib/net.o -c lib/net.c
CC -o obj/lib/patmatch.o -c lib/patmatch.c
CC -o obj/lib/printf.o -c lib/printf.c
CC -o obj/lib/resource.o -c lib/resource.c
CC -o obj/lib/sha1.o -c lib/sha1.c
CC -o obj/lib/sha256.o -c lib/sha256.c
CC -o obj/lib/sha512.o -c lib/sha512.c
CC -o obj/lib/slab.o -c lib/slab.c
CC -o obj/lib/slists.o -c lib/slists.c
CC -o obj/lib/strtoul.o -c lib/strtoul.c
CC -o obj/lib/tbf.o -c lib/tbf.c
CC -o obj/lib/timer.o -c lib/timer.c
CC -o obj/lib/xmalloc.o -c lib/xmalloc.c
CC -o obj/nest/a-path.o -c nest/a-path.c
CC -o obj/nest/a-set.o -c nest/a-set.c
CC -o obj/nest/cli.o -c nest/cli.c
CC -o obj/nest/cmds.o -c nest/cmds.c
CC -o obj/nest/iface.o -c nest/iface.c
CC -o obj/nest/locks.o -c nest/locks.c
CC -o obj/nest/mpls.o -c nest/mpls.c
CC -o obj/nest/neighbor.o -c nest/neighbor.c
CC -o obj/nest/password.o -c nest/password.c
CC -o obj/nest/proto.o -c nest/proto.c
CC -o obj/nest/proto-build.o -c obj/nest/proto-build.c
CC -o obj/nest/rt-attr.o -c nest/rt-attr.c
CC -o obj/nest/rt-dev.o -c nest/rt-dev.c
CC -o obj/nest/rt-fib.o -c nest/rt-fib.c
CC -o obj/nest/rt-show.o -c nest/rt-show.c
CC -o obj/nest/rt-table.o -c nest/rt-table.c
CC -o obj/proto/aggregator/aggregator.o -c proto/aggregator/aggregator.c
CC -o obj/proto/bfd/bfd.o -c proto/bfd/bfd.c
proto/bfd/bfd.c:920:14: warning: argument 1 of type 'int[2]' with mismatched bound [-Warray-parameter=]
920 | int pipe(int pipefd[2]);
| ~~~~^~~~~~~~~
In file included from /usr/local/include/libssh/libssh.h:63,
from ./lib/socket.h:17,
from proto/bfd/bfd.h:21,
from proto/bfd/bfd.c:103:
/usr/include/unistd.h:358:15: note: previously declared as 'int *'
358 | int pipe(int *);
| ^~~~~
CC -o obj/proto/bfd/io.o -c proto/bfd/io.c
CC -o obj/proto/bfd/packets.o -c proto/bfd/packets.c
CC -o obj/proto/babel/babel.o -c proto/babel/babel.c
CC -o obj/proto/babel/packets.o -c proto/babel/packets.c
CC -o obj/proto/bgp/attrs.o -c proto/bgp/attrs.c
CC -o obj/proto/bgp/bgp.o -c proto/bgp/bgp.c
CC -o obj/proto/bgp/packets.o -c proto/bgp/packets.c
CC -o obj/proto/l3vpn/l3vpn.o -c proto/l3vpn/l3vpn.c
CC -o obj/proto/mrt/mrt.o -c proto/mrt/mrt.c
CC -o obj/proto/ospf/dbdes.o -c proto/ospf/dbdes.c
CC -o obj/proto/ospf/hello.o -c proto/ospf/hello.c
CC -o obj/proto/ospf/iface.o -c proto/ospf/iface.c
CC -o obj/proto/ospf/lsack.o -c proto/ospf/lsack.c
CC -o obj/proto/ospf/lsalib.o -c proto/ospf/lsalib.c
CC -o obj/proto/ospf/lsreq.o -c proto/ospf/lsreq.c
CC -o obj/proto/ospf/lsupd.o -c proto/ospf/lsupd.c
CC -o obj/proto/ospf/neighbor.o -c proto/ospf/neighbor.c
CC -o obj/proto/ospf/ospf.o -c proto/ospf/ospf.c
CC -o obj/proto/ospf/packet.o -c proto/ospf/packet.c
CC -o obj/proto/ospf/rt.o -c proto/ospf/rt.c
CC -o obj/proto/ospf/topology.o -c proto/ospf/topology.c
CC -o obj/proto/perf/perf.o -c proto/perf/perf.c
CC -o obj/proto/pipe/pipe.o -c proto/pipe/pipe.c
CC -o obj/proto/radv/packets.o -c proto/radv/packets.c
CC -o obj/proto/radv/radv.o -c proto/radv/radv.c
CC -o obj/proto/rip/packets.o -c proto/rip/packets.c
CC -o obj/proto/rip/rip.o -c proto/rip/rip.c
CC -o obj/proto/rpki/rpki.o -c proto/rpki/rpki.c
CC -o obj/proto/rpki/packets.o -c proto/rpki/packets.c
CC -o obj/proto/rpki/tcp_transport.o -c proto/rpki/tcp_transport.c
CC -o obj/proto/rpki/ssh_transport.o -c proto/rpki/ssh_transport.c
CC -o obj/proto/rpki/transport.o -c proto/rpki/transport.c
CC -o obj/proto/static/static.o -c proto/static/static.c
CC -o obj/sysdep/unix/alloc.o -c sysdep/unix/alloc.c
CC -o obj/sysdep/unix/io.o -c sysdep/unix/io.c
In file included from ./sysdep/bsd/sysio.h:241,
from sysdep/unix/io.c:45:
./sysdep/bsd/setkey.h: In function 'sk_set_md5_in_sasp_db':
./sysdep/bsd/setkey.h:157:38: warning: operand of '?:' changes signedness from 'int' to 'uint' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
157 | uint dlen = (pxlen < 0) ? maxlen : pxlen;
| ^~~~~
sysdep/unix/io.c: In function 'sk_ssh_connect':
sysdep/unix/io.c:1170:7: warning: 'ssh_is_server_known' is deprecated [-Wdeprecated-declarations]
1170 | switch (ssh_is_server_known(s->ssh->session))
| ^~~~~~
In file included from ./lib/socket.h:17,
from sysdep/unix/io.c:37:
/usr/local/include/libssh/libssh.h:557:31: note: declared here
557 | SSH_DEPRECATED LIBSSH_API int ssh_is_server_known(ssh_session session);
| ^~~~~~~~~~~~~~~~~~~
sysdep/unix/io.c: In function 'sk_read_ssh':
sysdep/unix/io.c:1828:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations]
1828 | if (ssh_channel_select(rchans, NULL, NULL, &timev) == SSH_EINTR)
| ^~
/usr/local/include/libssh/libssh.h:559:31: note: declared here
559 | SSH_DEPRECATED LIBSSH_API int ssh_channel_select(ssh_channel *readchans, ssh_channel *writechans, ssh_channel *exceptchans, struct
| ^~~~~~~~~~~~~~~~~~
CC -o obj/sysdep/unix/krt.o -c sysdep/unix/krt.c
CC -o obj/sysdep/unix/log.o -c sysdep/unix/log.c
CC -o obj/sysdep/unix/main.o -c sysdep/unix/main.c
CC -o obj/sysdep/unix/random.o -c sysdep/unix/random.c
CC -o obj/sysdep/bsd/krt-sock.o -c sysdep/bsd/krt-sock.c
sysdep/bsd/krt-sock.c: In function 'krt_send_route':
sysdep/bsd/krt-sock.c:349:22: warning: passing argument 1 of 'sockaddr_fill_dl' from incompatible pointer type [-Wincompatible-pointer-types]
349 | sockaddr_fill_dl(&gate, i);
| ^~~~~
| |
| sockaddr * {aka struct sockaddr_bird *}
sysdep/bsd/krt-sock.c:210:38: note: expected 'struct sockaddr_dl *' but argument is of type 'sockaddr *' {aka 'struct sockaddr_bird *'}
210 | sockaddr_fill_dl(struct sockaddr_dl *sa, struct iface *ifa)
| ~~~~~~~~~~~~~~~~~~~~^~
sysdep/bsd/krt-sock.c: In function 'krt_read_ifannounce':
sysdep/bsd/krt-sock.c:641:64: warning: taking address of packed member of 'struct ks_msg' may result in an unaligned pointer value [-Waddress-of-packed-member]
641 | struct if_announcemsghdr *ifam = (struct if_announcemsghdr *)&msg->rtm;
| ^~~~~~~~~
sysdep/bsd/krt-sock.c: In function 'krt_read_ifinfo':
sysdep/bsd/krt-sock.c:668:47: warning: taking address of packed member of 'struct ks_msg' may result in an unaligned pointer value [-Waddress-of-packed-member]
668 | struct if_msghdr *ifm = (struct if_msghdr *)&msg->rtm;
| ^~~~~~~~~
sysdep/bsd/krt-sock.c: In function 'krt_read_addr':
sysdep/bsd/krt-sock.c:751:50: warning: taking address of packed member of 'struct ks_msg' may result in an unaligned pointer value [-Waddress-of-packed-member]
751 | struct ifa_msghdr *ifam = (struct ifa_msghdr *)&msg->rtm;
| ^~~~~~~~~
sysdep/bsd/krt-sock.c: In function 'krt_send_route':
sysdep/bsd/krt-sock.c:309:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
309 | if (ipa_nonzero(a->nh.gw))
| ^
sysdep/bsd/krt-sock.c:324:3: note: here
324 | case RTD_UNREACHABLE:
| ^~~~
sysdep/bsd/krt-sock.c: In function 'krt_read_msg':
sysdep/bsd/krt-sock.c:870:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
870 | if(!scan) return;
| ^
sysdep/bsd/krt-sock.c:871:5: note: here
871 | case RTM_ADD:
| ^~~~
LD -pthread -flto=4 -g -L/usr/local/lib -o bird obj/conf/cf-parse.tab.o obj/conf/cf-lex.o obj/conf/conf.o obj/filter/filter.o obj/filter/data.o obj/filter/f-util.o obj/filter/tree.o obj/filter/trie.o obj/filter/inst-gen.o obj/lib/bitmap.o obj/lib/bitops.o obj/lib/blake2s.o obj/lib/blake2b.o obj/lib/checksum.o obj/lib/event.o obj/lib/flowspec.o obj/lib/idm.o obj/lib/ip.o obj/lib/lists.o obj/lib/mac.o obj/lib/md5.o obj/lib/mempool.o obj/lib/net.o obj/lib/patmatch.o obj/lib/printf.o obj/lib/resource.o obj/lib/sha1.o obj/lib/sha256.o obj/lib/sha512.o obj/lib/slab.o obj/lib/slists.o obj/lib/strtoul.o obj/lib/tbf.o obj/lib/timer.o obj/lib/xmalloc.o obj/nest/a-path.o obj/nest/a-set.o obj/nest/cli.o obj/nest/cmds.o obj/nest/iface.o obj/nest/locks.o obj/nest/mpls.o obj/nest/neighbor.o obj/nest/password.o obj/nest/proto.o obj/nest/proto-build.o obj/nest/rt-attr.o obj/nest/rt-dev.o obj/nest/rt-fib.o obj/nest/rt-show.o obj/nest/rt-table.o obj/proto/aggregator/aggregator.o obj/proto/bfd/bfd.o obj/proto/bfd/io.o obj/proto/bfd/packets.o obj/proto/babel/babel.o obj/proto/babel/packets.o obj/proto/bgp/attrs.o obj/proto/bgp/bgp.o obj/proto/bgp/packets.o obj/proto/l3vpn/l3vpn.o obj/proto/mrt/mrt.o obj/proto/ospf/dbdes.o obj/proto/ospf/hello.o obj/proto/ospf/iface.o obj/proto/ospf/lsack.o obj/proto/ospf/lsalib.o obj/proto/ospf/lsreq.o obj/proto/ospf/lsupd.o obj/proto/ospf/neighbor.o obj/proto/ospf/ospf.o obj/proto/ospf/packet.o obj/proto/ospf/rt.o obj/proto/ospf/topology.o obj/proto/perf/perf.o obj/proto/pipe/pipe.o obj/proto/radv/packets.o obj/proto/radv/radv.o obj/proto/rip/packets.o obj/proto/rip/rip.o obj/proto/rpki/rpki.o obj/proto/rpki/packets.o obj/proto/rpki/tcp_transport.o obj/proto/rpki/ssh_transport.o obj/proto/rpki/transport.o obj/proto/static/static.o obj/sysdep/unix/alloc.o obj/sysdep/unix/io.o obj/sysdep/unix/krt.o obj/sysdep/unix/log.o obj/sysdep/unix/main.o obj/sysdep/unix/random.o obj/sysdep/bsd/krt-sock.o -lssh
make[1]: "/root/installer/bird-2.14/Makefile" line 45: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 47: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 49: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 51: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 53: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 56: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 59: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 61: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 63: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 93: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 95: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 97: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 99: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 102: Invalid line type
make[1]: /root/installer/bird-2.14/: read error: Is a directory
lto-wrapper: warning: using serial compilation of 17 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
CC -o obj/client/commands.o -c client/commands.c
CC -o obj/client/util.o -c client/util.c
CC -o obj/client/client.o -c client/client.c
CC -o obj/client/birdcl.o -c client/birdcl.c
LD -pthread -flto=4 -g -L/usr/local/lib -o birdcl obj/client/commands.o obj/client/util.o obj/client/client.o obj/client/birdcl.o
make[1]: "/root/installer/bird-2.14/Makefile" line 45: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 47: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 49: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 51: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 53: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 56: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 59: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 61: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 63: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 93: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 95: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 97: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 99: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 102: Invalid line type
make[1]: /root/installer/bird-2.14/: read error: Is a directory
CC -o obj/client/birdc.o -c client/birdc.c
LD -pthread -flto=4 -g -L/usr/local/lib -o birdc obj/client/commands.o obj/client/util.o obj/client/client.o obj/client/birdc.o -lreadline -ltinfo
make[1]: "/root/installer/bird-2.14/Makefile" line 45: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 47: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 49: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 51: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 53: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 56: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 59: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 61: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 63: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 93: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 95: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 97: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 99: Invalid line type
make[1]: "/root/installer/bird-2.14/Makefile" line 102: Invalid line type
make[1]: /root/installer/bird-2.14/: read error: Is a directory
More information about the Bird-users
mailing list