Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795530199.818546/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kernel.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 warning: line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs warning: line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kernel-7.3.6-0.0.0.20.src.rpm RPM build warnings: line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795530199.818546/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/kernel.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 warning: line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs warning: line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/kernel-7.3.6-0.0.0.20.src.rpm RPM build warnings: line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1795530199.818546/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kernel.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 warning: line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs warning: line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sL1Ec4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kernel-7.3.6 + /usr/bin/mkdir -p kernel-7.3.6 + cd kernel-7.3.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linux-7.3.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-7.3.6 linux-7.3.6-0.0.0.20.aarch64 + cd linux-7.3.6-0.0.0.20.aarch64 + sed -i 's|^\(\t\$(Q)CFLAGS= \$(MAKE) -C ../bpf/bpftool OUTPUT=\$(SKEL_TOOL_TMP_OUT)/ bootstrap\)$|\1 HOST_EXTRACFLAGS="-fPIE"|' tools/perf/bpf_skel.mak + grep -q 'HOST_EXTRACFLAGS="-fPIE"' tools/perf/bpf_skel.mak + find . '(' -name '*.orig' -o -name '*~' ')' -exec rm -f '{}' ';' + find . -name .gitignore -exec rm -f '{}' ';' + cp -a ../linux-7.3.6-0.0.0.20.aarch64 ../linux-7.3.6-0.0.0.20.aarch64-source + find ../linux-7.3.6-0.0.0.20.aarch64-source -type f -name '\.*' -exec rm -rf '{}' ';' + cp -a tools/perf tools/python3-perf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YzRoC4 + umask 022 + cd /builddir/build/BUILD + cd kernel-7.3.6 + cd linux-7.3.6-0.0.0.20.aarch64 + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -0.0.0.20.aarch64/' Makefile + make mrproper -j4 + cp /builddir/build/SOURCES/x509.genkey certs/. + cp /builddir/build/SOURCES/kernel-aarch64.config .config ++ echo aarch64 ++ sed -e s/i.86/x86/ -e s/x86_64/x86/ -e 's/aarch64.*/arm64/' -e 's/riscv.*/riscv/' -e s/powerpc64le/powerpc/ -e s/loongarch64/loongarch/ + make ARCH=arm64 listnewconfig + grep -q '^CONFIG_' .newconfig.list + echo 'ERROR: new Kconfig options not set in kernel-aarch64.config' ERROR: new Kconfig options not set in kernel-aarch64.config Please review each option and set it to an appropriate value (y/m/n), then update the config before building. New options and their defaults: + echo 'Please review each option and set it to an appropriate value' + echo '(y/m/n), then update the config before building. New options' + echo 'and their defaults:' + cat .newconfig.list HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf CONFIG_DRM_AMD_DC_DCE=y RPM build warnings: RPM build errors: + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.YzRoC4 (%build) line 215: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs line 230: It's not recommended to have unversioned Obsoletes: Obsoletes: kernel-tools-libs-devel Bad exit status from /var/tmp/rpm-tmp.YzRoC4 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/kernel.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 --target aarch64 --nodeps /builddir/build/SPECS/kernel.spec