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/f38-build-708820-92486/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=604800uid=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=1681948800 Wrote: /builddir/build/SRPMS/kernel-6.2.11-300.0.riscv64.fc38.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/f38-build-708820-92486/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=604800uid=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=1681948800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yxRji6 + umask 022 + cd /builddir/build/BUILD + patch_command='git --work-tree=. apply' + cd /builddir/build/BUILD + rm -rf kernel-6.2.11 + /usr/bin/mkdir -p kernel-6.2.11 + cd kernel-6.2.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/linux-6.2.11.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv linux-6.2.11 linux-6.2.11-300.0.riscv64.fc38.riscv64 + cd linux-6.2.11-300.0.riscv64.fc38.riscv64 + cp -a /builddir/build/SOURCES/Makefile.rhelver . + ApplyOptionalPatch patch-6.2-redhat.patch + local patch=patch-6.2-redhat.patch + shift + '[' '!' -f /builddir/build/SOURCES/patch-6.2-redhat.patch ']' ++ wc -l /builddir/build/SOURCES/patch-6.2-redhat.patch ++ awk '{print $1}' + local C=2540 + '[' 2540 -gt 9 ']' + ApplyPatch patch-6.2-redhat.patch + local patch=patch-6.2-redhat.patch + shift + '[' '!' -f /builddir/build/SOURCES/patch-6.2-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.2.11-300.0.riscv64.fc38 + touch .scmversion Fixing Python shebangs... + echo 'Fixing Python shebangs...' + pathfix.py -i '/usr/bin/python3 -sP' -p -n 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/perf/pmu-events/jevents.py: updating tools/perf/pmu-events/metric.py: no change tools/perf/pmu-events/metric_test.py: no change 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/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/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/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/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 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/target/tcm_mod_builder.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-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-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 . + cp /builddir/build/SOURCES/generate_all_configs.sh . + cp /builddir/build/SOURCES/merge.py . + cp /builddir/build/SOURCES/kernel-local . + FLAVOR=fedora + SPECVERSION=6.2.11 + ./generate_all_configs.sh 1 + for i in kernel-6.2.11-riscv64*.config + mv kernel-6.2.11-riscv64-debug.config kernel-6.2.11-riscv64-debug.config.tmp + ./merge.py /builddir/build/SOURCES/kernel-local kernel-6.2.11-riscv64-debug.config.tmp + rm kernel-6.2.11-riscv64-debug.config.tmp + for i in kernel-6.2.11-riscv64*.config + mv kernel-6.2.11-riscv64.config kernel-6.2.11-riscv64.config.tmp + ./merge.py /builddir/build/SOURCES/kernel-local kernel-6.2.11-riscv64.config.tmp + rm kernel-6.2.11-riscv64.config.tmp + cp /builddir/build/SOURCES/process_configs.sh . + OPTS= + OPTS=' -w -n -c' + RHJOBS=4 + PACKAGE_NAME=kernel + ./process_configs.sh -w -n -c Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-lpae-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-lpae.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-aarch64.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-ppc64le-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-lpae-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-ppc64le.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl-lpae.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-riscv64-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-armv7hl.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-riscv64.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-ppc64le-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-s390x-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-ppc64le.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-s390x.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-riscv64.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-x86_64-debug.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-riscv64-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-x86_64.config ... Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-s390x-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-s390x.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-x86_64-debug.config complete Processing /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs/kernel-6.2.11-x86_64.config complete Processed config files are in /builddir/build/BUILD/kernel-6.2.11/linux-6.2.11-300.0.riscv64.fc38.riscv64/configs + cp /builddir/build/SOURCES/update_scripts.sh . + RPM_SOURCE_DIR=/builddir/build/SOURCES + ./update_scripts.sh fedora + '[' fedora == rhel ']' + cd .. + find . '(' -name '*.orig' -o -name '*~' ')' -delete + find . -name .gitignore -delete + cd .. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7NRdxe + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kernel-6.2.11 + rm -rf /builddir/build/BUILD/root_unstripped + mkdir -p /builddir/build/BUILD/root_unstripped + rm -rf /builddir/build/BUILDROOT/kernel-6.2.11-300.0.riscv64.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT/kernel-6.2.11-300.0.riscv64.fc38.riscv64/boot + mkdir -p /builddir/build/BUILDROOT/kernel-6.2.11-300.0.riscv64.fc38.riscv64/usr/libexec + cd linux-6.2.11-300.0.riscv64.fc38.riscv64 + BuildKernel Image.gz arch/riscv/boot/Image.gz 1 + MakeTarget=Image.gz + KernelImage=arch/riscv/boot/Image.gz + DoVDSO=1 + Variant= + InstallName=vmlinuz + DoModules=1 + '[' '' = zfcpdump ']' + '[' arch/riscv/boot/Image.gz = vmlinux ']' + CopyKernel=cp + InitBuildVars + Variant= + Config=kernel-6.2.11-riscv64.config + DevelDir=/usr/src/kernels/6.2.11-300.0.riscv64.fc38.riscv64 + KernelVer=6.2.11-300.0.riscv64.fc38.riscv64 ++ perl -e 'print "300.0.riscv64.fc38" =~ s/\.pr\.[0-9A-Fa-f]{32}//r' + ShortRel=300.0.riscv64.fc38 + perl -p -i -e 's/^EXTRAVERSION.*/EXTRAVERSION = -300.0.riscv64.fc38.riscv64/' Makefile + perl -p -i -e 's/^PATCHLEVEL.*/PATCHLEVEL = 2/' Makefile + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' -j4 mrproper + cp configs/kernel-6.2.11-riscv64.config .config + cp configs/x509.genkey certs/. ++ head -1 .config ++ cut -b 3- + Arch=riscv + echo USING ARCH=riscv USING ARCH=riscv + KCFLAGS= + '[' '' == '' ']' + KCFLAGS=' ' + echo BUILDING A KERNEL FOR riscv64... BUILDING A KERNEL FOR riscv64... + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' ARCH=riscv olddefconfig + perl -p -i -e 's/^CONFIG_BUILD_SALT.*/CONFIG_BUILD_SALT="6.2.11-300.0.riscv64.fc38.riscv64"/' .config + /usr/bin/make -s 'HOSTCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ' 'HOSTLDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' ARCH=riscv 'KCFLAGS= ' WITH_GCOV=0 -j4 Image.gz In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_readonly' at fs/btrfs/sysfs.c:833:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -42 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_disk_total' at fs/btrfs/sysfs.c:836:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -35 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_zone_unusable' at fs/btrfs/sysfs.c:834:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -41 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_flags' at fs/btrfs/sysfs.c:827:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -34 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_used' at fs/btrfs/sysfs.c:829:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -46 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_total_bytes' at fs/btrfs/sysfs.c:828:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -47 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_reserved' at fs/btrfs/sysfs.c:831:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -44 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_pinned' at fs/btrfs/sysfs.c:830:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -45 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_bytes_may_use' at fs/btrfs/sysfs.c:832:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -43 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In function 'btrfs_show_u64', inlined from 'btrfs_space_info_show_disk_used' at fs/btrfs/sysfs.c:835:1: fs/btrfs/sysfs.c:636:13: warning: array subscript -36 is outside array bounds of 'struct kobject[144115188075855871]' [-Warray-bounds=] 636 | val = *value_ptr; | ~~~~^~~~~~~~~~~~ In file included from ./include/linux/byteorder/little_endian.h:5, from ./arch/riscv/include/uapi/asm/byteorder.h:10, from ./include/asm-generic/qrwlock_types.h:6, from ./arch/riscv/include/generated/asm/qrwlock_types.h:1, from ./include/asm-generic/spinlock_types.h:13, from ./arch/riscv/include/generated/asm/spinlock_types.h:1, from ./include/linux/spinlock_types_raw.h:7, from ./include/linux/ratelimit_types.h:7, from ./include/linux/printk.h:9, from ./include/asm-generic/bug.h:22, from ./arch/riscv/include/asm/bug.h:83, from ./include/linux/bug.h:5, from ./include/linux/thread_info.h:13, from ./include/asm-generic/preempt.h:5, from ./arch/riscv/include/generated/asm/preempt.h:1, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:56, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/proc_fs.h:10, from ./include/linux/efi.h:19, from drivers/firmware/efi/libstub/zboot.c:3: In function 'get_unaligned_le32', inlined from 'efi_zboot_entry' at drivers/firmware/efi/libstub/zboot.c:94:15: ./include/asm-generic/unaligned.h:14:15: warning: array subscript -1 is outside array bounds of 'char[]' [-Warray-bounds=] 14 | __pptr->x; \ | ~~~~~~^~~ ./include/uapi/linux/byteorder/little_endian.h:35:51: note: in definition of macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ ./include/asm-generic/unaligned.h:32:28: note: in expansion of macro '__get_unaligned_t' 32 | return le32_to_cpu(__get_unaligned_t(__le32, p)); | ^~~~~~~~~~~~~~~~~ drivers/firmware/efi/libstub/zboot.c: In function 'efi_zboot_entry': drivers/firmware/efi/libstub/zboot.c:33:30: note: at offset -4 into object '_gzdata_end' of size [0, 9223372036854775807] 33 | extern char _gzdata_start[], _gzdata_end[]; | ^~~~~~~~~~~ In function 'get_unaligned_le32', inlined from 'efi_zboot_entry' at drivers/firmware/efi/libstub/zboot.c:98:14: ./include/asm-generic/unaligned.h:14:15: warning: array subscript -2 is outside array bounds of 'char[]' [-Warray-bounds=] 14 | __pptr->x; \ | ~~~~~~^~~ ./include/uapi/linux/byteorder/little_endian.h:35:51: note: in definition of macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ ./include/asm-generic/unaligned.h:32:28: note: in expansion of macro '__get_unaligned_t' 32 | return le32_to_cpu(__get_unaligned_t(__le32, p)); | ^~~~~~~~~~~~~~~~~ drivers/firmware/efi/libstub/zboot.c: In function 'efi_zboot_entry': drivers/firmware/efi/libstub/zboot.c:33:30: note: at offset -8 into object '_gzdata_end' of size [0, 9223372036854775807] 33 | extern char _gzdata_start[], _gzdata_end[]; | ^~~~~~~~~~~ In function 'get_unaligned_le32', inlined from 'efi_zboot_entry' at drivers/firmware/efi/libstub/zboot.c:99:7: ./include/asm-generic/unaligned.h:14:15: warning: array subscript -3 is outside array bounds of 'char[]' [-Warray-bounds=] 14 | __pptr->x; \ | ~~~~~~^~~ ./include/uapi/linux/byteorder/little_endian.h:35:51: note: in definition of macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ ./include/asm-generic/unaligned.h:32:28: note: in expansion of macro '__get_unaligned_t' 32 | return le32_to_cpu(__get_unaligned_t(__le32, p)); | ^~~~~~~~~~~~~~~~~ drivers/firmware/efi/libstub/zboot.c: In function 'efi_zboot_entry': drivers/firmware/efi/libstub/zboot.c:33:30: note: at offset -12 into object '_gzdata_end' of size [0, 9223372036854775807] 33 | extern char _gzdata_start[], _gzdata_end[]; | ^~~~~~~~~~~ drivers/thunderbolt/switch.c:1286:6: warning: conflicting types for 'tb_port_is_clx_enabled' due to enum/integer mismatch; have 'bool(struct tb_port *, unsigned int)' {aka '_Bool(struct tb_port *, unsigned int)'} [-Wenum-int-mismatch] 1286 | bool tb_port_is_clx_enabled(struct tb_port *port, unsigned int clx_mask) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/thunderbolt/switch.c:19: drivers/thunderbolt/tb.h:1061:6: note: previous declaration of 'tb_port_is_clx_enabled' with type 'bool(struct tb_port *, enum tb_clx)' {aka '_Bool(struct tb_port *, enum tb_clx)'} 1061 | bool tb_port_is_clx_enabled(struct tb_port *port, enum tb_clx clx); | ^~~~~~~~~~~~~~~~~~~~~~ Unsupported DW_TAG_unspecified_type(0x3b) Encountered error while encoding BTF. FAILED: load BTF from vmlinux: No such file or directory make[1]: *** [scripts/Makefile.vmlinux:35: vmlinux] Error 255 make[1]: *** Deleting file 'vmlinux' make: *** [Makefile:1268: vmlinux] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7NRdxe (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7NRdxe (%build) 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