Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45671-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/xxhash-0.8.1-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'], chrootPath='/var/lib/mock/dist-oc9-build-45671-14591/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HYotH5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xxHash-0.8.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/xxhash-0.8.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xxHash-0.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/xxhash-epel7-ppc64le.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LkWCbV + umask 022 + cd /builddir/build/BUILD + cd xxHash-0.8.1 + /usr/bin/make -O -j8 V=1 VERBOSE=1 'MOREFLAGS=%{__global_cflags} ' DISPATCH=0 cc -O3 %{__global_cflags} -c -o cli/xsum_output.o cli/xsum_output.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: cli/xsum_output.o] Error 1 make: *** Waiting for unfinished jobs.... cc -O3 %{__global_cflags} -c -o cli/xsum_os_specific.o cli/xsum_os_specific.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: cli/xsum_os_specific.o] Error 1 cc -O3 %{__global_cflags} -c -o cli/xsum_bench.o cli/xsum_bench.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: cli/xsum_bench.o] Error 1 cc -O3 %{__global_cflags} -c -o cli/xsum_sanity_check.o cli/xsum_sanity_check.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: cli/xsum_sanity_check.o] Error 1 cc -O3 %{__global_cflags} -c -o cli/xxhsum.o cli/xxhsum.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: cli/xxhsum.o] Error 1 cc -O3 %{__global_cflags} -fPIC xxhash.c -shared -Wl,-soname=libxxhash.so.0 -o libxxhash.so.0.8.1 /usr/bin/ld: cannot find %{__global_cflags}: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:143: libxxhash.so.0.8.1] Error 1 cc -O3 %{__global_cflags} -c -o xxhash.o xxhash.c cc: warning: %{__global_cflags}: linker input file unused because linking not done cc: error: %{__global_cflags}: linker input file not found: No such file or directory make: *** [: xxhash.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.LkWCbV (%build) Bad exit status from /var/tmp/rpm-tmp.LkWCbV (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/xxhash.spec