Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/csnappy.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-eb71b6f2a02203bd88d0afa4084c66f6fab04fe8/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/csnappy.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: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/csnappy-0-6.20150729gitd7bc683.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/csnappy.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-eb71b6f2a02203bd88d0afa4084c66f6fab04fe8/root'shell=Falseuid=995env={'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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/csnappy.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: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NDUaFe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf csnappy-d7bc683b6eaba225f483621485035a8044634376 + /usr/bin/gzip -dc /builddir/build/SOURCES/csnappy-d7bc683b6eaba225f483621485035a8044634376.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + test -e LICENSE ++ sed -e '/libcsnappy.so:/ s/.*:// p' -e d + for F in '$(< Makefile sed -e '\''/libcsnappy.so:/ s/.*:// p'\'' -e '\''d'\'')' + sed -e '/Copyright/,/\*\//p' -e d + for F in '$(< Makefile sed -e '\''/libcsnappy.so:/ s/.*:// p'\'' -e '\''d'\'')' + sed -e '/Copyright/,/\*\//p' -e d + for F in '$(< Makefile sed -e '\''/libcsnappy.so:/ s/.*:// p'\'' -e '\''d'\'')' + sed -e '/Copyright/,/\*\//p' -e d + for F in '$(< Makefile sed -e '\''/libcsnappy.so:/ s/.*:// p'\'' -e '\''d'\'')' + sed -e '/Copyright/,/\*\//p' -e d + test -s LICENSE + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w8rR2s + umask 022 + cd /builddir/build/BUILD + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + make -j4 'OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' libcsnappy.so cl_tester cc -std=gnu89 -Wall -pedantic -DHAVE_BUILTIN_CTZ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -fPIC -DPIC -c -o csnappy_compress.o csnappy_compress.c cc -std=gnu89 -Wall -pedantic -DHAVE_BUILTIN_CTZ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -fPIC -DPIC -c -o csnappy_decompress.o csnappy_decompress.c cc -std=gnu89 -Wall -pedantic -DHAVE_BUILTIN_CTZ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wl,-z,relro -Wl,-z,now -shared -o libcsnappy.so csnappy_compress.o csnappy_decompress.o cc -std=gnu89 -Wall -pedantic -DHAVE_BUILTIN_CTZ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -Wl,-z,relro -Wl,-z,now -D_GNU_SOURCE -o cl_tester cl_tester.c libcsnappy.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.845ou0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm ++ dirname /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + make install DESTDIR=/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm LIBDIR=/usr/lib install -d "/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr"/include install -m 0644 csnappy.h "/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr"/include/ install -d "/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/lib" install libcsnappy.so "/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/lib" + /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/csnappy-d7bc683b6eaba225f483621485035a8044634376 extracting debug info from /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/lib/libcsnappy.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 104 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.rMrWw7 + umask 022 + cd /builddir/build/BUILD + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + make -j4 'OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' libcsnappy.so test make: `libcsnappy.so' is up to date. rm -f afifo LD_LIBRARY_PATH=. valgrind --leak-check=full --show-reachable=yes ./cl_tester -d -c /dev/null mkfifo afifo LD_LIBRARY_PATH=. ./cl_tester -c afifo & diff -u testdata/urls.10K afifo && echo "compress-decompress restores original" ==12207== Memcheck, a memory error detector ==12207== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==12207== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==12207== Command: ./cl_tester -d -c ==12207== compress-decompress restores original rm -f afifo LD_LIBRARY_PATH=. ./cl_tester -S d && echo "decompression is safe" decompression is safe LD_LIBRARY_PATH=. ./cl_tester -S c compression overwrites out buffer ==12207== ==12207== HEAP SUMMARY: ==12207== in use at exit: 0 bytes in 0 blocks ==12207== total heap usage: 2 allocs, 2 frees, 11,187,847 bytes allocated ==12207== ==12207== All heap blocks were freed -- no leaks are possible ==12207== ==12207== For counts of detected and suppressed errors, rerun with: -v ==12207== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) LD_LIBRARY_PATH=. valgrind --leak-check=full --show-reachable=yes ./cl_tester -d -c /dev/null || true ==12218== Memcheck, a memory error detector ==12218== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==12218== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==12218== Command: ./cl_tester -d -c ==12218== snappy_decompress returned -5. ==12218== ==12218== HEAP SUMMARY: ==12218== in use at exit: 0 bytes in 0 blocks ==12218== total heap usage: 2 allocs, 2 frees, 10,616,138 bytes allocated ==12218== ==12218== All heap blocks were freed -- no leaks are possible ==12218== ==12218== For counts of detected and suppressed errors, rerun with: -v ==12218== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) LD_LIBRARY_PATH=. valgrind --leak-check=full --show-reachable=yes ./cl_tester -c /dev/null ==12220== Memcheck, a memory error detector ==12220== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==12220== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==12220== Command: ./cl_tester -c ==12220== ==12220== ==12220== HEAP SUMMARY: ==12220== in use at exit: 0 bytes in 0 blocks ==12220== total heap usage: 3 allocs, 3 frees, 11,370,429 bytes allocated ==12220== ==12220== All heap blocks were freed -- no leaks are possible ==12220== ==12220== For counts of detected and suppressed errors, rerun with: -v ==12220== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) LD_LIBRARY_PATH=. valgrind --leak-check=full --show-reachable=yes ./cl_tester -S d ==12221== Memcheck, a memory error detector ==12221== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==12221== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==12221== Command: ./cl_tester -S d ==12221== ==12221== ==12221== HEAP SUMMARY: ==12221== in use at exit: 0 bytes in 0 blocks ==12221== total heap usage: 5 allocs, 5 frees, 75,069 bytes allocated ==12221== ==12221== All heap blocks were freed -- no leaks are possible ==12221== ==12221== For counts of detected and suppressed errors, rerun with: -v ==12221== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 1) Processing files: csnappy-0-6.20150729gitd7bc683.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uJ5dv1 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + DOCDIR=/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/doc/csnappy-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/doc/csnappy-0 + cp -pr README /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/doc/csnappy-0 + cp -pr TODO /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/doc/csnappy-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zVa6wW + umask 022 + cd /builddir/build/BUILD + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + LICENSEDIR=/builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/licenses/csnappy-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/licenses/csnappy-0 + cp -pr LICENSE /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm/usr/share/licenses/csnappy-0 + exit 0 Provides: csnappy = 0-6.20150729gitd7bc683.el7 csnappy(armv7hl-32) = 0-6.20150729gitd7bc683.el7 libcsnappy.so 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: ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) rtld(GNU_HASH) Processing files: csnappy-devel-0-6.20150729gitd7bc683.el7.armv7hl Provides: csnappy-devel = 0-6.20150729gitd7bc683.el7 csnappy-devel(armv7hl-32) = 0-6.20150729gitd7bc683.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: csnappy-debuginfo-0-6.20150729gitd7bc683.el7.armv7hl Provides: csnappy-debuginfo = 0-6.20150729gitd7bc683.el7 csnappy-debuginfo(armv7hl-32) = 0-6.20150729gitd7bc683.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/csnappy-0-6.20150729gitd7bc683.el7.arm Wrote: /builddir/build/RPMS/csnappy-0-6.20150729gitd7bc683.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/csnappy-devel-0-6.20150729gitd7bc683.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/csnappy-debuginfo-0-6.20150729gitd7bc683.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.15KpDP + umask 022 + cd /builddir/build/BUILD + cd csnappy-d7bc683b6eaba225f483621485035a8044634376 + /usr/bin/rm -rf /builddir/build/BUILDROOT/csnappy-0-6.20150729gitd7bc683.el7.arm + exit 0 Child return code was: 0