Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-mellanox-rdma.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-16-build-341342-69762/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-mellanox-rdma.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/kmod-mellanox-rdma-5.10.134~16-5.4_3.1.0~1.an8.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/kmod-mellanox-rdma.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-16-build-341342-69762/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-mellanox-rdma.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.ZMIMm3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-mellanox-rdma-5.10.134~16 + /usr/bin/mkdir -p kmod-mellanox-rdma-5.10.134~16 + cd kmod-mellanox-rdma-5.10.134~16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/source-git.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + mv src/ source/ + mkdir obj + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qXP0Vc + umask 022 + cd /builddir/build/BUILD + cd kmod-mellanox-rdma-5.10.134~16 + export 'EXTRA_CFLAGS=-DVERSION=\"5.10.134~16\"' + EXTRA_CFLAGS='-DVERSION=\"5.10.134~16\"' + export INSTALL_MOD_DIR=extra/kmod-mellanox-rdma + INSTALL_MOD_DIR=extra/kmod-mellanox-rdma + export 'CONF_OPTIONS=--with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx5-mod --with-mlxfw-mod --with-ipoib-mod --with-isert-mod --with-iser-mod --with-srp-mod --with-scsi_transport_srp-mod' + CONF_OPTIONS='--with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlx5-mod --with-mlxfw-mod --with-ipoib-mod --with-isert-mod --with-iser-mod --with-srp-mod --with-scsi_transport_srp-mod' + export LIB_MOD_DIR=/lib/modules//extra/kmod-mellanox-rdma + LIB_MOD_DIR=/lib/modules//extra/kmod-mellanox-rdma + for flavor in default + export KSRC=/lib/modules/5.10.134-16.an8/build + KSRC=/lib/modules/5.10.134-16.an8/build ++ make -C /lib/modules/5.10.134-16.an8/build kernelrelease ++ grep -v make ++ tail -1 make: *** /lib/modules/5.10.134-16.an8/build: No such file or directory. Stop. + export kernel= + kernel= + export LIB_MOD_DIR=/lib/modules//extra/kmod-mellanox-rdma + LIB_MOD_DIR=/lib/modules//extra/kmod-mellanox-rdma + rm -rf obj/default + cp -a source obj/default + cd /builddir/build/BUILD/kmod-mellanox-rdma-5.10.134~16/obj/default + autoreconf -vif ./compat /var/tmp/rpm-tmp.qXP0Vc: line 46: autoreconf: command not found error: Bad exit status from /var/tmp/rpm-tmp.qXP0Vc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qXP0Vc (%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/kmod-mellanox-rdma.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 598, 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/kmod-mellanox-rdma.spec