Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/keepalived-1.3.5-16.el7-20190809143816-22726/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/keepalived.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/keepalived-1.3.5-16.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/keepalived-1.3.5-16.el7-20190809143816-22726/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/keepalived.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kzWB7Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keepalived-1.3.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/keepalived-1.3.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd keepalived-1.3.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bz1419049-fix-unused-variables.patch):' Patch #0 (bz1419049-fix-unused-variables.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1419049-fix-unused-variables.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/vrrp/vrrp_snmp.c + echo 'Patch #1 (bz1477572-fix-man-page-vrrp_ipsets.patch):' Patch #1 (bz1477572-fix-man-page-vrrp_ipsets.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1477572-fix-man-page-vrrp_ipsets.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/man/man5/keepalived.conf.5 + echo 'Patch #2 (bz1477563-fix-keepalived_script-user.patch):' Patch #2 (bz1477563-fix-keepalived_script-user.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1477563-fix-keepalived_script-user.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/keepalived.conf.SYNOPSIS patching file doc/man/man5/keepalived.conf.5 patching file keepalived/check/check_misc.c patching file keepalived/check/check_parser.c patching file keepalived/core/global_parser.c patching file keepalived/core/main.c patching file keepalived/include/check_misc.h patching file keepalived/include/main.h patching file keepalived/vrrp/vrrp_data.c patching file keepalived/vrrp/vrrp_parser.c patching file keepalived/vrrp/vrrp_print.c patching file lib/notify.c patching file lib/notify.h + echo 'Patch #3 (bz1508435-load-ip-tables-handling.patch):' Patch #3 (bz1508435-load-ip-tables-handling.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1508435-load-ip-tables-handling.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/core/global_data.c patching file keepalived/include/global_data.h patching file keepalived/include/vrrp.h patching file keepalived/include/vrrp_ipset.h patching file keepalived/include/vrrp_iptables.h patching file keepalived/include/vrrp_iptables_calls.h patching file keepalived/vrrp/vrrp.c patching file keepalived/vrrp/vrrp_daemon.c patching file keepalived/vrrp/vrrp_ipaddress.c patching file keepalived/vrrp/vrrp_ipset.c patching file keepalived/vrrp/vrrp_iptables.c patching file keepalived/vrrp/vrrp_iptables_calls.c + echo 'Patch #4 (bz1508435-no-segfault-ip_vs-load.patch):' Patch #4 (bz1508435-no-segfault-ip_vs-load.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1508435-no-segfault-ip_vs-load.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_api.c patching file keepalived/check/check_daemon.c patching file keepalived/check/check_data.c patching file keepalived/check/ipvswrapper.c patching file keepalived/check/ipwrapper.c patching file keepalived/check/libipvs.c patching file keepalived/core/keepalived_netlink.c + echo 'Patch #5 (bz1508435-remove-ipset-handling.patch):' Patch #5 (bz1508435-remove-ipset-handling.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1508435-remove-ipset-handling.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/vrrp/vrrp_ipset.c Patch #6 (bz1477587-exclude-mismatch-vips.patch): + echo 'Patch #6 (bz1477587-exclude-mismatch-vips.patch):' + /usr/bin/cat /builddir/build/SOURCES/bz1477587-exclude-mismatch-vips.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/vrrp/vrrp_parser.c Hunk #1 succeeded at 637 (offset -4 lines). + echo 'Patch #7 (bz1652694-fix-buffer-overflow-http-status.patch):' Patch #7 (bz1652694-fix-buffer-overflow-http-status.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1652694-fix-buffer-overflow-http-status.patch + /usr/bin/patch -p1 --fuzz=0 patching file lib/html.c Hunk #1 succeeded at 56 (offset -2 lines). + echo 'Patch #8 (bz1654301-fix-improper-pathname-validation.patch):' Patch #8 (bz1654301-fix-improper-pathname-validation.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1654301-fix-improper-pathname-validation.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/core/pidfile.c patching file keepalived/vrrp/vrrp_dbus.c patching file keepalived/vrrp/vrrp_print.c Hunk #2 succeeded at 352 (offset 1 line). Hunk #3 succeeded at 376 (offset 1 line). Hunk #4 succeeded at 395 (offset 1 line). patching file lib/memory.c patching file lib/parser.c patching file lib/utils.c patching file lib/utils.h + echo 'Patch #9 (bz1667292-fix-vrrp_script-misc_script.patch):' Patch #9 (bz1667292-fix-vrrp_script-misc_script.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1667292-fix-vrrp_script-misc_script.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_misc.c Hunk #1 succeeded at 189 (offset 40 lines). patching file keepalived/vrrp/vrrp.c Hunk #1 succeeded at 160 (offset 11 lines). Patch #10 (bz1678480-add-child_wait_time.patch): + echo 'Patch #10 (bz1678480-add-child_wait_time.patch):' + /usr/bin/cat /builddir/build/SOURCES/bz1678480-add-child_wait_time.patch + /usr/bin/patch -p1 --fuzz=0 patching file doc/keepalived.conf.SYNOPSIS patching file doc/man/man5/keepalived.conf.5 patching file keepalived/core/global_parser.c patching file keepalived/core/main.c patching file keepalived/include/main.h patching file lib/parser.c + echo 'Patch #11 (bz1678480-migrate-failed-checkers-reload.patch):' Patch #11 (bz1678480-migrate-failed-checkers-reload.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-migrate-failed-checkers-reload.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/ipwrapper.c Patch #12 (bz1678480-implment-checker-comparison.patch): + echo 'Patch #12 (bz1678480-implment-checker-comparison.patch):' + /usr/bin/cat /builddir/build/SOURCES/bz1678480-implment-checker-comparison.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_api.c patching file keepalived/check/check_daemon.c patching file keepalived/check/check_dns.c patching file keepalived/check/check_http.c patching file keepalived/check/check_misc.c patching file keepalived/check/check_smtp.c patching file keepalived/check/check_tcp.c patching file keepalived/check/ipwrapper.c patching file keepalived/include/check_api.h + echo 'Patch #13 (bz1678480-fix-wrong-migrate-checker-id.patch):' Patch #13 (bz1678480-fix-wrong-migrate-checker-id.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-fix-wrong-migrate-checker-id.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/ipwrapper.c + echo 'Patch #14 (bz1678480-set-active-if-failed-checkers-empty.patch):' Patch #14 (bz1678480-set-active-if-failed-checkers-empty.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-set-active-if-failed-checkers-empty.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/ipwrapper.c Patch #15 (bz1678480-fix-checker-coding-style.patch): + echo 'Patch #15 (bz1678480-fix-checker-coding-style.patch):' + /usr/bin/cat /builddir/build/SOURCES/bz1678480-fix-checker-coding-style.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_api.c patching file keepalived/check/check_dns.c patching file keepalived/check/check_http.c patching file keepalived/check/check_misc.c patching file keepalived/check/check_smtp.c patching file keepalived/check/check_tcp.c patching file keepalived/include/check_api.h + echo 'Patch #16 (bz1678480-remove-unnecessary-parameter-compare.patch):' Patch #16 (bz1678480-remove-unnecessary-parameter-compare.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-remove-unnecessary-parameter-compare.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_dns.c patching file keepalived/check/check_http.c patching file keepalived/check/check_misc.c patching file keepalived/check/check_smtp.c patching file keepalived/check/check_tcp.c + echo 'Patch #17 (bz1678480-resolve-compiler-warning.patch):' Patch #17 (bz1678480-resolve-compiler-warning.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-resolve-compiler-warning.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_tcp.c + echo 'Patch #18 (bz1678480-include-check_api-in-ipwrapper.patch):' Patch #18 (bz1678480-include-check_api-in-ipwrapper.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1678480-include-check_api-in-ipwrapper.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/ipwrapper.c + echo 'Patch #19 (bz1715308-make-checker-variables-non-global.patch):' Patch #19 (bz1715308-make-checker-variables-non-global.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1715308-make-checker-variables-non-global.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_api.c patching file keepalived/check/check_daemon.c patching file keepalived/check/ipwrapper.c patching file keepalived/include/check_api.h patching file keepalived/include/ipwrapper.h + echo 'Patch #20 (bz1715308-fix-checkers-comparison-on-reload.patch):' Patch #20 (bz1715308-fix-checkers-comparison-on-reload.patch): + /usr/bin/cat /builddir/build/SOURCES/bz1715308-fix-checkers-comparison-on-reload.patch + /usr/bin/patch -p1 --fuzz=0 patching file keepalived/check/check_api.c patching file keepalived/check/ipwrapper.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SIQSz1 + umask 022 + cd /builddir/build/BUILD + cd keepalived-1.3.5 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 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 aarch64-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for aarch64-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 aarch64-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 aarch64-redhat-linux-gnu-strip... no checking for strip... strip checking for aarch64-redhat-linux-gnu-ldd... no checking for ldd... ldd checking for aarch64-redhat-linux-gnu-ar... no checking for aarch64-redhat-linux-gnu-lib... no checking for aarch64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar 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 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 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 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 FRA_UID_RANGE is declared... yes checking whether RTA_VIA is declared... yes checking whether FRA_OIFNAME 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 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 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 FRA_SRC is declared... yes checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes checking for aarch64-redhat-linux-gnu-net-snmp-config... no checking for net-snmp-config... /usr/bin/net-snmp-config checking whether C compiler supports flag "-DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_RPM_4_4_COMPAT -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -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,-rpath,/usr/lib64/perl5/CORE" 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 for sphinx-build... No Failed to get D-Bus connection: Operation not permitted 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 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 : 1.3.5 Compiler : gcc Preprocessor flags : -I/usr/include/libnl3 Compiler flags : -Wall -Wunused -Wstrict-prototypes -Wextra -g -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -D_RPM_4_4_COMPAT -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I/usr/include -DNETSNMP_NO_INLINE Linker flags : Extra Lib : -lcrypto -lssl -lnl-genl-3 -lnl-route-3 -lnl-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,-rpath,/usr/lib64/perl5/CORE -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 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 Debug flags : No Stacktrace support : No Memory alloc check : No libnl version : 3 Use IPv4 devconf : Yes Use libiptc : Yes Use libipset : Yes init type : undetected Build genhash : Yes Build documentation : No + /usr/bin/make -j48 STRIP=/bin/true Making all in lib make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.5/lib' /usr/bin/make all-am make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.5/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 rttables.o AR liblib.a make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.5/lib' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.5/lib' Making all in keepalived make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.5/keepalived' Making all in core make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.5/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-1.3.5/keepalived/core' Making all in vrrp make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.5/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 CC vrrp_track.o CC vrrp_ipaddress.o CC vrrp_ndisc.o CC vrrp_if_config.o CC vrrp_vmac.o CC vrrp_ipsecah.o CC vrrp_iproute.o CC vrrp_iprule.o CC vrrp_ip_rule_route_parser.o CC vrrp_iptables.o CC vrrp_iptables_calls.o CC vrrp_ipset.o CC vrrp_snmp.o vrrp_ipset.c:55:50: error: unknown type name 'ipset_outfn' struct ipset_session* (*ipset_session_init_addr)(ipset_outfn outfn); ^ vrrp_ipset.c: In function 'create_sets': vrrp_ipset.c:66:30: error: 'ipset_session_init_addr' undeclared (first use in this function) #define ipset_session_init (*ipset_session_init_addr) ^ vrrp_ipset.c:155:12: note: in expansion of macro 'ipset_session_init' session = ipset_session_init(printf); ^ vrrp_ipset.c:66:30: note: each undeclared identifier is reported only once for each function it appears in #define ipset_session_init (*ipset_session_init_addr) ^ vrrp_ipset.c:155:12: note: in expansion of macro 'ipset_session_init' session = ipset_session_init(printf); ^ vrrp_ipset.c: In function 'ipset_init': vrrp_ipset.c:242:8: error: 'ipset_session_init_addr' undeclared (first use in this function) if (!(ipset_session_init_addr = dlsym(libipset_handle, "ipset_session_init")) || ^ vrrp_ipset.c: In function 'remove_ipsets': vrrp_ipset.c:66:30: error: 'ipset_session_init_addr' undeclared (first use in this function) #define ipset_session_init (*ipset_session_init_addr) ^ vrrp_ipset.c:278:12: note: in expansion of macro 'ipset_session_init' session = ipset_session_init(printf); ^ vrrp_ipset.c: In function 'ipset_session_start': vrrp_ipset.c:66:30: error: 'ipset_session_init_addr' undeclared (first use in this function) #define ipset_session_init (*ipset_session_init_addr) ^ vrrp_ipset.c:304:9: note: in expansion of macro 'ipset_session_init' return ipset_session_init(NULL); ^ vrrp_ipset.c:305:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[2]: *** [vrrp_ipset.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.5/keepalived/vrrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.5/keepalived' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.SIQSz1 (%build) Bad exit status from /var/tmp/rpm-tmp.SIQSz1 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/keepalived.spec