Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/xxhash.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.1Vl8nM:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '533c0f22e69e4b159fa3d1059901f147', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.1Vl8nM:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/xxhash-0.6.5-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/xxhash.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.1Vl8nM:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c0a9b8899a3146f7aadeafd2f90889bd', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.1Vl8nM:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1MgXHM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.6.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zM2IGw + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' 'MOREFLAGS=-Wl,-z,relro ' cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o xxhash.o xxhash.c cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro xxhash.c xxhsum.c -o xxhsum compiling dynamic library 0.6.5 creating versioned links compiling static library ln -sf xxhsum xxh32sum ln -sf xxhsum xxh64sum + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TpvZKj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 + cd xxHash-0.6.5 + make install DESTDIR=/builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 PREFIX=/usr LIBDIR=/usr/lib Installing libxxhash Installing xxhsum Installing man pages xxhash installation completed + rm /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386//usr/lib/libxxhash.a + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/xxHash-0.6.5 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/lib/libxxhash.so.0.6.5 extracting debug info from /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/bin/xxhsum /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libxxhash.so.0.6.5.debug to /usr/lib/debug/usr/lib/libxxhash.so.0.debug symlinked /usr/lib/debug/usr/lib/libxxhash.so.0.6.5.debug to /usr/lib/debug/usr/lib/libxxhash.so.debug symlinked /usr/lib/debug/usr/bin/xxhsum.debug to /usr/lib/debug/usr/bin/xxh32sum.debug symlinked /usr/lib/debug/usr/bin/xxhsum.debug to /usr/lib/debug/usr/bin/xxh64sum.debug BUILDSTDERR: 176 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.afbuG9 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + make check # stdin ./xxhsum < xxhash.c Loading -... - 16e52048bfb1630e - # multiple files ./xxhsum xxhash.* xxhsum.* Loading xxhash.c... xxhash.c Loading xxhash.h... xxhash.h Loading xxhash.o... xxhash.o Loading xxhsum.1... xxhsum.1 Loading xxhsum.1.md... xxhsum.1.md Loading xxhsum.c... xxhsum.c 16e52048bfb1630e xxhash.c eef6b55d7f6a374d xxhash.h f93e25ccae6ba5c6 xxhash.o 15a50bab59ace122 xxhsum.1 ec60de1133c4b4de xxhsum.1.md bd99ccb0f21c4b61 xxhsum.c # internal bench ./xxhsum -bi1 BUILDSTDERR: ./xxhsum 0.6.5 (32-bits little endian), by Yann Collet BUILDSTDERR: Sample of 100 KB... BUILDSTDERR: 1-XXH32 : 102400 -> 1-XXH32 : 102400 -> 30720 it/s ( 3000.0 MB/s) XXH32 : 102400 -> 30720 it/s ( 3000.0 MB/s) BUILDSTDERR: 1-XXH32 unaligned : 102400 -> 1-XXH32 unaligned : 102400 -> 30720 it/s ( 3000.0 MB/s) XXH32 unaligned : 102400 -> 30720 it/s ( 3000.0 MB/s) BUILDSTDERR: 1-XXH64 : 102400 -> 1-XXH64 : 102400 -> 16168 it/s ( 1578.9 MB/s) XXH64 : 102400 -> 16168 it/s ( 1578.9 MB/s) BUILDSTDERR: 1-XXH64 unaligned : 102400 -> 1-XXH64 unaligned : 102400 -> 12288 it/s ( 1200.0 MB/s) XXH64 unaligned : 102400 -> 12288 it/s ( 1200.0 MB/s) # file bench ./xxhsum -bi1 xxhash.c BUILDSTDERR: ./xxhsum 0.6.5 (32-bits little endian), by Yann Collet BUILDSTDERR: Loading xxhash.c... BUILDSTDERR: 1-XXH32 : 33771 -> 1-XXH32 : 33771 -> 103500 it/s ( 3333.4 MB/s) XXH32 : 33771 -> 103500 it/s ( 3333.4 MB/s) BUILDSTDERR: 1-XXH32 unaligned : 33771 -> 1-XXH32 unaligned : 33771 -> 93150 it/s ( 3000.0 MB/s) XXH32 unaligned : 33771 -> 93150 it/s ( 3000.0 MB/s) BUILDSTDERR: 1-XXH64 : 33771 -> 1-XXH64 : 33771 -> 49026 it/s ( 1579.0 MB/s) XXH64 : 33771 -> 49026 it/s ( 1579.0 MB/s) BUILDSTDERR: 1-XXH64 unaligned : 33771 -> 1-XXH64 unaligned : 33771 -> 38812 it/s ( 1250.0 MB/s) XXH64 unaligned : 33771 -> 38812 it/s ( 1250.0 MB/s) + make test-xxhsum-c # xxhsum to/from pipe ./xxhsum lib* | ./xxhsum -c - Loading libxxhash.a... libxxhash.a Loading libxxhash.so... libxxhash.so Loading libxxhash.so.0... libxxhash.so.0 Loading libxxhash.so.0.6.5... libxxhash.so.0.6.5 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK ./xxhsum -H0 lib* | ./xxhsum -c - Loading libxxhash.a... libxxhash.a Loading libxxhash.so... libxxhash.so Loading libxxhash.so.0... libxxhash.so.0 Loading libxxhash.so.0.6.5... libxxhash.so.0.6.5 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK # xxhsum to/from file, shell redirection ./xxhsum lib* > .test.xxh64 Loading libxxhash.a... libxxhash.a Loading libxxhash.so... libxxhash.so Loading libxxhash.so.0... libxxhash.so.0 Loading libxxhash.so.0.6.5... libxxhash.so.0.6.5 ./xxhsum -H0 lib* > .test.xxh32 Loading libxxhash.a... libxxhash.a Loading libxxhash.so... libxxhash.so Loading libxxhash.so.0... libxxhash.so.0 Loading libxxhash.so.0.6.5... libxxhash.so.0.6.5 ./xxhsum -c .test.xxh64 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK ./xxhsum -c .test.xxh32 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK ./xxhsum -c < .test.xxh64 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK ./xxhsum -c < .test.xxh32 libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK # xxhsum -c warns improperly format lines. cat .test.xxh64 .test.xxh32 | ./xxhsum -c - libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK 4 lines are improperly formatted cat .test.xxh32 .test.xxh64 | ./xxhsum -c - libxxhash.a: OK libxxhash.so: OK libxxhash.so.0: OK libxxhash.so.0.6.5: OK 4 lines are improperly formatted # Expects "FAILED" echo "0000000000000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksums did NOT match echo "00000000 LICENSE" | ./xxhsum -c -; test $? -eq 1 LICENSE: FAILED 1 computed checksums did NOT match # Expects "FAILED open or read" echo "0000000000000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 - : 1: FAILED open or read test-expects-file-not-found 1 listed files could not be read echo "00000000 test-expects-file-not-found" | ./xxhsum -c -; test $? -eq 1 - : 1: FAILED open or read test-expects-file-not-found 1 listed files could not be read + exit 0 Processing files: xxhash-0.6.5-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6efIh5 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-0.6.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-0.6.5 + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-0.6.5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.smXnU0 + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-0.6.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-0.6.5 + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-0.6.5 + exit 0 Provides: xxhash = 0.6.5-1.el7 xxhash(x86-32) = 0.6.5-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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: xxhash-libs-0.6.5-1.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rQ7BFW + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + DOCDIR=/builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-libs-0.6.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-libs-0.6.5 + cp -pr README.md /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/doc/xxhash-libs-0.6.5 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Z8RqsS + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + LICENSEDIR=/builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-libs-0.6.5 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-libs-0.6.5 + cp -pr LICENSE /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386/usr/share/licenses/xxhash-libs-0.6.5 + exit 0 Provides: libxxhash.so.0 xxhash-libs = 0.6.5-1.el7 xxhash-libs(x86-32) = 0.6.5-1.el7 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: xxhash-devel-0.6.5-1.el7.i686 Provides: xxhash-devel = 0.6.5-1.el7 xxhash-devel(x86-32) = 0.6.5-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libxxhash.so.0 Processing files: xxhash-debuginfo-0.6.5-1.el7.i686 Provides: xxhash-debuginfo = 0.6.5-1.el7 xxhash-debuginfo(x86-32) = 0.6.5-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/xxhash-0.6.5-1.el7.i386 Wrote: /builddir/build/RPMS/xxhash-0.6.5-1.el7.i686.rpm Wrote: /builddir/build/RPMS/xxhash-libs-0.6.5-1.el7.i686.rpm Wrote: /builddir/build/RPMS/xxhash-devel-0.6.5-1.el7.i686.rpm Wrote: /builddir/build/RPMS/xxhash-debuginfo-0.6.5-1.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dnEh3y + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/xxhash-0.6.5-1.el7.i386 + exit 0 Child return code was: 0