Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fprobe-ulog.spec'], nspawn_args=[]shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '115bcd70a9b64c5ead791424c2984cb7', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/fprobe-ulog.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system warning: Could not canonicalize hostname: kvm.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/fprobe-ulog-1.2-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fprobe-ulog.spec'], nspawn_args=['--private-network']shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '38f96ab69e99453bb523b4d6de1f6bad', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--private-network', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/fprobe-ulog.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iMPS5N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fprobe-ulog-1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/fprobe-ulog-1.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd fprobe-ulog-1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wb9Rwt + umask 022 + cd /builddir/build/BUILD + cd fprobe-ulog-1.2 + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/fprobe-ulog-1.2/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/fprobe-ulog-1.2/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 for i386-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 for i386-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for pthread_create in -lpthread... 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 for inttypes.h... (cached) yes checking which memory bulk indexing mode to use... "ptr" checking which hash type and size to use... "crc16" checking whether to enable uptime trick... yes checking whether to enable icmp trick... yes checking whether to enable debugging... no checking whether to enable runtime messages... no checking directory to store pidfiles... "/var/run" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -j6 /usr/bin/make all-recursive make[1]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2' Making all in src make[2]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c fprobe-ulog.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c netflow.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c hash.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c mem.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c my_getopt.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 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -c my_log.c hash.c: In function 'hash_init': hash.c:76:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&rnd, sizeof(rnd), 1, rnddev); ^ fprobe-ulog.c: In function 'usage': fprobe-ulog.c:245:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] VERSION, BULK_QUANTITY_MAX, bulk_quantity, sched_min, sched_max); ^ fprobe-ulog.c:245:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'mem_index_t' [-Wformat=] fprobe-ulog.c: In function 'setuser': fprobe-ulog.c:632:11: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(pw->pw_gid, pw->pw_gid); ^ fprobe-ulog.c:633:11: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(pw->pw_uid, pw->pw_uid); ^ fprobe-ulog.c: In function 'main': fprobe-ulog.c:1311:12: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^ fprobe-ulog.c:1312:12: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stdout); ^ fprobe-ulog.c:1313:12: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); ^ gcc -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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_BSD_SOURCE -D_REENTRANT -DWALL -W -Wall -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fprobe-ulog fprobe-ulog.o netflow.o hash.o mem.o my_getopt.o my_log.o -lnetfilter_log_libipulog -lpthread make[2]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' make[2]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2' make[2]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2' make[1]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ueYoml + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 ++ dirname /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 + cd fprobe-ulog-1.2 + rm -rf /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 Making install in src make[1]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' make[2]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/sbin' /usr/bin/install -c fprobe-ulog '/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/man/man8' /usr/bin/install -c -m 644 fprobe-ulog.8 '/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' make[1]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2/src' make[1]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2' make[2]: Entering directory `/builddir/build/BUILD/fprobe-ulog-1.2' 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/fprobe-ulog-1.2' make[1]: Leaving directory `/builddir/build/BUILD/fprobe-ulog-1.2' + mkdir -p /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386//usr/bin + mv /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386//usr/sbin/fprobe-ulog /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386//usr/bin/fprobe-ulog + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/fprobe-ulog-1.2 extracting debug info from /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/bin/fprobe-ulog dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 119 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: fprobe-ulog-1.2-2.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GCl6df + umask 022 + cd /builddir/build/BUILD + cd fprobe-ulog-1.2 + DOCDIR=/builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr AUTHORS /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr ChangeLog /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr NEWS /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr README /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr COPYING /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + cp -pr TODO /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386/usr/share/doc/fprobe-ulog-1.2 + exit 0 Provides: fprobe-ulog = 1.2-2.el7 fprobe-ulog(x86-32) = 1.2-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libnetfilter_log_libipulog.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.3.2) rtld(GNU_HASH) Processing files: fprobe-ulog-debuginfo-1.2-2.el7.i686 Provides: fprobe-ulog-debuginfo = 1.2-2.el7 fprobe-ulog-debuginfo(x86-32) = 1.2-2.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/fprobe-ulog-1.2-2.el7.i386 warning: Could not canonicalize hostname: kvm.centos.org Wrote: /builddir/build/RPMS/fprobe-ulog-1.2-2.el7.i686.rpm Wrote: /builddir/build/RPMS/fprobe-ulog-debuginfo-1.2-2.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.nHw5SY + umask 022 + cd /builddir/build/BUILD + cd fprobe-ulog-1.2 + rm -rf /builddir/build/BUILDROOT/fprobe-ulog-1.2-2.el7.i386 + exit 0 Child return code was: 0