Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/add.spec'], chrootPath='/var/lib/mock/1086764-epel-7-x86_64-1572952303.458839/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', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72298b40c2444bc7bb3c8b428cd0babe', '-D', '/var/lib/mock/1086764-epel-7-x86_64-1572952303.458839/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf', '--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/add.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/add-20140105-2.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/add.spec'], chrootPath='/var/lib/mock/1086764-epel-7-x86_64-1572952303.458839/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', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f9594ace73e746dea4455a87b96aa39b', '-D', '/var/lib/mock/1086764-epel-7-x86_64-1572952303.458839/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.odmy7m4y:/etc/resolv.conf', '--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/add.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.nHa72o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf add-20140105 + /usr/bin/gzip -dc /builddir/build/SOURCES/add.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd add-20140105 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bYzkVg + umask 022 + cd /builddir/build/BUILD + cd add-20140105 + 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 + 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' + 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' + ./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 checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu Configuring for linux-gnu checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 4.8.5 checking for gcc option to accept ANSI C... none needed checking $CC variable... ok checking for a BSD compatible install... /usr/bin/install -c checking if filesystem supports mixed-case filenames... yes checking for exctags... no checking for ctags... no checking for exetags... no checking for etags... no checking for ctags... no checking for etags... no checking for tdlint... no checking for lint... no checking for alint... no checking for splint... no checking for lclint... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for getopt.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking if you want to turn on gcc warnings... no checking if we must define _GNU_SOURCE... yes checking if _XOPEN_SOURCE really is set... yes checking for specific curses-directory... no checking for extra include directories... no checking if we have identified curses headers... ncurses.h checking for ncurses.h... yes checking for terminfo header... term.h checking for ncurses version... 5.9.20130511 checking if we have identified curses libraries... no checking for tgoto... no checking for tgoto in -lncurses... yes checking for initscr in -lncurses... yes checking if you want to use dmalloc for testing... no checking if you want to use dbmalloc for testing... no checking if you want to use valgrind for testing... no checking if you want to perform memory-leak testing... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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... (cached) yes checking for size_t... yes checking declaration of chtype... yes checking for getcwd... yes checking for getopt... yes checking if we must define _XOPEN_SOURCE_EXTENDED... no checking for term.h... (cached) term.h checking for unctrl.h... unctrl.h checking for COLOR_PAIR... yes checking for beep... yes checking for bkgd... yes checking for define_key... yes checking for flash... yes checking for keypad... yes checking for typeahead... yes checking for wsetscrreg... yes configure: creating ./config.status config.status: creating makefile config.status: creating config.h + make -j2 gcc -c -D_GNU_SOURCE -DHAVE_CONFIG_H -DRELEASE=\"t20140105\" -DADD_HELPFILE=\"/usr/share/`echo add|sed 's,^,,'`.hlp\" -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 add.c gcc -c -D_GNU_SOURCE -DHAVE_CONFIG_H -DRELEASE=\"t20140105\" -DADD_HELPFILE=\"/usr/share/`echo add|sed 's,^,,'`.hlp\" -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 curses.c curses.c: In function 'screen_col': curses.c:257:9: warning: variable 'y' set but not used [-Wunused-but-set-variable] int y, x; ^ curses.c: In function 'screen_row': curses.c:415:12: warning: variable 'x' set but not used [-Wunused-but-set-variable] int y, x; ^ 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 -L/lib64 -Wl,-z,relro -o add add.o curses.o -lncurses + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VIy07k + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 + cd add-20140105 + make install DESTDIR=/builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 mkdir -p /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share mkdir -p /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/man/man1 /usr/bin/install -c add /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/bin/`echo add|sed 's,^,,'` /bin/sh ./rename.sh ./xterm.sh `echo add|sed 's,^,,'` /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/bin/x+ /usr/bin/install -c /bin/sh ./rename.sh ./add.hlp `echo add|sed 's,^,,'` /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/`echo add|sed 's,^,,'`.hlp /usr/bin/install -c /bin/sh ./rename.sh ./add.1 `echo add|sed 's,^,,'` /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/man/man1/`echo add|sed 's,^,,'`.1 /usr/bin/install -c -m 644 + /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/add-20140105 extracting debug info from /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/bin/add dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 134 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: add-20140105-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xGDTyq + umask 022 + cd /builddir/build/BUILD + cd add-20140105 + DOCDIR=/builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + cp -pr COPYING /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + cp -pr README /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + cp -pr MANIFEST /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + cp -pr CHANGES /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64/usr/share/doc/add-20140105 + exit 0 Provides: add = 20140105-2.el7 add(x86-64) = 20140105-2.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.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) libncurses.so.5()(64bit) libtinfo.so.5()(64bit) rtld(GNU_HASH) Processing files: add-debuginfo-20140105-2.el7.x86_64 Provides: add-debuginfo = 20140105-2.el7 add-debuginfo(x86-64) = 20140105-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/add-20140105-2.el7.x86_64 Wrote: /builddir/build/RPMS/add-20140105-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/add-debuginfo-20140105-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hvbX5H + umask 022 + cd /builddir/build/BUILD + cd add-20140105 + /usr/bin/rm -rf /builddir/build/BUILDROOT/add-20140105-2.el7.x86_64 + exit 0 Child return code was: 0