Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/stm8flash.spec'], chrootPath='/var/lib/mock/771003-epel-7-x86_64-1530003959.001459/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=['--bind=/tmp/mock-resolv.1ko38hw9:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f8a6105b81ae4b65b6079f55d123ac75', '-D', '/var/lib/mock/771003-epel-7-x86_64-1530003959.001459/root', '-a', '--bind=/tmp/mock-resolv.1ko38hw9:/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/stm8flash.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/stm8flash-20180626git-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/stm8flash.spec'], chrootPath='/var/lib/mock/771003-epel-7-x86_64-1530003959.001459/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=['--bind=/tmp/mock-resolv.1ko38hw9:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1bd77fb690984ae595f3d01a1e3cfe6e', '-D', '/var/lib/mock/771003-epel-7-x86_64-1530003959.001459/root', '-a', '--bind=/tmp/mock-resolv.1ko38hw9:/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/stm8flash.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.GxjkMC + umask 022 + cd /builddir/build/BUILD + unzip -qo /builddir/build/SOURCES/master.zip + cd stm8flash-master + sed -i s#/usr/local/bin#/usr/bin# Makefile + sed -i s#-O0#-O2# Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.clwpj2 + umask 022 + cd /builddir/build/BUILD + cd stm8flash-master + /usr/bin/make -j2 cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o stlink.o stlink.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o stlinkv2.o stlinkv2.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o espstlink.o espstlink.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o main.o main.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o byte_utils.o byte_utils.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o ihex.o ihex.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o srec.o srec.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` -c -o stm8.o stm8.c cc -g -O2 --std=gnu99 --pedantic `pkg-config --cflags libusb-1.0` stlink.o stlinkv2.o espstlink.o main.o byte_utils.o ihex.o srec.o stm8.o `pkg-config --libs libusb-1.0` -o stm8flash + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.08jfCt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 + cd stm8flash-master + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 mkdir -p /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/bin/ cp stm8flash /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/bin/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: stm8flash-20180626git-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qTAk9U + umask 022 + cd /builddir/build/BUILD + DOCDIR=/builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/share/doc/stm8flash-20180626git + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/share/doc/stm8flash-20180626git + cp -pr stm8flash-master/README.md /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/share/doc/stm8flash-20180626git + cp -pr stm8flash-master/COPYING /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64/usr/share/doc/stm8flash-20180626git + exit 0 Provides: stm8flash = 20180626git-1.el7 stm8flash(x86-64) = 20180626git-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.7)(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/stm8flash-20180626git-1.el7.x86_64 Wrote: /builddir/build/RPMS/stm8flash-20180626git-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.STNZDO + umask 022 + cd /builddir/build/BUILD + rm -rf -- stm8flash-master + exit 0 Child return code was: 0