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-fedora-rawhide-x86_64-1530004102.450930/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb7df2254e0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--bind=/tmp/mock-resolv.7sq_h4d3:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'efb5b6a7e04d40f9a11fbcabffabe08c', '-D', '/var/lib/mock/771003-fedora-rawhide-x86_64-1530004102.450930/root', '-a', '--bind=/tmp/mock-resolv.7sq_h4d3:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.fc29.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-fedora-rawhide-x86_64-1530004102.450930/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb7df2254e0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--bind=/tmp/mock-resolv.7sq_h4d3:/etc/resolv.conf']unshare_net=TrueprintOutput=True)
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6f893c3851694b2c9e520ee34f040e7e', '-D', '/var/lib/mock/771003-fedora-rawhide-x86_64-1530004102.450930/root', '-a', '--bind=/tmp/mock-resolv.7sq_h4d3:/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;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.rjFXcF
+ 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.bSwLH1
+ umask 022
+ cd /builddir/build/BUILD
+ cd stm8flash-master
+ /usr/bin/make -O -j2
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 stlink.o stlink.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 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 main.o main.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`    -c -o srec.o srec.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.zmqGjq
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64
BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64
+ cd stm8flash-master
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64 'INSTALL=/usr/bin/install -p'
mkdir -p /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/bin/
cp stm8flash /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/bin/
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: stm8flash-20180626git-1.fc29.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.959zcP
+ umask 022
+ cd /builddir/build/BUILD
+ DOCDIR=/builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/share/doc/stm8flash
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/share/doc/stm8flash
+ cp -pr stm8flash-master/README.md /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/share/doc/stm8flash
+ cp -pr stm8flash-master/COPYING /builddir/build/BUILDROOT/stm8flash-20180626git-1.fc29.x86_64/usr/share/doc/stm8flash
+ exit 0
Provides: stm8flash = 20180626git-1.fc29 stm8flash(x86-64) = 20180626git-1.fc29
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.fc29.x86_64
Wrote: /builddir/build/RPMS/stm8flash-20180626git-1.fc29.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hm2dle
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf -- stm8flash-master
+ exit 0
Child return code was: 0