Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/erlang-skerl.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-e30e6807124dda361d2b5c43f374c081f7d8dc64/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/erlang-skerl.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/erlang-skerl-1.1.0-10.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/erlang-skerl.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-e30e6807124dda361d2b5c43f374c081f7d8dc64/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/erlang-skerl.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.aMzqXS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf skerl-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/skerl-1.1.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd skerl-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (erlang-skerl-0001-Rewrote-hex-routines-under-MIT-license.patch): + echo 'Patch #1 (erlang-skerl-0001-Rewrote-hex-routines-under-MIT-license.patch):' + /usr/bin/cat /builddir/build/SOURCES/erlang-skerl-0001-Rewrote-hex-routines-under-MIT-license.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/hex.erl Patch #2 (erlang-skerl-0002-Rewrote-Erlang-NIF-API-routines-under-MIT-license.patch): + echo 'Patch #2 (erlang-skerl-0002-Rewrote-Erlang-NIF-API-routines-under-MIT-license.patch):' + /usr/bin/cat /builddir/build/SOURCES/erlang-skerl-0002-Rewrote-Erlang-NIF-API-routines-under-MIT-license.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/skerl.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8eterJ + umask 022 + cd /builddir/build/BUILD + cd skerl-1.1.0 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + /usr/bin/rebar compile -vv ==> skerl-1.1.0 (compile) Compiled src/skerl.erl Compiled src/hex.erl INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc -c -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 -g -Wall -fPIC -I/usr/lib/erlang/lib/erl_interface-3.7.15/include -I/usr/lib/erlang/erts-5.10.4/include c_src/skein.c -o c_src/skein.o Compiling c_src/skein.c c_src/skein.c: In function 'Skein_256_Final': c_src/skein.c:199:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ c_src/skein.c: In function 'Skein_512_Final': c_src/skein.c:397:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ c_src/skein.c: In function 'Skein1024_Final': c_src/skein.c:594:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ c_src/skein.c: In function 'Skein_256_Output': c_src/skein.c:683:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ c_src/skein.c: In function 'Skein_512_Output': c_src/skein.c:712:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ c_src/skein.c: In function 'Skein1024_Output': c_src/skein.c:741:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((u64b_t *)ctx->b)[0]= Skein_Swap64((u64b_t) i); /* build the counter block */ ^ INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc -c -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 -g -Wall -fPIC -I/usr/lib/erlang/lib/erl_interface-3.7.15/include -I/usr/lib/erlang/erts-5.10.4/include c_src/skein_api.c -o c_src/skein_api.o Compiling c_src/skein_api.c INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc -c -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 -g -Wall -fPIC -I/usr/lib/erlang/lib/erl_interface-3.7.15/include -I/usr/lib/erlang/erts-5.10.4/include c_src/skein_block.c -o c_src/skein_block.o Compiling c_src/skein_block.c INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc -c -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 -g -Wall -fPIC -I/usr/lib/erlang/lib/erl_interface-3.7.15/include -I/usr/lib/erlang/erts-5.10.4/include c_src/skein_debug.c -o c_src/skein_debug.o Compiling c_src/skein_debug.c INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc -c -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 -g -Wall -fPIC -I/usr/lib/erlang/lib/erl_interface-3.7.15/include -I/usr/lib/erlang/erts-5.10.4/include c_src/skerl_nifs.c -o c_src/skerl_nifs.o Compiling c_src/skerl_nifs.c INFO: Using specs [{spec,drv,"priv/skerl_nifs.so", ["c_src/skein.c","c_src/skein_api.c", "c_src/skein_block.c","c_src/skein_debug.c", "c_src/skerl_nifs.c"], ["c_src/skein.o","c_src/skein_api.o", "c_src/skein_block.o","c_src/skein_debug.o", "c_src/skerl_nifs.o"], []}] INFO: sh info: cwd: "/builddir/build/BUILD/skerl-1.1.0" cmd: cc c_src/skein.o c_src/skein_api.o c_src/skein_block.o c_src/skein_debug.o c_src/skerl_nifs.o -Wl,-z,relro -lstdc++ -shared -L/usr/lib/erlang/lib/erl_interface-3.7.15/lib -lerl_interface -lei -o priv/skerl_nifs.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5uxpkA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm ++ dirname /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm + cd skerl-1.1.0 + install -p -m 0644 -D ebin/skerl.app /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm/usr/lib/erlang/lib/skerl-1.1.0/ebin/skerl.app + install -p -m 0644 ebin/skerl.beam /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm/usr/lib/erlang/lib/skerl-1.1.0/ebin + install -p -m 0644 ebin/hex.beam /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm/usr/lib/erlang/lib/skerl-1.1.0/ebin + install -p -m 0755 -D priv/skerl_nifs.so /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm/usr/lib/erlang/lib/skerl-1.1.0/priv/skerl_nifs.so + /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/skerl-1.1.0 extracting debug info from /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm/usr/lib/erlang/lib/skerl-1.1.0/priv/skerl_nifs.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 209 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.mYYPXV + umask 022 + cd /builddir/build/BUILD + cd skerl-1.1.0 + /usr/bin/rebar eunit skip_deps=true -v ==> skerl-1.1.0 (eunit) Compiled src/hex.erl Compiled src/skerl.erl Compiled test/skerl_tests.erl ======================== EUnit ======================== module 'hex' module 'skerl' module 'skerl_tests' skerl_tests: eight_bit_input_test...[0.010 s] ok skerl_tests: fivetwelve_bit_input_test...ok skerl_tests: streaming_input_test...ok [done in 0.020 s] [done in 0.021 s] ======================================================= All 3 tests passed. + exit 0 Processing files: erlang-skerl-1.1.0-10.el7.armv7hl Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib/erlang/lib/.*\.so$' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Provides: erlang-skerl = 1.1.0-10.el7 erlang-skerl(armv7hl-32) = 1.1.0-10.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 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) libstdc++.so.6 rtld(GNU_HASH) Processing files: erlang-skerl-debuginfo-1.1.0-10.el7.armv7hl Provides: erlang-skerl-debuginfo = 1.1.0-10.el7 erlang-skerl-debuginfo(armv7hl-32) = 1.1.0-10.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/erlang-skerl-1.1.0-10.el7.arm Wrote: /builddir/build/RPMS/erlang-skerl-1.1.0-10.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/erlang-skerl-debuginfo-1.1.0-10.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MKVaAp + umask 022 + cd /builddir/build/BUILD + cd skerl-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-skerl-1.1.0-10.el7.arm + exit 0 Child return code was: 0