Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/f29-build-31441-16564/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/keepalived.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 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/keepalived-2.0.6-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/f29-build-31441-16564/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/keepalived.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 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vh4PH6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keepalived-2.0.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/keepalived-2.0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd keepalived-2.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xgBice + umask 022 + cd /builddir/build/BUILD + cd keepalived-2.0.6 + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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 --enable-snmp --enable-snmp-rfc --enable-sha1 --with-init=systemd checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... /usr/bin/grep checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ldd... no checking for ldd... ldd checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for -Wimplicit-fallthrough... yes checking for PIE support... yes checking for -Wformat -Werror=format-security support... yes checking for -Wp,-D_FORTIFY_SOURCE=2 support... yes checking for -fexceptions support... yes checking for -fstack-protector-strong support... yes checking for --param=ssp-buffer-size=4 support... yes checking for -grecord-gcc-switches support... yes checking for -Wl,-z,relro support... yes checking for -Wl,-z,now support... yes checking for -O2 support... yes checking how to run the C preprocessor... gcc -E 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/ethtool.h usability... yes checking linux/ethtool.h presence... yes checking for linux/ethtool.h... yes checking linux/icmpv6.h usability... yes checking linux/icmpv6.h presence... yes checking for linux/icmpv6.h... yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/ip.h usability... yes checking linux/ip.h presence... yes checking for linux/ip.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for linux/fib_rules.h... yes checking for linux/if_addr.h... yes checking for linux/if_link.h... yes checking for linux/if_arp.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for an ANSI C-conforming const... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for dup2... yes checking for getcwd... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strpbrk... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for uname... yes checking for pipe2... yes checking for signalfd... yes checking for inotify_init1... yes checking for vsyslog... yes checking whether ETHERTYPE_IPV6 is declared... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for MD5_Init in -lcrypto... yes checking for SSL_CTX_new in -lssl... yes checking SSL_set_tlsext_host_name() - may be a definition... yes checking for SSL_CTX_set_verify_depth... yes checking for SSL_set0_rbio... yes checking for OPENSSL_init_crypto... yes checking for nl_socket_alloc in -lnl-3... yes checking for genl_connect in -lnl-genl-3... yes checking whether IPV4_DEVCONF_ARP_IGNORE is declared... yes checking whether IPV4_DEVCONF_ACCEPT_LOCAL is declared... yes checking whether IPV4_DEVCONF_RP_FILTER is declared... yes checking whether IPV4_DEVCONF_ARPFILTER is declared... yes checking netlink/route/link.h usability... yes checking netlink/route/link.h presence... yes checking for netlink/route/link.h... yes checking netlink/route/link/inet.h usability... yes checking netlink/route/link/inet.h presence... yes checking for netlink/route/link/inet.h... yes checking for net/if.h and libnl3/netlink/route/link.h namespace collision... no checking for nl_rtgen_request in -lnl-route-3... yes checking for linux/rtnetlink.h... yes checking libnfnetlink/libnfnetlink.h usability... yes checking libnfnetlink/libnfnetlink.h presence... yes checking for libnfnetlink/libnfnetlink.h... yes checking netlink/netlink.h usability... yes checking netlink/netlink.h presence... yes checking for netlink/netlink.h... yes checking netlink/genl/ctrl.h usability... yes checking netlink/genl/ctrl.h presence... yes checking for netlink/genl/ctrl.h... yes checking netlink/genl/genl.h usability... yes checking netlink/genl/genl.h presence... yes checking for netlink/genl/genl.h... yes checking for magic_open in -lmagic... no checking whether RTA_ENCAP is declared... yes checking whether RTA_EXPIRES is declared... yes checking whether RTA_NEWDST is declared... yes checking whether RTA_PREF is declared... yes checking whether FRA_SUPPRESS_PREFIXLEN is declared... yes checking whether FRA_SUPPRESS_IFGROUP is declared... yes checking whether FRA_TUN_ID is declared... yes checking whether RTAX_CC_ALGO is declared... yes checking whether RTAX_QUICKACK is declared... yes checking whether RTEXT_FILTER_SKIP_STATS is declared... yes checking whether FRA_L3MDEV is declared... yes checking whether FRA_UID_RANGE is declared... yes checking whether RTAX_FASTOPEN_NO_COOKIE is declared... yes checking whether RTA_VIA is declared... yes checking whether FRA_OIFNAME is declared... yes checking whether FRA_PROTOCOL is declared... no checking whether FRA_IP_PROTO is declared... no checking whether FRA_SPORT_RANGE is declared... no checking whether FRA_DPORT_RANGE is declared... no checking whether IFA_FLAGS is declared... yes checking whether IP_MULTICAST_ALL is declared... yes checking whether LWTUNNEL_ENCAP_MPLS is declared... yes checking whether LWTUNNEL_ENCAP_ILA is declared... yes checking linux/netfilter/x_tables.h usability... yes checking linux/netfilter/x_tables.h presence... yes checking for linux/netfilter/x_tables.h... yes checking xtables.h usability... yes checking xtables.h presence... yes checking for xtables.h... yes checking libiptc/libip6tc.h usability... yes checking libiptc/libip6tc.h presence... yes checking for libiptc/libip6tc.h... yes checking libiptc/libiptc.h usability... yes checking libiptc/libiptc.h presence... yes checking for libiptc/libiptc.h... yes checking libiptc/libxtc.h usability... yes checking libiptc/libxtc.h presence... yes checking for libiptc/libxtc.h... yes checking for iptc_init in -liptc... yes checking for ipset_session_init in -lipset... yes checking libipset/data.h usability... yes checking libipset/data.h presence... yes checking for libipset/data.h... yes checking libipset/linux_ip_set.h usability... yes checking libipset/linux_ip_set.h presence... yes checking for libipset/linux_ip_set.h... yes checking libipset/session.h usability... yes checking libipset/session.h presence... yes checking for libipset/session.h... yes checking libipset/types.h usability... yes checking libipset/types.h presence... yes checking for libipset/types.h... yes checking for xtables_insmod in -lxtables... yes checking linux/netfilter/xt_set.h usability... yes checking linux/netfilter/xt_set.h presence... yes checking for linux/netfilter/xt_set.h... yes checking for struct xt_set_info_match_v1.match_set.index... yes checking for struct xt_set_info_match_v3.match_set.index... yes checking for struct xt_set_info_match_v4.match_set.index... yes checking whether XT_EXTENSION_MAXNAMELEN is declared... yes checking for linux/if.h and net/if.h namespace collision... no checking for linux/if_ether.h then netinet/if_ether.h namespace collision... no checking for libiptc/libiptc.h linux/if.h and net/if.h namespace collision... no checking linux/ip_vs.h usability... yes checking linux/ip_vs.h presence... yes checking for linux/ip_vs.h... yes checking whether IP_VS_SVC_F_ONEPACKET is declared... yes checking whether IPVS_DEST_ATTR_ADDR_FAMILY is declared... yes checking whether IPVS_DAEMON_ATTR_SYNC_MAXLEN is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_GROUP is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_GROUP6 is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_PORT is declared... yes checking whether IPVS_DAEMON_ATTR_MCAST_TTL is declared... yes checking whether IPVS_SVC_ATTR_STATS64 is declared... yes checking whether IPVS_DEST_ATTR_STATS64 is declared... yes checking whether IFLA_MACVLAN_MODE is declared... yes checking whether MACVLAN_MODE_PRIVATE is declared... yes checking whether SOCK_NONBLOCK is declared... yes checking whether SOCK_CLOEXEC is declared... yes checking whether IPVS_SVC_ATTR_PE_NAME is declared... yes checking whether O_PATH is declared... yes checking whether GLOB_BRACE is declared... yes checking whether FRA_SRC is declared... yes checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes checking for riscv64-redhat-linux-gnu-net-snmp-config... no checking for net-snmp-config... /usr/bin/net-snmp-config BUILDSTDERR: configure: WARNING: Removing -specs=/usr/lib/rpm/redhat/redhat-hardened-ld from NETSNMP_LIBS since spec file not installed checking whether C compiler supports flag "-I/usr/include -DNETSNMP_NO_INLINE -L/usr/lib64 -lnetsnmpmibs -lnetsnmpagent -lnetsnmp -Wl,-z,relro -Wl,-z,now -lssl -lssl -lcrypto -lm -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now " from Net-SNMP... yes checking for netsnmp_enable_subagent... yes checking for net-snmp/agent/agent_sysORTable.h... yes checking for net-snmp/agent/snmp_vars.h... yes checking for net-snmp/agent/util_funcs.h... yes checking openssl/sha.h usability... yes checking openssl/sha.h presence... yes checking for openssl/sha.h... yes checking for SHA1_Init in -lcrypto... yes checking whether SO_MARK is declared... yes checking whether CLONE_NEWNET is declared... yes checking for setns... yes checking whether SCHED_RR is declared... yes checking whether RLIMIT_RTTIME is declared... yes checking whether SCHED_RESET_ON_FORK is declared... yes checking for sphinx-build... No checking for rpm... Yes checking for rpmbuild... Yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating keepalived/Makefile config.status: creating lib/Makefile config.status: creating keepalived/core/Makefile config.status: creating keepalived.spec config.status: creating genhash/Makefile config.status: creating keepalived/check/Makefile config.status: creating keepalived/vrrp/Makefile config.status: creating keepalived/bfd/Makefile config.status: creating doc/Makefile config.status: creating bin_install/Makefile config.status: creating keepalived/dbus/Makefile config.status: creating keepalived/etc/Makefile config.status: creating keepalived/etc/init/Makefile config.status: creating keepalived/etc/init.d/Makefile config.status: creating lib/config.h config.status: executing depfiles commands Keepalived configuration ------------------------ Keepalived version : 2.0.6 Compiler : gcc Preprocessor flags : -I/usr/include/libnl3 Compiler flags : -Wall -Wunused -Wstrict-prototypes -Wextra -Winit-self -g -D_GNU_SOURCE -Wimplicit-fallthrough=3 -fPIE -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -I/usr/include -DNETSNMP_NO_INLINE Linker flags : -pie Extra Lib : -lcrypto -lssl -lnl-genl-3 -lnl-3 -lnl-route-3 -lip4tc -lip6tc -lxtables -L/usr/lib64 -lnetsnmpmibs -lnetsnmpagent -lnetsnmp -Wl,-z,relro -Wl,-z,now -lssl -lssl -lcrypto -lm -Wl,--enable-new-dtags -Wl,-z,relro -Wl,-z,now -ldl Use IPVS Framework : Yes IPVS use libnl : Yes IPVS syncd attributes : Yes IPVS 64 bit stats : Yes fwmark socket support : Yes Use VRRP Framework : Yes Use VRRP VMAC : Yes Use VRRP authentication : Yes With ip rules/routes : Yes Use BFD Framework : No SNMP vrrp support : Yes SNMP checker support : Yes SNMP RFCv2 support : Yes SNMP RFCv3 support : Yes SNMP send V3 for V2 : Yes DBUS support : No SHA1 support : Yes Use Json output : No libnl version : 3 Use IPv4 devconf : Yes Use libiptc : Yes Use libipset : Yes init type : systemd Build genhash : Yes Build documentation : No + /usr/bin/make -j4 STRIP=/bin/true Making all in lib make[1]: Entering directory '/builddir/build/BUILD/keepalived-2.0.6/lib' /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/keepalived-2.0.6/lib' CC memory.o CC utils.o CC notify.o CC timer.o CC scheduler.o CC vector.o CC list.o CC html.o CC parser.o CC signals.o CC logger.o CC assert.o CC rttables.o AR liblib.a make[2]: Leaving directory '/builddir/build/BUILD/keepalived-2.0.6/lib' make[1]: Leaving directory '/builddir/build/BUILD/keepalived-2.0.6/lib' Making all in keepalived make[1]: Entering directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived' Making all in core make[2]: Entering directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived/core' CC main.o CC daemon.o CC pidfile.o CC layer4.o CC smtp.o CC global_data.o CC global_parser.o CC process.o CC keepalived_netlink.o CC snmp.o CC namespaces.o AR libcore.a make[2]: Leaving directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived/core' Making all in vrrp make[2]: Entering directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived/vrrp' CC vrrp_daemon.o CC vrrp_print.o CC vrrp_data.o CC vrrp_parser.o CC vrrp.o CC vrrp_notify.o CC vrrp_scheduler.o CC vrrp_sync.o CC vrrp_index.o CC vrrp_arp.o CC vrrp_if.o BUILDSTDERR: In file included from ./../include/vrrp_if.h:34, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP' BUILDSTDERR: IFF_UP = 1<<0, /* sysfs */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here BUILDSTDERR: IFF_UP = 0x1, /* Interface is up. */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST' BUILDSTDERR: IFF_BROADCAST = 1<<1, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here BUILDSTDERR: IFF_BROADCAST = 0x2, /* Broadcast address valid. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG' BUILDSTDERR: IFF_DEBUG = 1<<2, /* sysfs */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here BUILDSTDERR: IFF_DEBUG = 0x4, /* Turn on debugging. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK' BUILDSTDERR: IFF_LOOPBACK = 1<<3, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here BUILDSTDERR: IFF_LOOPBACK = 0x8, /* Is a loopback net. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' BUILDSTDERR: IFF_POINTOPOINT = 1<<4, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here BUILDSTDERR: IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' BUILDSTDERR: IFF_NOTRAILERS = 1<<5, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here BUILDSTDERR: IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING' BUILDSTDERR: IFF_RUNNING = 1<<6, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here BUILDSTDERR: IFF_RUNNING = 0x40, /* Resources allocated. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP' BUILDSTDERR: IFF_NOARP = 1<<7, /* sysfs */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here BUILDSTDERR: IFF_NOARP = 0x80, /* No address resolution protocol. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC' BUILDSTDERR: IFF_PROMISC = 1<<8, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here BUILDSTDERR: IFF_PROMISC = 0x100, /* Receive all packets. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI' BUILDSTDERR: IFF_ALLMULTI = 1<<9, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here BUILDSTDERR: IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER' BUILDSTDERR: IFF_MASTER = 1<<10, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here BUILDSTDERR: IFF_MASTER = 0x400, /* Master of a load balancer. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE' BUILDSTDERR: IFF_SLAVE = 1<<11, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here BUILDSTDERR: IFF_SLAVE = 0x800, /* Slave of a load balancer. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST' BUILDSTDERR: IFF_MULTICAST = 1<<12, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here BUILDSTDERR: IFF_MULTICAST = 0x1000, /* Supports multicast. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL' BUILDSTDERR: IFF_PORTSEL = 1<<13, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here BUILDSTDERR: IFF_PORTSEL = 0x2000, /* Can set media type. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' BUILDSTDERR: IFF_AUTOMEDIA = 1<<14, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here BUILDSTDERR: IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC' BUILDSTDERR: IFF_DYNAMIC = 1<<15, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here BUILDSTDERR: IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' BUILDSTDERR: struct ifmap { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:34, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/net/if.h:111:8: note: originally defined here BUILDSTDERR: struct ifmap BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' BUILDSTDERR: struct ifreq { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:34, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/net/if.h:126:8: note: originally defined here BUILDSTDERR: struct ifreq BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' BUILDSTDERR: struct ifconf { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ./../include/vrrp_if.h:34, BUILDSTDERR: from ./../include/global_data.h:47, BUILDSTDERR: from vrrp_if.c:53: BUILDSTDERR: /usr/include/net/if.h:176:8: note: originally defined here BUILDSTDERR: struct ifconf BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ./../include/vrrp.h:32, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_UP' BUILDSTDERR: IFF_UP = 1<<0, /* sysfs */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here BUILDSTDERR: IFF_UP = 0x1, /* Interface is up. */ BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_BROADCAST' BUILDSTDERR: IFF_BROADCAST = 1<<1, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here BUILDSTDERR: IFF_BROADCAST = 0x2, /* Broadcast address valid. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_DEBUG' BUILDSTDERR: IFF_DEBUG = 1<<2, /* sysfs */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here BUILDSTDERR: IFF_DEBUG = 0x4, /* Turn on debugging. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_LOOPBACK' BUILDSTDERR: IFF_LOOPBACK = 1<<3, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here BUILDSTDERR: IFF_LOOPBACK = 0x8, /* Is a loopback net. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_POINTOPOINT' BUILDSTDERR: IFF_POINTOPOINT = 1<<4, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here BUILDSTDERR: IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */ BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:87:2: error: redeclaration of enumerator 'IFF_NOTRAILERS' BUILDSTDERR: IFF_NOTRAILERS = 1<<5, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here BUILDSTDERR: IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:88:2: error: redeclaration of enumerator 'IFF_RUNNING' BUILDSTDERR: IFF_RUNNING = 1<<6, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here BUILDSTDERR: IFF_RUNNING = 0x40, /* Resources allocated. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:89:2: error: redeclaration of enumerator 'IFF_NOARP' BUILDSTDERR: IFF_NOARP = 1<<7, /* sysfs */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here BUILDSTDERR: IFF_NOARP = 0x80, /* No address resolution protocol. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:90:2: error: redeclaration of enumerator 'IFF_PROMISC' BUILDSTDERR: IFF_PROMISC = 1<<8, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here BUILDSTDERR: IFF_PROMISC = 0x100, /* Receive all packets. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:91:2: error: redeclaration of enumerator 'IFF_ALLMULTI' BUILDSTDERR: IFF_ALLMULTI = 1<<9, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here BUILDSTDERR: IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */ BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:92:2: error: redeclaration of enumerator 'IFF_MASTER' BUILDSTDERR: IFF_MASTER = 1<<10, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here BUILDSTDERR: IFF_MASTER = 0x400, /* Master of a load balancer. */ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:93:2: error: redeclaration of enumerator 'IFF_SLAVE' BUILDSTDERR: IFF_SLAVE = 1<<11, /* __volatile__ */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here BUILDSTDERR: IFF_SLAVE = 0x800, /* Slave of a load balancer. */ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:94:2: error: redeclaration of enumerator 'IFF_MULTICAST' BUILDSTDERR: IFF_MULTICAST = 1<<12, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here BUILDSTDERR: IFF_MULTICAST = 0x1000, /* Supports multicast. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:95:2: error: redeclaration of enumerator 'IFF_PORTSEL' BUILDSTDERR: IFF_PORTSEL = 1<<13, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here BUILDSTDERR: IFF_PORTSEL = 0x2000, /* Can set media type. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:96:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA' BUILDSTDERR: IFF_AUTOMEDIA = 1<<14, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here BUILDSTDERR: IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */ BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: /usr/include/linux/if.h:97:2: error: redeclaration of enumerator 'IFF_DYNAMIC' BUILDSTDERR: IFF_DYNAMIC = 1<<15, /* sysfs */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here BUILDSTDERR: IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/vrrp.h:48, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/linux/if.h:192:8: error: redefinition of 'struct ifmap' BUILDSTDERR: struct ifmap { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp.h:32, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/net/if.h:111:8: note: originally defined here BUILDSTDERR: struct ifmap BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/vrrp.h:48, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/linux/if.h:229:8: error: redefinition of 'struct ifreq' BUILDSTDERR: struct ifreq { BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from ./../include/vrrp.h:32, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/net/if.h:126:8: note: originally defined here BUILDSTDERR: struct ifreq BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/linux/netdevice.h:29, BUILDSTDERR: from ./../include/vrrp_if.h:39, BUILDSTDERR: from ./../include/vrrp.h:48, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/linux/if.h:281:8: error: redefinition of 'struct ifconf' BUILDSTDERR: struct ifconf { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from ./../include/vrrp.h:32, BUILDSTDERR: from ./../include/vrrp_scheduler.h:35, BUILDSTDERR: from vrrp_arp.c:36: BUILDSTDERR: /usr/include/net/if.h:176:8: note: originally defined here BUILDSTDERR: struct ifconf BUILDSTDERR: ^~~~~~ BUILDSTDERR: make[2]: *** [Makefile:409: vrrp_arp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:409: vrrp_if.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived/vrrp' BUILDSTDERR: make[1]: *** [Makefile:583: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/keepalived-2.0.6/keepalived' BUILDSTDERR: make: *** [Makefile:427: all-recursive] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xgBice (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xgBice (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/keepalived.spec