Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rt-app.spec'], chrootPath='/var/lib/mock/831493-epel-7-x86_64-1543500938.422846/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=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '148a5712fc794bc9a45b0408f738690a', '-D', '/var/lib/mock/831493-epel-7-x86_64-1543500938.422846/root', '-a', '--capability=cap_ipc_lock', '--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/rt-app.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 Wrote: /builddir/build/SRPMS/rt-app-1.0-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rt-app.spec'], chrootPath='/var/lib/mock/831493-epel-7-x86_64-1543500938.422846/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=['--capability=cap_ipc_lock']unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '00394c6bfd434511b023560ece22c3cf', '-D', '/var/lib/mock/831493-epel-7-x86_64-1543500938.422846/root', '-a', '--capability=cap_ipc_lock', '--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/rt-app.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.mIamfh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rt-app- + /usr/bin/gzip -dc /builddir/build/SOURCES/rt-app-.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rt-app- + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LaGRjf + umask 022 + cd /builddir/build/BUILD + cd rt-app- + autoreconf --install --symlink BUILDSTDERR: aclocal: warning: couldn't open directory 'm4': No such file or directory libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: linking file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' libtoolize: linking file `m4/ltversion.m4' libtoolize: linking file `m4/lt~obsolete.m4' libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. BUILDSTDERR: configure.ac:8: installing 'build-aux/ar-lib' BUILDSTDERR: configure.ac:10: installing 'build-aux/config.guess' BUILDSTDERR: configure.ac:10: installing 'build-aux/config.sub' BUILDSTDERR: configure.ac:6: installing 'build-aux/install-sh' BUILDSTDERR: configure.ac:6: installing 'build-aux/missing' BUILDSTDERR: libdl/Makefile.am: installing 'build-aux/depcomp' + 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 ']' BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + ./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-deadline 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 for style of include used by make... GNU 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 dependency style of gcc... none 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 x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for pthread_create in -lpthread... yes checking for round in -lm... yes checking for clock_gettime in -lrt... yes checking for json_object_from_file in -ljson-c... yes checking for sched_setattr... no 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 libdl/Makefile config.status: creating README config.status: creating COPYING config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands + make Making all in libdl make[1]: Entering directory `/builddir/build/BUILD/rt-app-/libdl' gcc -DHAVE_CONFIG_H -I. -I../src -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 dl_syscalls.c rm -f libdl.a ar cru libdl.a dl_syscalls.o ranlib libdl.a make[1]: Leaving directory `/builddir/build/BUILD/rt-app-/libdl' Making all in src make[1]: Entering directory `/builddir/build/BUILD/rt-app-/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/rt-app-/src' gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -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 rt-app_utils.c gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -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 rt-app_args.c gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -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 rt-app.c BUILDSTDERR: rt-app.c: In function 'waste_cpu_cycles': BUILDSTDERR: rt-app.c:63:16: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: double param, result; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c: In function 'set_thread_priority': BUILDSTDERR: rt-app.c:631:11: warning: unused variable 'policy' [-Wunused-variable] BUILDSTDERR: policy_t policy; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c: In function 'thread_body': BUILDSTDERR: rt-app.c:762:20: warning: unused variable 'attr' [-Wunused-variable] BUILDSTDERR: struct sched_attr attr; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c:757:7: warning: unused variable 'slack' [-Wunused-variable] BUILDSTDERR: long slack; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c:756:16: warning: unused variable 't_start_usec' [-Wunused-variable] BUILDSTDERR: unsigned long t_start_usec; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c: In function 'main': BUILDSTDERR: rt-app.c:967:20: warning: unused variable 'rdata' [-Wunused-variable] BUILDSTDERR: rtapp_resource_t *rdata; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c:965:14: warning: unused variable 'nresources' [-Wunused-variable] BUILDSTDERR: int i, res, nresources; BUILDSTDERR: ^ BUILDSTDERR: rt-app.c:965:9: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: int i, res, nresources; BUILDSTDERR: ^ gcc -DHAVE_CONFIG_H -I. -I./../libdl/ -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 rt-app_parse_config.c BUILDSTDERR: rt-app_parse_config.c: In function 'parse_thread_data': BUILDSTDERR: rt-app_parse_config.c:806:35: warning: unused variable 'resources' [-Wunused-variable] BUILDSTDERR: struct json_object *phases_obj, *resources; BUILDSTDERR: ^ /bin/sh ../libtool --tag=CC --mode=link 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 -o rt-app rt-app_utils.o rt-app_args.o rt-app.o rt-app_parse_config.o ../libdl/libdl.a -ljson-c -lrt -lm -lpthread libtool: link: 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 -Wl,relro -o rt-app rt-app_utils.o rt-app_args.o rt-app.o rt-app_parse_config.o ../libdl/libdl.a -ljson-c -lrt -lm -lpthread make[2]: Leaving directory `/builddir/build/BUILD/rt-app-/src' make[1]: Leaving directory `/builddir/build/BUILD/rt-app-/src' make[1]: Entering directory `/builddir/build/BUILD/rt-app-' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/rt-app-' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MRWRhF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 + cd rt-app- + make install DESTDIR=/builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 Making install in libdl make[1]: Entering directory `/builddir/build/BUILD/rt-app-/libdl' make[2]: Entering directory `/builddir/build/BUILD/rt-app-/libdl' 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/rt-app-/libdl' make[1]: Leaving directory `/builddir/build/BUILD/rt-app-/libdl' Making install in src make[1]: Entering directory `/builddir/build/BUILD/rt-app-/src' make[2]: Entering directory `/builddir/build/BUILD/rt-app-/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c rt-app '/builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin' libtool: install: /usr/bin/install -c rt-app /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin/rt-app /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin' /usr/bin/install -c ./../doc/workgen '/builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/rt-app-/src' make[1]: Leaving directory `/builddir/build/BUILD/rt-app-/src' make[1]: Entering directory `/builddir/build/BUILD/rt-app-' make[2]: Entering directory `/builddir/build/BUILD/rt-app-' 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/rt-app-' make[1]: Leaving directory `/builddir/build/BUILD/rt-app-' + /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/rt-app- extracting debug info from /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64/usr/bin/rt-app BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 165 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: rt-app-1.0-1.el7.x86_64 Provides: rt-app = 1.0-1.el7 rt-app(x86-64) = 1.0-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(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.7)(64bit) libjson-c.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.12)(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libpthread.so.0(GLIBC_2.3.4)(64bit) libpthread.so.0(GLIBC_2.4)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: rt-app-debuginfo-1.0-1.el7.x86_64 Provides: rt-app-debuginfo = 1.0-1.el7 rt-app-debuginfo(x86-64) = 1.0-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/rt-app-1.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/rt-app-1.0-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/rt-app-debuginfo-1.0-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DNAen0 + umask 022 + cd /builddir/build/BUILD + cd rt-app- + /usr/bin/rm -rf /builddir/build/BUILDROOT/rt-app-1.0-1.el7.x86_64 + exit 0 Child return code was: 0