Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/realtime-tests.spec'], chrootPath='/var/lib/mock/f33-build-607204-67355/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/realtime-tests.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1608076800 Wrote: /builddir/build/SRPMS/realtime-tests-1.9-8.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/realtime-tests.spec'], chrootPath='/var/lib/mock/f33-build-607204-67355/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/realtime-tests.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1608076800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UHWno2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rt-tests-1.9 + /usr/bin/xz -dc /builddir/build/SOURCES/rt-tests-1.9.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rt-tests-1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (rt-tests-Don-t-compress-man-pages-by-default.patch):' Patch #1 (rt-tests-Don-t-compress-man-pages-by-default.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Patch #2 (rt-tests-determine_maximum_mpps.sh-Add-a-menu-to-get-user-settings.patch): + echo 'Patch #2 (rt-tests-determine_maximum_mpps.sh-Add-a-menu-to-get-user-settings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/queuelat/determine_maximum_mpps.sh + echo 'Patch #3 (rt-tests-queuelat-Remove-get_cpuinfo_mhz.sh-and-old-Makefile.patch):' Patch #3 (rt-tests-queuelat-Remove-get_cpuinfo_mhz.sh-and-old-Makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 204 (offset -5 lines). patching file src/queuelat/Makefile patching file src/queuelat/get_cpuinfo_mhz.sh Patch #4 (rt-tests-queuelat-Add-a-manpage-for-determine_maximum_mpps.patch): + echo 'Patch #4 (rt-tests-queuelat-Add-a-manpage-for-determine_maximum_mpps.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 46 (offset -6 lines). patching file src/queuelat/determine_maximum_mpps.8 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RrINPZ + umask 022 + cd /builddir/build/BUILD + cd rt-tests-1.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j4 V=1 VERBOSE=1 src/oslat/oslat.c:72:4: error: #error Need frc() for this platform. 72 | # error Need frc() for this platform. | ^~~~~ gcc -D VERSION=1.9 -c src/lib/rt-get_cpu.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/rt-get_cpu.o gcc -D VERSION=1.9 -c src/lib/rt-sched.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/rt-sched.o gcc -D VERSION=1.9 -c src/lib/error.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/error.o gcc -D VERSION=1.9 -c src/pi_tests/pip_stress.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/pip_stress.o gcc -D VERSION=1.9 -c src/lib/rt-utils.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/rt-utils.o src/lib/rt-utils.c: In function 'tracemark': src/lib/rt-utils.c:429:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | write(tracemark_fd, tracebuf, len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/lib/rt-utils.c:432:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 432 | write(trace_fd, "0\n", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/hackbench/hackbench.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/hackbench.o gcc -D VERSION=1.9 -c src/pmqtest/pmqtest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/pmqtest.o src/pmqtest/pmqtest.c: In function 'pmqthread': src/pmqtest/pmqtest.c:193:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 193 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/ptsematest/ptsematest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/ptsematest.o src/ptsematest/ptsematest.c: In function 'semathread': src/ptsematest/ptsematest.c:121:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 121 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/pi_tests/pi_stress.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/pi_stress.o gcc -D VERSION=1.9 -c src/cyclictest/cyclictest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclictest.o gcc -D VERSION=1.9 -c src/signaltest/signaltest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/signaltest.o src/signaltest/signaltest.c: In function 'signalthread': src/signaltest/signaltest.c:110:4: warning: null argument where non-null required (argument 1) [-Wnonnull] 110 | gettimeofday(0,(struct timezone *)1); | ^~~~~~~~~~~~ src/signaltest/signaltest.c:156:5: warning: null argument where non-null required (argument 1) [-Wnonnull] 156 | gettimeofday(0,0); | ^~~~~~~~~~~~ src/signaltest/signaltest.c:84:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | system("echo 1 > /proc/sys/kernel/trace_all_cpus"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:85:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | system("echo 1 > /proc/sys/kernel/trace_enabled"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:86:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 86 | system("echo 1 > /proc/sys/kernel/trace_freerunning"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:87:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | system("echo 0 > /proc/sys/kernel/trace_print_at_crash"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:88:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | system("echo 1 > /proc/sys/kernel/trace_user_triggered"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:89:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | system("echo -1 > /proc/sys/kernel/trace_user_trigger_irq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:90:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | system("echo 0 > /proc/sys/kernel/trace_verbose"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:91:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system("echo 0 > /proc/sys/kernel/preempt_thresh"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:92:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | system("echo 0 > /proc/sys/kernel/wakeup_timing"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/signaltest/signaltest.c:93:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | system("echo 0 > /proc/sys/kernel/preempt_max_latency"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/rt-migrate-test/rt-migrate-test.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/rt-migrate-test.o src/rt-migrate-test/rt-migrate-test.c: In function 'ftrace_write': src/rt-migrate-test/rt-migrate-test.c:69:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 69 | write(mark_fd, buff, n); | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/sigwaittest/sigwaittest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/sigwaittest.o src/sigwaittest/sigwaittest.c: In function 'semathread': src/sigwaittest/sigwaittest.c:186:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 186 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sigwaittest/sigwaittest.c: In function 'main': src/sigwaittest/sigwaittest.c:387:3: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | ftruncate(shmem, totalsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/svsematest/svsematest.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/svsematest.o src/svsematest/svsematest.c: In function 'semathread': src/svsematest/svsematest.c:178:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | write(tracing_enabled, "0", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/svsematest/svsematest.c: In function 'main': src/svsematest/svsematest.c:427:3: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 427 | ftruncate(shmem, totalsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/sched_deadline/cyclicdeadline.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/cyclicdeadline.o src/sched_deadline/cyclicdeadline.c: In function 'ftrace_write': src/sched_deadline/cyclicdeadline.c:242:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | write(mark_fd, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/cyclicdeadline.c: In function 'main': src/sched_deadline/cyclicdeadline.c:1208:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1208 | system("cat /sys/fs/cgroup/cpuset/my_cpuset/tasks"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/cyclicdeadline.c: In function 'teardown': src/sched_deadline/cyclicdeadline.c:619:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 619 | write(fd, "0", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/cyclicdeadline.c:625:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 625 | write(fd, "1", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/cyclicdeadline.c: In function 'destroy_cpuset': src/sched_deadline/cyclicdeadline.c:587:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 587 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D VERSION=1.9 -c src/ssdd/ssdd.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/ssdd.o chmod +x src/hwlatdetect/hwlatdetect.py ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect chmod +x src/cyclictest/get_cyclictest_snapshot.py ln -s src/cyclictest/get_cyclictest_snapshot.py get_cyclictest_snapshot ar rcs bld/librttest.a bld/error.o bld/rt-get_cpu.o bld/rt-sched.o bld/rt-utils.o gcc -D VERSION=1.9 -c src/queuelat/queuelat.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/queuelat.o gcc -D VERSION=1.9 -c src/oslat/oslat.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/oslat.o src/oslat/oslat.c:72:4: error: #error Need frc() for this platform. 72 | # error Need frc() for this platform. | ^~~~~ src/oslat/oslat.c: In function '__measure_cpu_hz': src/oslat/oslat.c:229:2: warning: implicit declaration of function 'frc' [-Wimplicit-function-declaration] 229 | frc(&s); | ^~~ src/oslat/oslat.c: In function 'thread_main': src/oslat/oslat.c:393:3: warning: implicit declaration of function 'relax' [-Wimplicit-function-declaration] 393 | relax(); | ^~~~~ make: *** [Makefile:105: bld/oslat.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -D VERSION=1.9 -c src/sched_deadline/deadline_test.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -D_GNU_SOURCE -Isrc/include -o bld/deadline_test.o src/sched_deadline/deadline_test.c: In function 'ftrace_write': src/sched_deadline/deadline_test.c:339:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 339 | write(mark_fd, buf, n); | ^~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'main': src/sched_deadline/deadline_test.c:1967:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1967 | system("cat /sys/fs/cgroup/cpuset/my_cpuset/tasks"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'teardown': src/sched_deadline/deadline_test.c:843:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 843 | write(fd, "0", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c:849:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 849 | write(fd, "1", 2); | ^~~~~~~~~~~~~~~~~ src/sched_deadline/deadline_test.c: In function 'destroy_cpuset': src/sched_deadline/deadline_test.c:801:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 801 | write(fd, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o pip_stress bld/pip_stress.o -lrt -lpthread -lrttest -Lbld gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -O2 -g -DNUMA -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o hackbench bld/hackbench.o -lrt -lpthread error: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.RrINPZ (%build) Bad exit status from /var/tmp/rpm-tmp.RrINPZ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/realtime-tests.spec