>>> bird 2.15.1 Extracting gzip -d -c /workdir/instance-0/dl/bird/bird-2.15.1.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/bird-2.15.1 -xf - >>> bird 2.15.1 Patching Applying 0001-configure.ac-fix-build-with-autoconf-2.70.patch using patch: patching file configure.ac Hunk #1 succeeded at 120 (offset 6 lines). >>> bird 2.15.1 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /workdir/instance-0/output-1/build/bird-2.15.1 -name $file); do cp support/gnuconfig/$file $i; done; done >>> bird 2.15.1 Configuring >>> bird 2.15.1 Autoreconfiguring configure.ac:128: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:128: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... configure.ac:128: the top level >>> bird 2.15.1 Patching libtool (cd /workdir/instance-0/output-1/build/bird-2.15.1/ && rm -rf config.cache && GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/workdir/instance-0/output-1/host/bin/riscv64-linux-gcc-ar" AS="/workdir/instance-0/output-1/host/bin/riscv64-linux-as" LD="/workdir/instance-0/output-1/host/bin/riscv64-linux-ld" NM="/workdir/instance-0/output-1/host/bin/riscv64-linux-gcc-nm" CC="/workdir/instance-0/output-1/host/bin/riscv64-linux-gcc" GCC="/workdir/instance-0/output-1/host/bin/riscv64-linux-gcc" CPP="/workdir/instance-0/output-1/host/bin/riscv64-linux-cpp" CXX="/workdir/instance-0/output-1/host/bin/riscv64-linux-g++" FC="/workdir/instance-0/output-1/host/bin/riscv64-linux-gfortran" F77="/workdir/instance-0/output-1/host/bin/riscv64-linux-gfortran" RANLIB="/workdir/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib" READELF="/workdir/instance-0/output-1/host/bin/riscv64-linux-readelf" STRIP="/workdir/instance-0/output-1/host/bin/riscv64-linux-strip" OBJCOPY="/workdir/instance-0/output-1/host/bin/riscv64-linux-objcopy" OBJDUMP="/workdir/instance-0/output-1/host/bin/riscv64-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/workdir/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/workdir/instance-0/output-1/host/bin/riscv64-linux-as" DEFAULT_LINKER="/workdir/instance-0/output-1/host/bin/riscv64-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS=" -z text" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/workdir/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_GNU_SOURCE" CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-musl --host=riscv64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-client --enable-libssh --with-protocols=babel,bgp ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for riscv64-buildroot-linux-musl-gcc... /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g... yes checking for /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc option to enable C11 features... none needed checking for library containing clock_gettime... none required checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-musl checking for riscv64-buildroot-linux-musl-gcc... (cached) /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc accepts -g... (cached) yes checking for /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc option to enable C11 features... (cached) none needed checking whether _Thread_local is known... yes checking whether POSIX threads are available... yes checking CFLAGS... -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_GNU_SOURCE -pthread -fno-strict-aliasing -fno-strict-overflow checking LDFLAGS... -z text -pthread checking how to run the C preprocessor... /workdir/instance-0/output-1/host/bin/riscv64-linux-cpp checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-buildroot-linux-musl-ranlib... /workdir/instance-0/output-1/host/bin/riscv64-linux-gcc-ranlib checking for flex... flex checking for bison... bison checking for gm4... no checking for m4... m4 checking bison version... 3.8.2 checking which OS configuration should we use... ./sysdep/cf/linux.h checking system-dependent directories... sysdep/linux sysdep/unix checking for libssh/libssh.h... yes checking for ssh_connect in -lssh... yes checking for Linux MPLS headers... yes checking protocols... ok checking for linux/rtnetlink.h... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for alloca.h... yes checking for syslog.h... yes checking for sys/mman.h... yes checking for struct sockaddr.sa_len... no checking whether byte ordering is bigendian... (cached) no checking for glob.h... yes checking for syslog lib flags... yes checking for getrandom... yes checking for getentropy... yes configure: creating ./config.status config.status: creating Makefile config.status: creating obj/sysdep/autoconf.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: /etc/iproute2 System configuration: ./sysdep/cf/linux.h Debugging: no Compact tries: no POSIX threads: yes Routing protocols: babel bgp LibSSH support in RPKI: yes Kernel MPLS support: yes Client: no >>> bird 2.15.1 Building GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j1 -C /workdir/instance-0/output-1/build/bird-2.15.1/ make[1]: Entering directory '/workdir/instance-0/output-1/build/bird-2.15.1' fatal: not a git repository: '.' MKDIR -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/babel 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 nest/mpls.Y proto/babel/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 obj/conf/cf-parse.y: warning: 4 nonterminals useless in grammar [-Wother] obj/conf/cf-parse.y: warning: 7 rules useless in grammar [-Wother] conf/confbase.Y:369.1-17: warning: nonterminal useless in grammar: label_stack_start [-Wother] 369 | label_stack_start: NUM | ^~~~~~~~~~~~~~~~~ conf/confbase.Y:376.1-11: warning: nonterminal useless in grammar: label_stack [-Wother] 376 | label_stack: | ^~~~~~~~~~~ conf/confbase.Y:425.1-10: warning: nonterminal useless in grammar: bytestring [-Wother] 425 | bytestring: | ^~~~~~~~~~ filter/config.Y:720.1-8: warning: nonterminal useless in grammar: ec_items [-Wother] 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 m4 -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/babel/config.Y proto/bgp/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/keywords.h m4 -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/babel/config.Y proto/bgp/config.Y sysdep/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/commands.h m4 -s -DTARGET=I -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-interpret.c m4 -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 m4 -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/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/sysdep/linux/netlink.o -c sysdep/linux/netlink.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 sysdep/unix/io.c: In function 'sk_ssh_connect': sysdep/unix/io.c:1192:7: warning: 'ssh_is_server_known' is deprecated [-Wdeprecated-declarations] 1192 | switch (ssh_is_server_known(s->ssh->session)) | ^~~~~~ In file included from ./lib/socket.h:17, from sysdep/unix/io.c:38: /workdir/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libssh/libssh.h:582:31: note: declared here 582 | 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:1857:3: warning: 'ssh_channel_select' is deprecated [-Wdeprecated-declarations] 1857 | if (ssh_channel_select(rchans, NULL, NULL, &timev) == SSH_EINTR) | ^~ /workdir/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libssh/libssh.h:584:31: note: declared here 584 | 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 LD -z text -pthread -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/babel/babel.o obj/proto/babel/packets.o obj/proto/bgp/attrs.o obj/proto/bgp/bgp.o obj/proto/bgp/packets.o obj/sysdep/linux/netlink.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 -lssh /workdir/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/12.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: read-only segment has dynamic relocations collect2: error: ld returned 1 exit status make[1]: *** [Makefile:161: bird] Error 1 make[1]: Leaving directory '/workdir/instance-0/output-1/build/bird-2.15.1' make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/bird-2.15.1/.stamp_built] Error 2 make: Leaving directory '/workdir/instance-0/buildroot'