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/simh.spec'], chrootPath='/var/lib/mock/f37-build-675153-75927/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/simh.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=1626998400 Wrote: /builddir/build/SRPMS/simh-3.11.0-17.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/simh.spec'], chrootPath='/var/lib/mock/f37-build-675153-75927/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/simh.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=1626998400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MIbmAB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf simh-3.11.0/sim + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/simh-3.11.0-noroms.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd simh-3.11.0/sim + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1oyP0E + umask 022 + cd /builddir/build/BUILD + 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 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 -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 simh-3.11.0/sim + mkdir -p BIN + make -j4 -e 'ROMS_OPT=-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 -fcommon -fasynchronous-unwind-tables -fstack-clash-protection' USE_NETWORK=1 lib paths are: /lib/ /lib64/lp64d/ include paths are: /usr/lib/gcc/riscv64-redhat-linux/12/include /usr/local/include /usr/include using libm: /lib64/lp64d//libm.so using semaphore: /usr/include/semaphore.h using mman: /usr/include/sys/mman.h using libpcap: /lib64/lp64d//libpcap.so /usr/include/pcap.h *** *** all Simulators being built with: *** - compiler optimizations and no debugging support. GCC Version: 12.2.1. *** - static networking support using Linux provided libpcap components. *** gcc PDP1/pdp1_lp.c PDP1/pdp1_cpu.c PDP1/pdp1_stddev.c PDP1/pdp1_sys.c PDP1/pdp1_dt.c PDP1/pdp1_drm.c PDP1/pdp1_clk.c PDP1/pdp1_dcs.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_shmem.c -I PDP1 -o BIN/pdp1 -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 gcc PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c PDP18B/pdp18b_g2tty.c PDP18B/pdp18b_dr15.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_shmem.c -DPDP4 -I PDP18B -o BIN/pdp4 -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 gcc PDP18B/pdp18b_dt.c PDP18B/pdp18b_drm.c PDP18B/pdp18b_cpu.c PDP18B/pdp18b_lp.c PDP18B/pdp18b_mt.c PDP18B/pdp18b_rf.c PDP18B/pdp18b_rp.c PDP18B/pdp18b_stddev.c PDP18B/pdp18b_sys.c PDP18B/pdp18b_rb.c PDP18B/pdp18b_tt1.c PDP18B/pdp18b_fpp.c PDP18B/pdp18b_g2tty.c PDP18B/pdp18b_dr15.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_shmem.c -DPDP7 -I PDP18B -o BIN/pdp7 -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 gcc PDP8/pdp8_cpu.c PDP8/pdp8_clk.c PDP8/pdp8_df.c PDP8/pdp8_dt.c PDP8/pdp8_lp.c PDP8/pdp8_mt.c PDP8/pdp8_pt.c PDP8/pdp8_rf.c PDP8/pdp8_rk.c PDP8/pdp8_rx.c PDP8/pdp8_sys.c PDP8/pdp8_tt.c PDP8/pdp8_ttx.c PDP8/pdp8_rl.c PDP8/pdp8_tsc.c PDP8/pdp8_td.c PDP8/pdp8_ct.c PDP8/pdp8_fpp.c scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_shmem.c -I PDP8 -o BIN/pdp8 -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 In file included from PDP1/pdp1_lp.c:38: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_dt.c:119: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_dt.c:119: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. compilation terminated. In file included from PDP8/pdp8_cpu.c:196: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_drm.c:46: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_drm.c:46: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. In file included from PDP8/pdp8_clk.c:40: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_cpu.c:271: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_cpu.c:283: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_cpu.c:283: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. In file included from PDP8/pdp8_df.c:52: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_stddev.c:56: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_lp.c:53: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_lp.c:53: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. In file included from PDP8/pdp8_dt.c:98: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_sys.c:48: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_mt.c:74: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_mt.c:74: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_lp.c:35: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_dt.c:94: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rf.c:62: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_mt.c:65: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rf.c:62: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_drm.c:38: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rp.c:45: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_pt.c:37: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rp.c:45: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_clk.c:32: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_stddev.c:80: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_rf.c:56: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP1/pdp1_dcs.c:34: PDP1/pdp1_defs.h:55:10: fatal error: sim_defs.h: No such file or directory 55 | #include "sim_defs.h" | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_stddev.c:80: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_rk.c:39: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_sys.c:59: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_sys.c:59: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_rx.c:59: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rb.c:43: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_sys.c:52: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_rb.c:43: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_tt1.c:46: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_tt.c:45: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_tt1.c:46: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_fpp.c:78: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_ttx.c:61: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_fpp.c:78: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP18B/pdp18b_g2tty.c:114: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP8/pdp8_rl.c:50: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. In file included from PDP18B/pdp18b_g2tty.c:114: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_tsc.c:51: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ In file included from PDP18B/pdp18b_dr15.c:62: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. compilation terminated. In file included from PDP18B/pdp18b_dr15.c:62: PDP18B/pdp18b_defs.h:60:10: fatal error: sim_defs.h: No such file or directory 60 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_td.c:82: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_ct.c:86: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. In file included from PDP8/pdp8_fpp.c:96: PDP8/pdp8_defs.h:52:10: fatal error: sim_defs.h: No such file or directory 52 | #include "sim_defs.h" /* simulator defns */ | ^~~~~~~~~~~~ compilation terminated. sim_fio.c: In function 'sim_fopen': sim_fio.c:186:8: warning: implicit declaration of function 'fopen64'; did you mean 'fopen'? [-Wimplicit-function-declaration] 186 | return fopen64 (file, mode); | ^~~~~~~ | fopen sim_fio.c:186:8: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion] 186 | return fopen64 (file, mode); | ^~~~~~~~~~~~~~~~~~~~ sim_fio.c: In function 'sim_fseeko': sim_fio.c:271:8: warning: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration] 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~~ | fseeko sim_fio.c:271:23: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~ | off_t sim_fio.c:271:23: note: each undeclared identifier is reported only once for each function it appears in sim_fio.c:271:31: error: expected ')' before 'xpos' 271 | return fseeko64 (st, (off64_t)xpos, origin); | ~ ^~~~ | ) sim_fio.c: In function 'sim_ftell': sim_fio.c:276:19: warning: implicit declaration of function 'ftello64'; did you mean 'ftello'? [-Wimplicit-function-declaration] 276 | return (t_offset)(ftello64 (st)); | ^~~~~~~~ | ftello sim_fio.c: In function 'sim_fopen': sim_fio.c:186:8: warning: implicit declaration of function 'fopen64'; did you mean 'fopen'? [-Wimplicit-function-declaration] 186 | return fopen64 (file, mode); | ^~~~~~~ | fopen sim_fio.c:186:8: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion] 186 | return fopen64 (file, mode); | ^~~~~~~~~~~~~~~~~~~~ sim_fio.c: In function 'sim_fseeko': sim_fio.c:271:8: warning: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration] 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~~ | fseeko sim_fio.c:271:23: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~ | off_t sim_fio.c:271:23: note: each undeclared identifier is reported only once for each function it appears in sim_fio.c:271:31: error: expected ')' before 'xpos' 271 | return fseeko64 (st, (off64_t)xpos, origin); | ~ ^~~~ | ) sim_fio.c: In function 'sim_ftell': sim_fio.c:276:19: warning: implicit declaration of function 'ftello64'; did you mean 'ftello'? [-Wimplicit-function-declaration] 276 | return (t_offset)(ftello64 (st)); | ^~~~~~~~ | ftello sim_fio.c: In function 'sim_fopen': sim_fio.c:186:8: warning: implicit declaration of function 'fopen64'; did you mean 'fopen'? [-Wimplicit-function-declaration] 186 | return fopen64 (file, mode); | ^~~~~~~ | fopen sim_fio.c:186:8: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion] 186 | return fopen64 (file, mode); | ^~~~~~~~~~~~~~~~~~~~ sim_fio.c: In function 'sim_fseeko': sim_fio.c:271:8: warning: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration] 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~~ | fseeko sim_fio.c:271:23: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~ | off_t sim_fio.c:271:23: note: each undeclared identifier is reported only once for each function it appears in sim_fio.c:271:31: error: expected ')' before 'xpos' 271 | return fseeko64 (st, (off64_t)xpos, origin); | ~ ^~~~ | ) sim_fio.c: In function 'sim_ftell': sim_fio.c:276:19: warning: implicit declaration of function 'ftello64'; did you mean 'ftello'? [-Wimplicit-function-declaration] 276 | return (t_offset)(ftello64 (st)); | ^~~~~~~~ | ftello sim_fio.c: In function 'sim_fopen': sim_fio.c:186:8: warning: implicit declaration of function 'fopen64'; did you mean 'fopen'? [-Wimplicit-function-declaration] 186 | return fopen64 (file, mode); | ^~~~~~~ | fopen sim_fio.c:186:8: warning: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion] 186 | return fopen64 (file, mode); | ^~~~~~~~~~~~~~~~~~~~ sim_fio.c: In function 'sim_fseeko': sim_fio.c:271:8: warning: implicit declaration of function 'fseeko64'; did you mean 'fseeko'? [-Wimplicit-function-declaration] 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~~ | fseeko sim_fio.c:271:23: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'? 271 | return fseeko64 (st, (off64_t)xpos, origin); | ^~~~~~~ | off_t sim_fio.c:271:23: note: each undeclared identifier is reported only once for each function it appears in sim_fio.c:271:31: error: expected ')' before 'xpos' 271 | return fseeko64 (st, (off64_t)xpos, origin); | ~ ^~~~ | ) sim_fio.c: In function 'sim_ftell': sim_fio.c:276:19: warning: implicit declaration of function 'ftello64'; did you mean 'ftello'? [-Wimplicit-function-declaration] 276 | return (t_offset)(ftello64 (st)); | ^~~~~~~~ | ftello make: *** [makefile:806: BIN/pdp1] Error 1 make: *** Waiting for unfinished jobs.... make: *** [makefile:824: BIN/pdp8] Error 1 make: *** [makefile:812: BIN/pdp4] Error 1 make: *** [makefile:818: BIN/pdp7] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.1oyP0E (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1oyP0E (%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/simh.spec