Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/rhash.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-362bf01f62403338bf9834a9ab46e2fbb00ebd83/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/rhash.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/rhash-1.3.4-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/rhash.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-362bf01f62403338bf9834a9ab46e2fbb00ebd83/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/rhash.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.ksW35n + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf RHash-1.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rhash-1.3.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd RHash-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/^INSTALL_SHARED/s/644/755/' librhash/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GkUfyN + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + /usr/bin/make -j4 'OPTFLAGS=-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' 'OPTLDFLAGS=-g -Wl,-z,relro ' build-shared cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations calc_sums.c -o calc_sums.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_print.c -o hash_print.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations common_func.c -o common_func.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_update.c -o hash_update.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_mask.c -o file_mask.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations file_set.c -o file_set.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations find_file.c -o find_file.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations hash_check.c -o hash_check.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations output.c -o output.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations parse_cmdline.c -o parse_cmdline.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations rhash_main.c -o rhash_main.o cc -c -pipe -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations win_utils.c -o win_utils.o make -C librhash lib-shared make[1]: Entering directory `/builddir/build/BUILD/RHash-1.3.4/librhash' sed -n '1s/.*/{ global:/p; s/^RHASH_API.* \([a-z0-9_]\+\)(.*/ \1;/p; $s/.*/local: *; };/p' rhash.h rhash_torrent.h rhash_timing.h > exports.sym cc -fpic -pipe -DIN_RHASH -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 -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations -shared algorithms.c byte_order.c plug_openssl.c rhash.c rhash_timing.c rhash_torrent.c util.c aich.c crc32.c ed2k.c edonr.c hex.c md4.c md5.c sha1.c sha256.c sha512.c sha3.c ripemd-160.c gost.c has160.c snefru.c tiger.c tiger_sbox.c tth.c torrent.c whirlpool.c whirlpool_sbox.c -Wl,--version-script,exports.sym,-soname,librhash.so.0 -g -Wl,-z,relro -o librhash.so.0 ln -s librhash.so.0 librhash.so make[1]: Leaving directory `/builddir/build/BUILD/RHash-1.3.4/librhash' cc calc_sums.o hash_print.o common_func.o hash_update.o file_mask.o file_set.o find_file.o hash_check.o output.o parse_cmdline.o rhash_main.o win_utils.o -g -Wl,-z,relro -o rhash_shared librhash/librhash.so.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gpQQwS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm ++ dirname /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm + cd RHash-1.3.4 + make DESTDIR=/builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm PREFIX=/usr LIBDIR=/usr/lib install-shared install-lib-shared install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/bin install -m 755 rhash_shared /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/bin/rhash install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/man/man1 install -m 644 dist/rhash.1 /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/man/man1/rhash.1 install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/etc tr -d \\r < dist/rhashrc.sample > rc.tmp && install -m 644 rc.tmp /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/etc/rhashrc rm -f rc.tmp for f in sfv-hash tiger-hash tth-hash whirlpool-hash has160-hash gost-hash ed2k-link magnet-link; do ln -fs rhash /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/bin/$f; done cd /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/man/man1 && for f in sfv-hash tiger-hash tth-hash whirlpool-hash has160-hash gost-hash ed2k-link magnet-link; do ln -fs rhash.1* $f.1; done make -C librhash install-lib-shared make[1]: Entering directory `/builddir/build/BUILD/RHash-1.3.4/librhash' install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/lib install -m 755 librhash.so.0 /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/lib/ make[1]: Leaving directory `/builddir/build/BUILD/RHash-1.3.4/librhash' + make DESTDIR=/builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm PREFIX=/usr LIBDIR=/usr/lib -C librhash install-so-link install-headers make: Entering directory `/builddir/build/BUILD/RHash-1.3.4/librhash' install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/lib ln -s librhash.so.0 /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/lib/librhash.so install -d /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/include install -m 644 rhash.h rhash_torrent.h /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/include/ make: Leaving directory `/builddir/build/BUILD/RHash-1.3.4/librhash' + /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/RHash-1.3.4 extracting debug info from /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/bin/rhash extracting debug info from /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/lib/librhash.so.0 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/gost-hash.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/tth-hash.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/magnet-link.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/has160-hash.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/whirlpool-hash.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/ed2k-link.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/tiger-hash.debug symlinked /usr/lib/debug/usr/bin/rhash.debug to /usr/lib/debug/usr/bin/sfv-hash.debug symlinked /usr/lib/debug/usr/lib/librhash.so.0.debug to /usr/lib/debug/usr/lib/librhash.so.debug 1193 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.6V58I2 + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + make test-shared make -C librhash test-shared make[1]: Entering directory `/builddir/build/BUILD/RHash-1.3.4/librhash' cc -c -pipe -DIN_RHASH -O2 -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations test_hashes.c -o test_hashes.o cc -pipe -DIN_RHASH -O2 -DNDEBUG -fomit-frame-pointer -ffunction-sections -fdata-sections -Wall -W -Wstrict-prototypes -Wnested-externs -Winline -Wpointer-arith -Wbad-function-cast -Wmissing-prototypes -Wmissing-declarations test_hashes.o librhash.so.0 -o test_shared LD_LIBRARY_PATH=.: ./test_shared All sums are working properly! make[1]: Leaving directory `/builddir/build/BUILD/RHash-1.3.4/librhash' chmod +x tests/test_rhash.sh LD_LIBRARY_PATH=../librhash: tests/test_rhash.sh ./rhash_shared Testing /builddir/build/BUILD/RHash-1.3.4/rhash_shared 1. test with text string: Ok 2. test with 1Kb data file: Ok 3. test handling empty files: Ok 4. test default format: Ok 5. test %x, %b, %B modifiers: Ok 6. test special characters: Ok 7. test eDonkey link: Ok 8. test checking all hashes: Ok 9. test checking magnet link: Ok 10. test bsd format checking: Ok 11. test checking w/o filename: Ok 12. test checking embedded crc: Ok 13. test wrong sums detection: Ok 14. test *accept options: Ok 15. test ignoring of log files: Ok 16. test creating torrent file: Ok 17. test exit code: Ok + exit 0 Processing files: rhash-1.3.4-2.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.j6Kbue + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + DOCDIR=/builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/doc/rhash-1.3.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/doc/rhash-1.3.4 + cp -pr README /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/doc/rhash-1.3.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Q866jt + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-1.3.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-1.3.4 + cp -pr COPYING /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-1.3.4 + exit 0 Provides: config(rhash) = 1.3.4-2.el7 librhash.so.0 rhash = 1.3.4-2.el7 rhash(armv7hl-32) = 1.3.4-2.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: 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) librhash.so.0 rtld(GNU_HASH) Processing files: rhash-devel-1.3.4-2.el7.armv7hl Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5bkBv0 + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-devel-1.3.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-devel-1.3.4 + cp -pr COPYING /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm/usr/share/licenses/rhash-devel-1.3.4 + exit 0 Provides: rhash-devel = 1.3.4-2.el7 rhash-devel(armv7hl-32) = 1.3.4-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: librhash.so.0 Processing files: rhash-debuginfo-1.3.4-2.el7.armv7hl Provides: rhash-debuginfo = 1.3.4-2.el7 rhash-debuginfo(armv7hl-32) = 1.3.4-2.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/rhash-1.3.4-2.el7.arm Wrote: /builddir/build/RPMS/rhash-1.3.4-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/rhash-devel-1.3.4-2.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/rhash-debuginfo-1.3.4-2.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ag7ZSX + umask 022 + cd /builddir/build/BUILD + cd RHash-1.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rhash-1.3.4-2.el7.arm + exit 0 Child return code was: 0