Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bird.spec'], chrootPath='/var/lib/mock/f33-build-223576-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/bird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 26: It's not recommended to have unversioned Obsoletes: Obsoletes: bird-sysvinit Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580688000 Wrote: /builddir/build/SRPMS/bird-2.0.7-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bird.spec'], chrootPath='/var/lib/mock/f33-build-223576-48451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bird.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: line 26: It's not recommended to have unversioned Obsoletes: Obsoletes: bird-sysvinit Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580688000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xXevqn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bird-2.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/bird-2.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bird-2.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bird-2.0.7-gcc10.patch):' Patch #0 (bird-2.0.7-gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc10 --fuzz=0 patching file nest/route.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51Vg3i + umask 022 + cd /builddir/build/BUILD + cd bird-2.0.7 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tools/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./tools/config.sub ++ basename ./tools/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./tools/config.sub '/usr/lib/rpm/redhat/config.sub' -> './tools/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./tools/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./tools/config.guess ++ basename ./tools/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./tools/config.guess '/usr/lib/rpm/redhat/config.guess' -> './tools/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --runstatedir=/run/bird configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... 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... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for library containing clock_gettime... none required checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for gcc option to accept ISO C99... none needed checking whether _Thread_local is known... yes checking whether POSIX threads are available... yes checking CFLAGS... -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -pthread -fno-strict-aliasing -fno-strict-overflow checking LDFLAGS... -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for flex... flex checking for bison... bison checking for gm4... no checking for m4... m4 checking bison version... 3.5 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for alloca.h... yes checking for syslog.h... yes checking for struct sockaddr.sa_len... no checking whether byte ordering is bigendian... no checking for glob.h... yes checking for syslog lib flags... yes checking for curses.h... yes checking for library containing tgetent... -ltinfo checking for readline/readline.h... yes checking for readline/history.h... yes checking for library containing rl_callback_read_char... -lreadline checking for rl_crlf in -lreadline... yes checking for rl_ding in -lreadline... yes configure: creating ./config.status config.status: creating Makefile config.status: creating obj/sysdep/autoconf.h configure: WARNING: unrecognized options: --disable-dependency-tracking BIRD was configured with the following options: Source directory: . Object directory: obj Iproute2 directory: /etc/iproute2 System configuration: ./sysdep/cf/linux.h Debugging: no POSIX threads: yes Routing protocols: bfd babel bgp mrt ospf perf pipe radv rip rpki static Kernel MPLS support: yes Client: yes + /usr/bin/make -O -j4 V=1 VERBOSE=1 all docs /bin/sh: git: command not found mkdir -p obj/client obj/conf obj/doc obj/filter obj/lib obj/nest obj/test obj/proto/bfd obj/proto/babel obj/proto/bgp 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/linux obj/sysdep/unix obj/doc touch obj/.dir-stamp echo >obj/sysdep/paths.h "/* Generated by Makefile, don't edit manually! */" echo >>obj/sysdep/paths.h "#define PATH_CONFIG_FILE \"/etc/bird.conf\"" echo >>obj/sysdep/paths.h "#define PATH_CONTROL_SOCKET \"/run/bird/bird.ctl\"" if test -n "/etc/iproute2" ; then echo >>obj/sysdep/paths.h "#define PATH_IPROUTE_DIR \"/etc/iproute2\"" ; fi m4 -s -P conf/gen_commands.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/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/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/commands.h m4 -s -P conf/gen_keywords.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/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/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/keywords.h m4 -s -P conf/gen_parser.m4 conf/confbase.Y conf/flowspec.Y client/cmds.Y filter/config.Y nest/config.Y proto/bfd/config.Y proto/babel/config.Y proto/bgp/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/linux/netlink.Y sysdep/unix/config.Y sysdep/unix/krt.Y >obj/conf/cf-parse.y flex -f -s -B -8 -Pcf_ -oobj/conf/cf-lex.c conf/cf-lex.l m4 -s -DTARGET=I -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-interpret.c cp doc/bird.sgml obj/doc/bird.sgml m4 -s -DTARGET=H -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.h m4 -s -DTARGET=C -P filter/decl.m4 filter/f-inst.c obj/.dir-stamp >obj/filter/inst-gen.c cd obj/doc/ && /builddir/build/BUILD/bird-2.0.7/doc/sgml2html bird.sgml Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /builddir/build/BUILD/bird-2.0.7/doc/sgml2html line 20. BEGIN failed--compilation aborted at /builddir/build/BUILD/bird-2.0.7/doc/sgml2html line 20. make: *** [doc/Makefile:26: obj/doc/bird.html] Error 2 make: *** Waiting for unfinished jobs.... cd obj/doc/ && /builddir/build/BUILD/bird-2.0.7/doc/sgml2latex --output=tex bird.sgml Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /builddir/build/BUILD/bird-2.0.7/doc/sgml2latex line 20. BEGIN failed--compilation aborted at /builddir/build/BUILD/bird-2.0.7/doc/sgml2latex line 20. make: *** [doc/Makefile:29: obj/doc/bird.tex] Error 2 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: warning: 2 reduce/reduce conflicts [-Wconflicts-rr] ./tools/progdoc . obj/doc/prog.sgml ./doc/prog-root doc/prog-head.sgml doc/prog-intro.sgml ./nest/Doc rt-fib.c rt-table.c rt-attr.c proto.sgml proto.c proto-hooks.c iface.c neighbor.c cli.c locks.c ./conf/Doc conf.c cf-lex.l ./filter/Doc filter.c tree.c trie.c ./proto/Doc ./proto/babel/Doc babel.c packets.c ./proto/bfd/Doc bfd.c ./proto/bgp/Doc bgp.c packets.c attrs.c ./proto/ospf/Doc ospf.c topology.c neighbor.c iface.c packet.c lsalib.c dbdes.c rt.c ./proto/pipe/Doc pipe.c ./proto/radv/Doc radv.c packets.c ./proto/rip/Doc rip.c packets.c ./proto/rpki/Doc rpki.c packets.c transport.c tcp_transport.c ssh_transport.c ./proto/static/Doc static.c ../nest/rt-dev.c ./sysdep/Doc sysdep.sgml ./sysdep/unix/Doc log.c krt.c ./lib/Doc ip.c lists.c checksum.c bitops.c patmatch.c printf.c xmalloc.c tbf.c mac.c flowspec.c resource.sgml resource.c mempool.c slab.c event.c ../sysdep/unix/io.c doc/prog-foot.sgml rm obj/doc/bird.sgml RPM build errors: Warning(152): Function parameter 'addr_type' not described in 'fib_init' Warning(152): Function parameter 'node_offset' not described in 'fib_init' Warning(267): Function parameter 'a' not described in 'fib_find' Warning(318): Function parameter 'a' not described in 'fib_get' Warning(1540): Function parameter 'n' not described in 'rte_update2' Warning(1729): Function parameter 'c' not described in 'rt_refresh_begin' Warning(1945): Function parameter 'tab' not described in 'rt_prune_table' Warning(599): Function parameter 'e' not described in 'ea_do_prune' Warning(767): Function parameter 'cf' not described in 'proto_new' Warning(1283): Function parameter 'UNUSED' not described in 'graceful_restart_done' Warning(1337): Function parameter 'c' not described in 'channel_graceful_restart_lock' Warning(1357): Function parameter 'c' not described in 'channel_graceful_restart_unlock' Warning(1712): Function parameter 'state' not described in 'proto_notify_state' Warning(499): Function parameter 'gr' not described in 'order_shutdown' Warning(160): Function parameter 'line' not described in 'interpret' Warning(160): Function parameter 'val' not described in 'interpret' Warning(450): Function parameter 'new' not described in 'filter_commit' Warning(450): Function parameter 'old' not described in 'filter_commit' Error(29): cannot understand prototype: 'const struct f_tree * find_tree(const struct f_tree *t, const struct f_val *val) ' Warning(912): Function parameter 'rtable' not described in 'babel_send_update_' Warning(1183): Function parameter 'UNUSED' not described in 'bgp_incoming_connection' Warning(488): Function parameter 'UNUSED' not described in 'ospf_preexport' Warning(693): Function parameter 'CF' not described in 'ospf_reconfigure' Warning(1192): Function parameter 'dn' not described in 'ospf_originate_ext_lsa' Warning(221): Function parameter 'n' not described in 'rip_update_rte' Warning(271): Function parameter 'n' not described in 'rip_withdraw_rte' Warning(666): Function parameter 'UNUSED' not described in 'rpki_reconfigure_cache' error: Bad exit status from /var/tmp/rpm-tmp.51Vg3i (%build) line 26: It's not recommended to have unversioned Obsoletes: Obsoletes: bird-sysvinit Bad exit status from /var/tmp/rpm-tmp.51Vg3i (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/bird.spec