Mock Version: 1.4.7 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/681590-epel-7-x86_64-1511878490.170040/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72a94b25cbb346979d7fb0b3e367c434', '-D', '/var/lib/mock/681590-epel-7-x86_64-1511878490.170040/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 warning: Could not canonicalize hostname: 72a94b25cbb346979d7fb0b3e367c434 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/keepalived-1.3.9-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/keepalived.spec'], chrootPath='/var/lib/mock/681590-epel-7-x86_64-1511878490.170040/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=0uid=1001gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72779d49f2c54982a81b739d265b1ea2', '-D', '/var/lib/mock/681590-epel-7-x86_64-1511878490.170040/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.md0nZr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf keepalived-1.3.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/keepalived-1.3.9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd keepalived-1.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BIYJKj + umask 022 + cd /builddir/build/BUILD + cd keepalived-1.3.9 + 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 -m64 -mtune=generic' + 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 -m64 -mtune=generic' + 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 -m64 -mtune=generic -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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-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 x86_64-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 x86_64-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 x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ldd... no checking for ldd... ldd checking for x86_64-redhat-linux-gnu-ar... no checking for x86_64-redhat-linux-gnu-lib... no checking for x86_64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for -Wimplicit-fallthrough... no 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... no checking whether IPV4_DEVCONF_ACCEPT_LOCAL is declared... no checking whether IPV4_DEVCONF_RP_FILTER is declared... no checking whether IPV4_DEVCONF_ARPFILTER is declared... no 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... no checking whether RTA_PREF is declared... no checking whether FRA_SUPPRESS_PREFIXLEN is declared... no checking whether FRA_SUPPRESS_IFGROUP is declared... no 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... no checking whether RTA_VIA is declared... no checking whether FRA_OIFNAME is declared... yes checking whether IFA_FLAGS is declared... yes checking whether LWTUNNEL_ENCAP_MPLS is declared... no checking whether LWTUNNEL_ENCAP_ILA is declared... no 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... no checking whether XT_EXTENSION_MAXNAMELEN is declared... yes checking for linux/if.h and net/if.h namespace collision... 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... no checking whether IPVS_DAEMON_ATTR_SYNC_MAXLEN is declared... no checking whether IPVS_DAEMON_ATTR_MCAST_GROUP is declared... no checking whether IPVS_DAEMON_ATTR_MCAST_GROUP6 is declared... no checking whether IPVS_DAEMON_ATTR_MCAST_PORT is declared... no checking whether IPVS_DAEMON_ATTR_MCAST_TTL is declared... no checking whether IPVS_SVC_ATTR_STATS64 is declared... no checking whether IPVS_DEST_ATTR_STATS64 is declared... no 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 GLOB_BRACE is declared... yes checking whether FRA_SRC is declared... yes checking whether IFLA_INET6_ADDR_GEN_MODE is declared... yes checking for x86_64-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 -m64 -mtune=generic -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.9 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 -m64 -mtune=generic -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-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 : No IPVS 64 bit stats : No 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 Use Json output : No Stacktrace support : No Memory alloc check : No libnl version : 3 Use IPv4 devconf : No Use libiptc : Yes Use libipset : Yes init type : undetected Build genhash : Yes Build documentation : No + /usr/bin/make -j2 STRIP=/bin/true Making all in lib make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/lib' /usr/bin/make all-am make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/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 parser.c:27:0: warning: "_GNU_SOURCE" redefined [enabled by default] #define _GNU_SOURCE ^ :0:0: note: this is the location of the previous definition parser.c: In function 'read_conf_file': parser.c:444:10: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] fchdir(curdir_fd); ^ CC signals.o CC logger.o CC rttables.o AR liblib.a make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/lib' Making all in keepalived make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' Making all in core make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/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.9/keepalived/core' Making all in vrrp make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/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 vrrp_ipaddress.c: In function 'netlink_ipaddress': vrrp_ipaddress.c:151:13: warning: 'ifa_flags' may be used uninitialized in this function [-Wmaybe-uninitialized] addattr32(&req.n, sizeof(req), IFA_FLAGS, ifa_flags); ^ CC vrrp_if_config.o CC vrrp_vmac.o vrrp_if_config.c: In function 'set_promote_secondaries_sysctl': vrrp_if_config.c:415:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] return; ^ vrrp_if_config.c: In function 'reset_promote_secondaries_sysctl': vrrp_if_config.c:425:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ vrrp_if_config.c: In function 'clear_rp_filter': vrrp_if_config.c:536:3: warning: implicit declaration of function 'log_message' [-Wimplicit-function-declaration] log_message(LOG_INFO, "Unable to read sysctl net.ipv4.conf.all.rp_filter"); ^ 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_snmp.c: In function 'vrrp_snmp_encap': vrrp_snmp.c:1121:11: warning: unused variable 'i' [-Wunused-variable] unsigned i; ^ vrrp_snmp.c:1116:8: warning: unused variable 'op' [-Wunused-variable] char *op; ^ AR libvrrp.a make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/vrrp' Making all in check make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' CC check_daemon.o CC check_data.o CC check_parser.o CC check_api.o CC check_tcp.o CC check_http.o CC check_ssl.o CC check_smtp.o CC check_misc.o CC check_dns.o CC ipwrapper.o CC ipvswrapper.o CC libipvs.o CC check_snmp.o AR libcheck.a make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' Making all in etc make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' Making all in init make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' Making all in init.d make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' CC main.o CCLD keepalived make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/doc' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/doc' Making all in genhash make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' CC main.o CC sock.o CC layer4.o CC http.o CC ssl.o CCLD genhash make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' Making all in bin_install make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9' EDIT README make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Lw5RkO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 + cd keepalived-1.3.9 + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 Making install in lib make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make install-am make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/lib' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/lib' Making install in keepalived make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' Making install in core make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/core' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/core' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/core' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/core' Making install in vrrp make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/vrrp' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/vrrp' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/vrrp' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/vrrp' Making install in check make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/check' Making install in etc make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' Making install in init make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' make[4]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' make[4]: Nothing to be done for `install-exec-am'. make[4]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init' Making install in init.d make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[4]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[4]: Nothing to be done for `install-exec-am'. make[4]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc/init.d' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[4]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived/etc' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' make[3]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/sbin' /usr/bin/install -c keepalived '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/keepalived' /usr/bin/install -c -m 644 etc/keepalived/keepalived.conf '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/keepalived' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/sysconfig' /usr/bin/install -c -m 644 etc/sysconfig/keepalived '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/sysconfig' make[3]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/keepalived' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/doc' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 man/man1/genhash.1 '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man5' /usr/bin/install -c -m 644 man/man5/keepalived.conf.5 '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 man/man8/keepalived.8 '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/man/man8' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/snmp/mibs' /usr/bin/install -c -m 644 KEEPALIVED-MIB.txt VRRP-MIB.txt VRRPv3-MIB.txt '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/snmp/mibs' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/keepalived/samples' /usr/bin/install -c -m 644 ./samples/client.pem ./samples/dh1024.pem ./samples/keepalived.conf.HTTP_GET.port ./samples/keepalived.conf.IPv6 ./samples/keepalived.conf.SMTP_CHECK ./samples/keepalived.conf.SSL_GET ./samples/keepalived.conf.fwmark ./samples/keepalived.conf.inhibit ./samples/keepalived.conf.misc_check ./samples/keepalived.conf.misc_check_arg ./samples/keepalived.conf.quorum ./samples/keepalived.conf.sample ./samples/keepalived.conf.status_code ./samples/keepalived.conf.track_interface ./samples/keepalived.conf.virtual_server_group ./samples/keepalived.conf.virtualhost ./samples/keepalived.conf.vrrp ./samples/keepalived.conf.vrrp.localcheck ./samples/keepalived.conf.vrrp.lvs_syncd ./samples/keepalived.conf.vrrp.routes ./samples/keepalived.conf.vrrp.rules ./samples/keepalived.conf.vrrp.scripts ./samples/keepalived.conf.vrrp.static_ipaddress ./samples/keepalived.conf.vrrp.sync ./samples/root.pem ./samples/sample.misccheck.smbcheck.sh ./samples/sample_notify_fifo.sh '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/keepalived/samples' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/doc' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/doc' Making install in genhash make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/bin' /usr/bin/install -c genhash '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/genhash' Making install in bin_install make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9/bin_install' make[1]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9' make[2]: Entering directory `/builddir/build/BUILD/keepalived-1.3.9' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived' /usr/bin/install -c -m 644 README '/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived' make[2]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9' make[1]: Leaving directory `/builddir/build/BUILD/keepalived-1.3.9' + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/rc.d/init.d/ + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/etc/keepalived/samples/ + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived/ + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/keepalived.service /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/lib/systemd/system/keepalived.service + mkdir -p /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/libexec/keepalived + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/keepalived-1.3.9 extracting debug info from /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/bin/genhash extracting debug info from /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/sbin/keepalived /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 2606 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: keepalived-1.3.9-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LKWqPk + umask 022 + cd /builddir/build/BUILD + cd keepalived-1.3.9 + DOCDIR=/builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr AUTHOR /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr ChangeLog /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr CONTRIBUTORS /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr COPYING /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr README /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr README.md /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr TODO /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr doc/keepalived.conf.SYNOPSIS /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + cp -pr doc/samples/keepalived.conf.HTTP_GET.port doc/samples/keepalived.conf.IPv6 doc/samples/keepalived.conf.SMTP_CHECK doc/samples/keepalived.conf.SSL_GET doc/samples/keepalived.conf.fwmark doc/samples/keepalived.conf.inhibit doc/samples/keepalived.conf.misc_check doc/samples/keepalived.conf.misc_check_arg doc/samples/keepalived.conf.quorum doc/samples/keepalived.conf.sample doc/samples/keepalived.conf.status_code doc/samples/keepalived.conf.track_interface doc/samples/keepalived.conf.virtual_server_group doc/samples/keepalived.conf.virtualhost doc/samples/keepalived.conf.vrrp doc/samples/keepalived.conf.vrrp.localcheck doc/samples/keepalived.conf.vrrp.lvs_syncd doc/samples/keepalived.conf.vrrp.routes doc/samples/keepalived.conf.vrrp.rules doc/samples/keepalived.conf.vrrp.scripts doc/samples/keepalived.conf.vrrp.static_ipaddress doc/samples/keepalived.conf.vrrp.sync /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64/usr/share/doc/keepalived-1.3.9 + exit 0 Provides: config(keepalived) = 1.3.9-1.el7.centos keepalived = 1.3.9-1.el7.centos keepalived(x86-64) = 1.3.9-1.el7.centos Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcrypto.so.10()(64bit) libcrypto.so.10(libcrypto.so.10)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libip4tc.so.0()(64bit) libip6tc.so.0()(64bit) libm.so.6()(64bit) libnetsnmp.so.31()(64bit) libnetsnmpagent.so.31()(64bit) libnetsnmpmibs.so.31()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-3.so.200(libnl_3_2_27)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libssl.so.10()(64bit) libssl.so.10(libssl.so.10)(64bit) libxtables.so.10()(64bit) rtld(GNU_HASH) Processing files: keepalived-debuginfo-1.3.9-1.el7.centos.x86_64 Provides: keepalived-debuginfo = 1.3.9-1.el7.centos keepalived-debuginfo(x86-64) = 1.3.9-1.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/keepalived-1.3.9-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/keepalived-debuginfo-1.3.9-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Tf0VGg + umask 022 + cd /builddir/build/BUILD + cd keepalived-1.3.9 + rm -rf /builddir/build/BUILDROOT/keepalived-1.3.9-1.el7.centos.x86_64 + exit 0 Child return code was: 0