Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/f39-build-730032-102287/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690848000 Wrote: /builddir/build/SRPMS/kernel-6.5.0-0.rc4.30.1.riscv64.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/kernel.spec'], chrootPath='/var/lib/mock/f39-build-730032-102287/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690848000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LAfDjh + umask 022 + cd /builddir/build/BUILD + patch_command='git --work-tree=. apply' + cd /builddir/build/BUILD + rm -rf kernel-6.5-rc4 + /usr/bin/mkdir -p kernel-6.5-rc4 + cd kernel-6.5-rc4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linux-6.5-rc4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-6.5-rc4 linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64 + cd linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64 + cp -a /builddir/build/SOURCES/Makefile.rhelver . + ApplyOptionalPatch patch-6.5-redhat.patch + local patch=patch-6.5-redhat.patch + shift + '[' '!' -f /builddir/build/SOURCES/patch-6.5-redhat.patch ']' ++ wc -l /builddir/build/SOURCES/patch-6.5-redhat.patch ++ awk '{print $1}' + local C=2998 + '[' 2998 -gt 9 ']' + ApplyPatch patch-6.5-redhat.patch + local patch=patch-6.5-redhat.patch + shift + '[' '!' -f /builddir/build/SOURCES/patch-6.5-redhat.patch ']' + case "$patch" in + git --work-tree=. apply + ApplyOptionalPatch linux-kernel-test.patch + local patch=linux-kernel-test.patch + shift + '[' '!' -f /builddir/build/SOURCES/linux-kernel-test.patch ']' ++ wc -l /builddir/build/SOURCES/linux-kernel-test.patch ++ awk '{print $1}' + local C=0 + '[' 0 -gt 9 ']' + chmod +x scripts/checkpatch.pl + mv COPYING COPYING-6.5.0-0.rc4.30.1.riscv64.fc39 + rm -f localversion-next + echo 'Fixing Python shebangs...' Fixing Python shebangs... + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP tools/kvm/kvm_stat/kvm_stat scripts/show_delta scripts/diffconfig scripts/bloat-o-meter scripts/jobserver-exec tools Documentation scripts/clang-tools tools/kvm/kvm_stat/kvm_stat: updating scripts/show_delta: updating scripts/diffconfig: updating scripts/bloat-o-meter: updating scripts/jobserver-exec: updating tools/cgroup/iocost_coef_gen.py: updating tools/cgroup/iocost_monitor.py: no change tools/cgroup/memcg_shrinker.py: updating tools/cgroup/memcg_slabinfo.py: no change tools/net/ynl/cli.py: updating tools/net/ynl/ethtool.py: updating tools/net/ynl/ynl-gen-c.py: updating tools/net/ynl/lib/__init__.py: no change tools/net/ynl/lib/nlspec.py: no change tools/net/ynl/lib/ynl.py: no change tools/perf/pmu-events/jevents.py: updating tools/perf/pmu-events/metric.py: no change tools/perf/pmu-events/metric_test.py: updating tools/perf/python/tracepoint.py: updating tools/perf/python/twatch.py: updating tools/perf/scripts/python/arm-cs-trace-disasm.py: no change tools/perf/scripts/python/check-perf-trace.py: no change tools/perf/scripts/python/compaction-times.py: no change tools/perf/scripts/python/event_analyzing_sample.py: no change tools/perf/scripts/python/export-to-postgresql.py: no change tools/perf/scripts/python/export-to-sqlite.py: no change tools/perf/scripts/python/exported-sql-viewer.py: updating tools/perf/scripts/python/failed-syscalls-by-pid.py: no change tools/perf/scripts/python/flamegraph.py: no change tools/perf/scripts/python/futex-contention.py: no change tools/perf/scripts/python/intel-pt-events.py: no change tools/perf/scripts/python/libxed.py: updating tools/perf/scripts/python/mem-phys-addr.py: no change tools/perf/scripts/python/net_dropmonitor.py: no change tools/perf/scripts/python/netdev-times.py: no change tools/perf/scripts/python/powerpc-hcalls.py: no change tools/perf/scripts/python/sched-migration.py: no change tools/perf/scripts/python/sctop.py: no change tools/perf/scripts/python/stackcollapse.py: no change tools/perf/scripts/python/stat-cpi.py: no change tools/perf/scripts/python/syscall-counts-by-pid.py: no change tools/perf/scripts/python/syscall-counts.py: no change tools/perf/scripts/python/task-analyzer.py: no change tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Core.py: no change tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py: no change tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py: no change tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py: no change tools/perf/tests/attr.py: no change tools/perf/tests/shell/lib/perf_json_output_lint.py: updating tools/perf/tests/shell/lib/perf_metric_validation.py: no change tools/perf/util/setup.py: no change tools/power/pm-graph/bootgraph.py: updating tools/power/pm-graph/sleepgraph.py: updating tools/power/x86/amd_pstate_tracer/amd_pstate_trace.py: updating tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py: updating tools/rcu/rcu-cbs.py: no change tools/testing/kunit/kunit.py: updating tools/testing/kunit/kunit_config.py: no change tools/testing/kunit/kunit_json.py: no change tools/testing/kunit/kunit_kernel.py: no change tools/testing/kunit/kunit_parser.py: no change tools/testing/kunit/kunit_printer.py: updating tools/testing/kunit/kunit_tool_test.py: updating tools/testing/kunit/qemu_config.py: no change tools/testing/kunit/run_checks.py: updating tools/testing/kunit/qemu_configs/alpha.py: no change tools/testing/kunit/qemu_configs/arm.py: no change tools/testing/kunit/qemu_configs/arm64.py: no change tools/testing/kunit/qemu_configs/i386.py: no change tools/testing/kunit/qemu_configs/m68k.py: no change tools/testing/kunit/qemu_configs/powerpc.py: no change tools/testing/kunit/qemu_configs/riscv.py: no change tools/testing/kunit/qemu_configs/s390.py: no change tools/testing/kunit/qemu_configs/sh.py: no change tools/testing/kunit/qemu_configs/sparc.py: no change tools/testing/kunit/qemu_configs/x86_64.py: no change tools/testing/selftests/bpf/test_bpftool.py: no change tools/testing/selftests/bpf/test_bpftool_synctypes.py: updating tools/testing/selftests/bpf/test_offload.py: updating tools/testing/selftests/drivers/net/mlxsw/sharedbuffer_configuration.py: updating tools/testing/selftests/drivers/sdsi/sdsi_test.py: updating tools/testing/selftests/exec/binfmt_script.py: updating tools/testing/selftests/hid/tests/__init__.py: no change tools/testing/selftests/hid/tests/base.py: updating tools/testing/selftests/hid/tests/conftest.py: updating tools/testing/selftests/hid/tests/descriptors_wacom.py: no change tools/testing/selftests/hid/tests/test_apple_keyboard.py: updating tools/testing/selftests/hid/tests/test_gamepad.py: updating tools/testing/selftests/hid/tests/test_hid_core.py: updating tools/testing/selftests/hid/tests/test_ite_keyboard.py: updating tools/testing/selftests/hid/tests/test_keyboard.py: updating tools/testing/selftests/hid/tests/test_mouse.py: updating tools/testing/selftests/hid/tests/test_multitouch.py: updating tools/testing/selftests/hid/tests/test_sony.py: updating tools/testing/selftests/hid/tests/test_tablet.py: updating tools/testing/selftests/hid/tests/test_usb_crash.py: updating tools/testing/selftests/hid/tests/test_wacom_generic.py: updating tools/testing/selftests/net/devlink_port_split.py: updating tools/testing/selftests/net/openvswitch/ovs-dpctl.py: updating tools/testing/selftests/tc-testing/TdcPlugin.py: updating tools/testing/selftests/tc-testing/TdcResults.py: updating tools/testing/selftests/tc-testing/tdc.py: updating tools/testing/selftests/tc-testing/tdc_batch.py: updating tools/testing/selftests/tc-testing/tdc_config.py: no change tools/testing/selftests/tc-testing/tdc_config_local_template.py: no change tools/testing/selftests/tc-testing/tdc_helper.py: no change tools/testing/selftests/tc-testing/tdc_multibatch.py: updating tools/testing/selftests/tc-testing/plugin-lib/buildebpfPlugin.py: no change tools/testing/selftests/tc-testing/plugin-lib/nsPlugin.py: no change tools/testing/selftests/tc-testing/plugin-lib/rootPlugin.py: no change tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py: updating tools/testing/selftests/tc-testing/plugin-lib/valgrindPlugin.py: no change tools/testing/selftests/tc-testing/plugins/__init__.py: no change tools/testing/selftests/tpm2/tpm2.py: no change tools/testing/selftests/tpm2/tpm2_tests.py: no change tools/verification/dot2/automata.py: updating tools/verification/dot2/dot2c.py: updating tools/verification/dot2/dot2k.py: updating tools/workqueue/wq_monitor.py: no change Documentation/conf.py: no change Documentation/networking/device_drivers/atm/cxacru-cf.py: updating Documentation/sphinx/automarkup.py: no change Documentation/sphinx/cdomain.py: no change Documentation/sphinx/kernel_abi.py: no change Documentation/sphinx/kernel_feat.py: no change Documentation/sphinx/kernel_include.py: updating Documentation/sphinx/kerneldoc.py: no change Documentation/sphinx/kernellog.py: no change Documentation/sphinx/kfigure.py: no change Documentation/sphinx/load_config.py: no change Documentation/sphinx/maintainers_include.py: updating Documentation/sphinx/rstFlatTable.py: updating Documentation/trace/postprocess/decode_msr.py: updating Documentation/userspace-api/media/conf_nitpick.py: no change scripts/clang-tools/gen_compile_commands.py: updating scripts/clang-tools/run-clang-tools.py: updating + '[' -L configs ']' + mkdir configs + cd configs + cp /builddir/build/SOURCES/kernel-aarch64-64k-debug-rhel.config /builddir/build/SOURCES/kernel-aarch64-64k-rhel.config /builddir/build/SOURCES/kernel-aarch64-debug-fedora.config /builddir/build/SOURCES/kernel-aarch64-debug-rhel.config /builddir/build/SOURCES/kernel-aarch64-fedora.config /builddir/build/SOURCES/kernel-aarch64-rhel.config /builddir/build/SOURCES/kernel-aarch64-rt-debug-rhel.config /builddir/build/SOURCES/kernel-aarch64-rt-rhel.config /builddir/build/SOURCES/kernel-armv7hl-debug-fedora.config /builddir/build/SOURCES/kernel-armv7hl-fedora.config /builddir/build/SOURCES/kernel-armv7hl-lpae-debug-fedora.config /builddir/build/SOURCES/kernel-armv7hl-lpae-fedora.config /builddir/build/SOURCES/kernel-ppc64le-debug-fedora.config /builddir/build/SOURCES/kernel-ppc64le-debug-rhel.config /builddir/build/SOURCES/kernel-ppc64le-fedora.config /builddir/build/SOURCES/kernel-ppc64le-rhel.config /builddir/build/SOURCES/kernel-riscv64-debug-fedora.config /builddir/build/SOURCES/kernel-riscv64-fedora.config /builddir/build/SOURCES/kernel-s390x-debug-fedora.config /builddir/build/SOURCES/kernel-s390x-debug-rhel.config /builddir/build/SOURCES/kernel-s390x-fedora.config /builddir/build/SOURCES/kernel-s390x-rhel.config /builddir/build/SOURCES/kernel-s390x-zfcpdump-rhel.config /builddir/build/SOURCES/kernel-x86_64-debug-fedora.config /builddir/build/SOURCES/kernel-x86_64-debug-rhel.config /builddir/build/SOURCES/kernel-x86_64-fedora.config /builddir/build/SOURCES/kernel-x86_64-rhel.config /builddir/build/SOURCES/kernel-x86_64-rt-debug-rhel.config /builddir/build/SOURCES/kernel-x86_64-rt-rhel.config . + cp /builddir/build/SOURCES/generate_all_configs.sh . + cp /builddir/build/SOURCES/merge.py . + cp /builddir/build/SOURCES/kernel-local . + FLAVOR=fedora + SPECPACKAGE_NAME=kernel + SPECVERSION=6.5.0 + SPECRPMVERSION=6.5.0 + ./generate_all_configs.sh 1 + for i in kernel-6.5.0-aarch64*.config + mv kernel-6.5.0-aarch64-debug.config kernel-6.5.0-aarch64-debug.config.tmp + ./merge.py /builddir/build/SOURCES/kernel-local kernel-6.5.0-aarch64-debug.config.tmp + rm kernel-6.5.0-aarch64-debug.config.tmp + for i in kernel-6.5.0-aarch64*.config + mv kernel-6.5.0-aarch64.config kernel-6.5.0-aarch64.config.tmp + ./merge.py /builddir/build/SOURCES/kernel-local kernel-6.5.0-aarch64.config.tmp + rm kernel-6.5.0-aarch64.config.tmp + cp /builddir/build/SOURCES/process_configs.sh . + OPTS= + OPTS=' -w -n -c' + RHJOBS=4 + SPECPACKAGE_NAME=kernel + ./process_configs.sh -w -n -c 6.5.0 Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-lpae-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-lpae.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-lpae-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-ppc64le-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-aarch64-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-ppc64le.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl-lpae.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-riscv64-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-armv7hl.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-riscv64.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-ppc64le-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-s390x-debug.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-ppc64le.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-s390x.config ... find: '/configs': No such file or directory Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-riscv64-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-x86_64-debug.config ... find: '/configs': No such file or directory Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-riscv64.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-x86_64.config ... Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-s390x-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-s390x.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-x86_64-debug.config complete Processing /builddir/build/BUILD/kernel-6.5-rc4/linux-6.5.0-0.rc4.30.1.riscv64.fc39.riscv64/configs/kernel-6.5.0-x86_64.config complete Error: Mismatches found in configuration files for riscv riscv64-debug Found CONFIG_IRQ_STACKS=y after generation, had CONFIG_IRQ_STACKS=is not set in Source tree Error: Mismatches found in configuration files for riscv riscv64 Found CONFIG_IRQ_STACKS=y after generation, had CONFIG_IRQ_STACKS=is not set in Source tree error: Bad exit status from /var/tmp/rpm-tmp.LAfDjh (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LAfDjh (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 riscv64 --nodeps /builddir/build/SPECS/kernel.spec