Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libtinythread++.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2721/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libtinythread++.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-825163401.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libtinythread++-1.1-2.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libtinythread++.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-2721/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libtinythread++.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R4fFsL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TinyThread++-1.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/TinyThread++-1.1-src.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd TinyThread++-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OZDwzT + umask 022 + cd /builddir/build/BUILD + cd TinyThread++-1.1 + pushd source ~/build/BUILD/TinyThread++-1.1/source ~/build/BUILD/TinyThread++-1.1 + c++ -fPIC -shared -pthread -Wl,--as-needed -Wl,-soname,libtinythread++.so.1.0 -o libtinythread++.so.1.0 tinythread.cpp + popd ~/build/BUILD/TinyThread++-1.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7sErv2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 + cd TinyThread++-1.1 + rm -rf /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/lib64 /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/include + install source/libtinythread++.so.1.0 /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/lib64 + install -m 644 source/fast_mutex.h source/tinythread.h /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/include + ln -s libtinythread++.so.1.0 /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/lib64/libtinythread++.so + /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/TinyThread++-1.1 extracting debug info from /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/lib64/libtinythread++.so.1.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/libtinythread++.so.1.0.debug to /usr/lib/debug/usr/lib64/libtinythread++.so.debug + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.A9FWQb + umask 022 + cd /builddir/build/BUILD + cd TinyThread++-1.1 + pushd test ~/build/BUILD/TinyThread++-1.1/test ~/build/BUILD/TinyThread++-1.1 + make g++ -W -O3 -c -I../source hello.cpp g++ -W -O3 -c -I../source ../source/tinythread.cpp g++ -o hello hello.o tinythread.o -lpthread g++ -W -O3 -c -I../source test.cpp g++ -o test test.o tinythread.o -lpthread g++ -W -O3 -c -I../source fractal.cpp g++ -o fractal fractal.o tinythread.o -lpthread + ./hello Hello world! + ./fractal This is a small multi threaded Mandelbrot fractal generator. The program will generate a 1024x1024 image, using one calculation thread per processor core. The result is written to a TGA format image, "fractal.tga". Type "./fractal -st" to force single threaded operation. Running 2 calculation thread(s)...done! Writing final image...done! + test -f fractal.tga + ./test PART I: Info Number of processor cores: 2 PART II: Thread IDs Main thread id is 1. My thread id is 2. My thread id is 2. My thread id is 2. My thread id is 2. PART III: Thread local storage Main gLocalVar is 1. My gLocalVar is 2. Main gLocalID was not changed by the child thread - OK! PART IV: Mutex locking (100 threads x 10000 iterations) gCount = 1000000 PART V: Fast mutex locking (100 threads x 10000 iterations) gCount = 1000000 PART VI: Condition variable (40 + 1 threads) Wating............................... PART VII: Yield (40 + 1 threads) PART VIII: Sleep (10 x 100 ms) Sleeping.......... PART IX: Detach Detached from thread. ~/build/BUILD/TinyThread++-1.1 Processing files: libtinythread++-1.1-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BQXZjw + popd + exit 0 + umask 022 + cd /builddir/build/BUILD + cd TinyThread++-1.1 + DOCDIR=/builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-1.1 + cp -pr README.txt /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-1.1 + exit 0 Provides: libtinythread++ = 1.1-2.el7.centos libtinythread++(x86-64) = 1.1-2.el7.centos libtinythread++.so.1.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libtinythread++-devel-1.1-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0YrxRQ + umask 022 + cd /builddir/build/BUILD + cd TinyThread++-1.1 + DOCDIR=/builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-devel-1.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-devel-1.1 + cp -pr doc /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64/usr/share/doc/libtinythread++-devel-1.1 + exit 0 Provides: libtinythread++-devel = 1.1-2.el7.centos libtinythread++-devel(x86-64) = 1.1-2.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtinythread++.so.1.0()(64bit) Processing files: libtinythread++-debuginfo-1.1-2.el7.centos.x86_64 Provides: libtinythread++-debuginfo = 1.1-2.el7.centos libtinythread++-debuginfo(x86-64) = 1.1-2.el7.centos 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/libtinythread++-1.1-2.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-825163401.novalocal Wrote: /builddir/build/RPMS/libtinythread++-1.1-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/libtinythread++-devel-1.1-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/libtinythread++-debuginfo-1.1-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ec4rLe + umask 022 + cd /builddir/build/BUILD + cd TinyThread++-1.1 + rm -rf /builddir/build/BUILDROOT/libtinythread++-1.1-2.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->