Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/smcrouteCentos7.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1632410161.837667/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1f1e052a0b7141179ce55ba2967ee8c7', '-D', '/var/lib/mock/epel-7-x86_64-1632410161.837667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/smcrouteCentos7.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/smcroute-2.5.2-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/smcrouteCentos7.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1632410161.837667/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ad3629c3914d4239a1cf783a33e59c6f', '-D', '/var/lib/mock/epel-7-x86_64-1632410161.837667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.54areuit:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/smcrouteCentos7.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0wovLB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smcroute-2.5.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/smcroute-2.5.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd smcroute-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's|@DOCDIR@|/usr/share/doc/smcroute/|g' smcroute.service.in + rm src/ip_mroute.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uxkZtq + umask 022 + cd /builddir/build/BUILD + cd smcroute-2.5.2 + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory aux autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:6: warning: name 'aux' is reserved on W32 and DOS platforms configure.ac:7: installing 'aux/install-sh' configure.ac:7: installing 'aux/missing' src/Makefile.am: installing 'aux/depcomp' parallel-tests: installing 'aux/test-driver' autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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 -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 -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 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + 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 --with-systemd --disable-silent-rules 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-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether ln -s works... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for uint32_t... yes checking for pid_t... 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 atexit... yes checking for dup2... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strrchr... yes checking for asprintf... yes checking for strlcpy... no checking for strlcat... no checking for tempfile... no checking for utimensat... yes checking for sun_len member in struct sockaddr_un... no checking for sin_len member in struct sockaddr_in... no checking for ANSI C header files... (cached) yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for glob.h... yes checking for ifaddrs.h... yes checking for linux/sockios.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netinet/in_var.h... no checking for net/route.h... yes checking for sys/capability.h... no checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/prctl.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for syslog.h... yes checking for termios.h... yes checking for unistd.h... (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 libsystemd... no checking for library containing clock_gettime... none required checking for library containing timer_create... -lrt checking for library containing timer_settime... -lrt checking for library containing cap_set_flag... no checking for struct group_req.gr_interface... yes checking for struct ip_mreqn.imr_ifindex... yes checking for linux/mroute.h... yes checking for linux/filter.h... yes checking for netinet/ip_mroute.h... no checking for linux/mroute6.h... yes checking for netinet6/ip6_mroute.h... no checking for IPv6 multicast host support... yes checking for IPv6 multicast routing support... yes checking for vifc_rate_limit member in struct mif6ctl... no checking for vifc_threshold member in struct mif6ctl... no checking for SOCK_CLOEXEC support... yes configure: WARNING: As a safety measure, SMCRoute use libcap to drop root privs after startup. Install libcap and headers from libcap-dev, or similar, to enable this feature. configure: Use --without-libcap to disable this message. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating smcroute.service config.status: creating config.h config.status: executing depfiles commands ------------------ Summary ------------------ SMCRoute version 2.5.2 Prefix.........: /usr Sysconfdir.....: /etc Runstatedir....: /var/run C Compiler.....: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro Optional features: IPv6...........: yes MRDISC RFC4286.: no libcap.........: no systemd........: /usr/lib/systemd/system libsystemd.....: no Unit tests.....: no ------------- Compiler version -------------- gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --------------------------------------------- Check the above options and compile with: make + /usr/bin/make -j2 /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2' Making all in man make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/man' Making all in src make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-smcrouted.o `test -f 'smcrouted.c' || echo './'`smcrouted.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-conf.o `test -f 'conf.c' || echo './'`conf.c conf.c: In function 'conf_mroute': conf.c:165:9: warning: missing braces around initializer [-Wmissing-braces] struct mroute mroute = { 0 }; ^ conf.c:165:9: warning: (near initialization for 'mroute.link') [-Wmissing-braces] conf.c:165:9: warning: missing initializer for field 'unused' of 'struct mroute' [-Wmissing-field-initializers] In file included from iface.h:11:0, from conf.c:30: mroute.h:91:17: note: 'unused' declared here int unused; ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-mroute.o `test -f 'mroute.c' || echo './'`mroute.c mroute.c: In function 'handle_nocache4': mroute.c:69:9: warning: missing braces around initializer [-Wmissing-braces] struct mroute mroute = { 0 }; ^ mroute.c:69:9: warning: (near initialization for 'mroute.link') [-Wmissing-braces] mroute.c:69:9: warning: missing initializer for field 'unused' of 'struct mroute' [-Wmissing-field-initializers] In file included from iface.h:11:0, from mroute.c:34: mroute.h:91:17: note: 'unused' declared here int unused; ^ In file included from mroute.c:37:0: mroute.c: In function 'mroute4_del_vif': mrdisc.h:44:38: warning: statement with no effect [-Wunused-value] #define mrdisc_deregister(vif) 0 ^ mroute.c:298:3: note: in expansion of macro 'mrdisc_deregister' mrdisc_deregister(iface->vif); ^ mroute.c:312:2: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (iface->vif >= 0 && iface->vif < ALL_VIFS) ^ mroute.c: In function 'handle_nocache6': mroute.c:688:9: warning: missing braces around initializer [-Wmissing-braces] struct mroute mroute = { 0 }; ^ mroute.c:688:9: warning: (near initialization for 'mroute.link') [-Wmissing-braces] mroute.c:688:9: warning: missing initializer for field 'unused' of 'struct mroute' [-Wmissing-field-initializers] In file included from iface.h:11:0, from mroute.c:34: mroute.h:91:17: note: 'unused' declared here int unused; ^ mroute.c: In function 'mroute6_del_mif': mroute.c:914:2: warning: comparison is always true due to limited range of data type [-Wtype-limits] if (iface->mif >= 0 && iface->mif < ALL_VIFS) ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-iface.o `test -f 'iface.c' || echo './'`iface.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-inet.o `test -f 'inet.c' || echo './'`inet.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-ipc.o `test -f 'ipc.c' || echo './'`ipc.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-kern.o `test -f 'kern.c' || echo './'`kern.c kern.c: In function 'kern_mroute4': kern.c:328:9: warning: missing braces around initializer [-Wmissing-braces] struct mfcctl mfcc = { 0 }; ^ kern.c:328:9: warning: (near initialization for 'mfcc.mfcc_origin') [-Wmissing-braces] kern.c:328:9: warning: missing initializer for field 'mfcc_mcastgrp' of 'struct mfcctl' [-Wmissing-field-initializers] In file included from mroute.h:21:0, from iface.h:11, from kern.c:28: /usr/include/linux/mroute.h:73:17: note: 'mfcc_mcastgrp' declared here struct in_addr mfcc_mcastgrp; /* Group in question */ ^ kern.c: In function 'kern_stats4': kern.c:366:9: warning: missing braces around initializer [-Wmissing-braces] struct sioc_sg_req sg_req = { 0 }; ^ kern.c:366:9: warning: (near initialization for 'sg_req.src') [-Wmissing-braces] kern.c:366:9: warning: missing initializer for field 'grp' of 'struct sioc_sg_req' [-Wmissing-field-initializers] In file included from mroute.h:21:0, from iface.h:11, from kern.c:28: /usr/include/linux/mroute.h:85:17: note: 'grp' declared here struct in_addr grp; ^ kern.c: In function 'kern_mroute6': kern.c:550:9: warning: missing braces around initializer [-Wmissing-braces] struct mf6cctl mf6cc = { 0 }; ^ kern.c:550:9: warning: (near initialization for 'mf6cc.mf6cc_origin') [-Wmissing-braces] kern.c:550:9: warning: missing initializer for field 'mf6cc_mcastgrp' of 'struct mf6cctl' [-Wmissing-field-initializers] In file included from mroute.h:25:0, from iface.h:11, from kern.c:28: /usr/include/linux/mroute6.h:81:22: note: 'mf6cc_mcastgrp' declared here struct sockaddr_in6 mf6cc_mcastgrp; /* Group in question */ ^ kern.c: In function 'kern_stats6': kern.c:591:9: warning: missing braces around initializer [-Wmissing-braces] struct sioc_sg_req6 sg_req = { 0 }; ^ kern.c:591:9: warning: (near initialization for 'sg_req.src') [-Wmissing-braces] kern.c:591:9: warning: missing initializer for field 'grp' of 'struct sioc_sg_req6' [-Wmissing-field-initializers] In file included from mroute.h:25:0, from iface.h:11, from kern.c:28: /usr/include/linux/mroute6.h:92:22: note: 'grp' declared here struct sockaddr_in6 grp; ^ gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-log.o `test -f 'log.c' || echo './'`log.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-mcgroup.o `test -f 'mcgroup.c' || echo './'`mcgroup.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-msg.o `test -f 'msg.c' || echo './'`msg.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-notify.o `test -f 'notify.c' || echo './'`notify.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-pidfile.o `test -f 'pidfile.c' || echo './'`pidfile.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-script.o `test -f 'script.c' || echo './'`script.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-socket.o `test -f 'socket.c' || echo './'`socket.c gcc -DHAVE_CONFIG_H -I. -I.. -D_ATFILE_SOURCE -D_INCOMPLETE_XOPEN_C063 -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcrouted-timer.o `test -f 'timer.c' || echo './'`timer.c timer.c: In function 'start': timer.c:109:9: warning: missing braces around initializer [-Wmissing-braces] struct itimerspec it = { 0 }; ^ timer.c:109:9: warning: (near initialization for 'it.it_interval') [-Wmissing-braces] timer.c:109:9: warning: missing initializer for field 'it_value' of 'struct itimerspec' [-Wmissing-field-initializers] In file included from timer.c:26:0: /usr/include/time.h:164:21: note: 'it_value' declared here struct timespec it_value; ^ gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ../lib/strlcpy.o ../lib/strlcpy.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ../lib/strlcat.o ../lib/strlcat.c gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o ../lib/tempfile.o ../lib/tempfile.c gcc -DHAVE_CONFIG_H -I. -I.. -DRUNSTATEDIR=\"/var/run\" -W -Wall -Wextra -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o smcroutectl-smcroutectl.o `test -f 'smcroutectl.c' || echo './'`smcroutectl.c gcc -W -Wall -Wextra -Wno-deprecated-declarations -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o smcrouted smcrouted-smcrouted.o smcrouted-conf.o smcrouted-mroute.o smcrouted-iface.o smcrouted-inet.o smcrouted-ipc.o smcrouted-kern.o smcrouted-log.o smcrouted-mcgroup.o smcrouted-msg.o smcrouted-notify.o smcrouted-pidfile.o smcrouted-script.o smcrouted-socket.o smcrouted-timer.o ../lib/strlcpy.o ../lib/strlcat.o ../lib/tempfile.o -lrt gcc -W -Wall -Wextra -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o smcroutectl smcroutectl-smcroutectl.o ../lib/strlcpy.o ../lib/strlcat.o ../lib/tempfile.o make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/src' make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2' make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2' make[1]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.85WQfA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 + cd smcroute-2.5.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 Making install in man make[1]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/man' make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/man' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/man/man5' /usr/bin/install -c -m 644 smcroute.conf.5 '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 smcrouted.8 smcroutectl.8 '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/man' make[1]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/man' Making install in src make[1]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/src' make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin' /usr/bin/install -c smcrouted smcroutectl '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/src' make[1]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2/src' make[1]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2' make[2]: Entering directory `/builddir/build/BUILD/smcroute-2.5.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin' /usr/bin/install -c smcroute '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/doc/smcroute' /usr/bin/install -c -m 644 README.md COPYING smcroute.conf '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/doc/smcroute' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/lib/systemd/system' /usr/bin/install -c -m 644 smcroute.service '/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/lib/systemd/system' make[2]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2' make[1]: Leaving directory `/builddir/build/BUILD/smcroute-2.5.2' + install -Dm0644 smcroute.conf /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64//etc/smcroute.conf + install -d /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64//etc/smcroute.d/ + rm -rf /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64//usr/share/doc + ln -s /usr/sbin/service /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin/rcsmcroute + /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/smcroute-2.5.2 extracting debug info from /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin/smcroutectl extracting debug info from /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/sbin/smcrouted /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 322 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: smcroute-2.5.2-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Gk5KYK + umask 022 + cd /builddir/build/BUILD + cd smcroute-2.5.2 + DOCDIR=/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/doc/smcroute-2.5.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/doc/smcroute-2.5.2 + cp -pr README.md /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/doc/smcroute-2.5.2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3VYwIV + umask 022 + cd /builddir/build/BUILD + cd smcroute-2.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/licenses/smcroute-2.5.2 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/licenses/smcroute-2.5.2 + cp -pr COPYING /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64/usr/share/licenses/smcroute-2.5.2 + exit 0 Provides: config(smcroute) = 2.5.2-1.el7 smcroute = 2.5.2-1.el7 smcroute(x86-64) = 2.5.2-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh 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.6)(64bit) libc.so.6(GLIBC_2.8)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) librt.so.1(GLIBC_2.3.3)(64bit) rtld(GNU_HASH) Processing files: smcroute-debuginfo-2.5.2-1.el7.x86_64 Provides: smcroute-debuginfo = 2.5.2-1.el7 smcroute-debuginfo(x86-64) = 2.5.2-1.el7 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/smcroute-2.5.2-1.el7.x86_64 Wrote: /builddir/build/RPMS/smcroute-2.5.2-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/smcroute-debuginfo-2.5.2-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0Cb2ws + umask 022 + cd /builddir/build/BUILD + cd smcroute-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smcroute-2.5.2-1.el7.x86_64 + exit 0 Child return code was: 0