Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.spec'], chrootPath='/var/lib/mock/f42-build-56419859-6543837/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '25afecf06dad43e0b66b8440dad0b803', '-D', '/var/lib/mock/f42-build-56419859-6543837/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/fbzx-4.8.0-9.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.spec'], chrootPath='/var/lib/mock/f42-build-56419859-6543837/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e35f4ba115d94855817983d4f6b05076', '-D', '/var/lib/mock/f42-build-56419859-6543837/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.upOOJw + umask 022 + cd /builddir/build/BUILD/fbzx-4.8.0-build + test -d /builddir/build/BUILD/fbzx-4.8.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/fbzx-4.8.0-build + /usr/bin/rm -rf /builddir/build/BUILD/fbzx-4.8.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/fbzx-4.8.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/fbzx-4.8.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0nyeIQ + umask 022 + cd /builddir/build/BUILD/fbzx-4.8.0-build + cd /builddir/build/BUILD/fbzx-4.8.0-build + rm -rf fbzx-4.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fbzx-4.8.0-noroms.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fbzx-4.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/$(CXX) -o/$(CXX) $(CXXFLAGS) -o/' src/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XDEg8R + umask 022 + cd /builddir/build/BUILD/fbzx-4.8.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 fbzx-4.8.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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 + /usr/bin/make -O -j12 V=1 VERBOSE=1 cd src && /usr/bin/make make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o osd.o osd.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o cmdline.o cmdline.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o microdrive.o microdrive.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' microdrive.cpp: In member function ‘int Microdrive::select_mdrfile(char*)’: microdrive.cpp:200:9: error: ‘strcpy’ was not declared in this scope 200 | strcpy(this->mdr_current_mdr, filename); | ^~~~~~ microdrive.cpp:23:1: note: ‘strcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 22 | #include "emulator.hh" +++ |+#include 23 | #include "osd.hh" microdrive.cpp: In member function ‘int Microdrive::new_mdrfile(char*)’: microdrive.cpp:218:9: error: ‘strcpy’ was not declared in this scope 218 | strcpy(this->mdr_current_mdr, filename); | ^~~~~~ microdrive.cpp:218:9: note: ‘strcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ microdrive.cpp: In member function ‘int Microdrive::select_mdrfile(char*)’: microdrive.cpp:194:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 194 | fread(this->mdr_cartridge, 137923, 1, mdr_file); // read the cartridge in memory | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:64: microdrive.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o mouse.o mouse.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o emulator.o emulator.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' emulator.cpp: In function ‘void load_main_game(const char*)’: emulator.cpp:174:20: error: ‘strlen’ was not declared in this scope 174 | longitud = strlen(nombre); | ^~~~~~ emulator.cpp:39:1: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 38 | #include "mouse.hh" +++ |+#include 39 | emulator.cpp:179:19: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? 179 | if ((0 == strcasecmp(".z80", puntero)) || (0 == strcasecmp(".sna", puntero))) { | ^~~~~~~~~~ | wcscasecmp emulator.cpp:184:19: error: ‘strcasecmp’ was not declared in this scope; did you mean ‘wcscasecmp’? 184 | if ((0 == strcasecmp(".tap", puntero)) || (0 == strcasecmp(".tzx", puntero))) { | ^~~~~~~~~~ | wcscasecmp emulator.cpp: In function ‘void save_config()’: emulator.cpp:196:9: error: ‘strcpy’ was not declared in this scope 196 | strcpy(config_path, getenv("HOME")); | ^~~~~~ emulator.cpp:196:9: note: ‘strcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:197:18: error: ‘strlen’ was not declared in this scope 197 | length = strlen(config_path); | ^~~~~~ emulator.cpp:197:18: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:199:17: error: ‘strcat’ was not declared in this scope 199 | strcat(config_path, "/"); | ^~~~~~ emulator.cpp:199:17: note: ‘strcat’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:201:9: error: ‘strcat’ was not declared in this scope 201 | strcat(config_path, ".fbzx"); | ^~~~~~ emulator.cpp:201:9: note: ‘strcat’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp: In function ‘void load_config()’: emulator.cpp:227:9: error: ‘strcpy’ was not declared in this scope 227 | strcpy(config_path, getenv("HOME")); | ^~~~~~ emulator.cpp:227:9: note: ‘strcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:228:18: error: ‘strlen’ was not declared in this scope 228 | length = strlen(config_path); | ^~~~~~ emulator.cpp:228:18: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:230:17: error: ‘strcat’ was not declared in this scope 230 | strcat(config_path, "/"); | ^~~~~~ emulator.cpp:230:17: note: ‘strcat’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:232:9: error: ‘strcat’ was not declared in this scope 232 | strcat(config_path, ".fbzx"); | ^~~~~~ emulator.cpp:232:9: note: ‘strcat’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:261:22: error: ‘strncmp’ was not declared in this scope 261 | if (!strncmp(line, "mode=", 5)) { | ^~~~~~~ emulator.cpp:261:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:265:22: error: ‘strncmp’ was not declared in this scope 265 | if (!strncmp(line, "issue=", 6)) { | ^~~~~~~ emulator.cpp:265:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:269:22: error: ‘strncmp’ was not declared in this scope 269 | if (!strncmp(line, "joystick=", 9)) { | ^~~~~~~ emulator.cpp:269:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:273:22: error: ‘strncmp’ was not declared in this scope 273 | if (!strncmp(line, "ay_sound=", 9)) { | ^~~~~~~ emulator.cpp:273:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:277:22: error: ‘strncmp’ was not declared in this scope 277 | if (!strncmp(line, "interface1=", 11)) { | ^~~~~~~ emulator.cpp:277:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:281:22: error: ‘strncmp’ was not declared in this scope 281 | if (!strncmp(line, "doublescan=", 11)) { | ^~~~~~~ emulator.cpp:281:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:285:22: error: ‘strncmp’ was not declared in this scope 285 | if (!strncmp(line, "volume=", 7)) { | ^~~~~~~ emulator.cpp:285:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:289:22: error: ‘strncmp’ was not declared in this scope 289 | if (!strncmp(line, "bw=", 3)) { | ^~~~~~~ emulator.cpp:289:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:293:22: error: ‘strncmp’ was not declared in this scope 293 | if (!strncmp(line, "fast=", 5)) { | ^~~~~~~ emulator.cpp:293:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:297:22: error: ‘strncmp’ was not declared in this scope 297 | if (!strncmp(line, "turboload=", 10)) { | ^~~~~~~ emulator.cpp:297:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:301:22: error: ‘strncmp’ was not declared in this scope 301 | if (!strncmp(line, "mouse=", 6)) { | ^~~~~~~ emulator.cpp:301:22: note: ‘strncmp’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp: In function ‘int main(int, char**)’: emulator.cpp:458:9: error: ‘strcpy’ was not declared in this scope 458 | strcpy(path_snaps, getenv("HOME")); | ^~~~~~ emulator.cpp:458:9: note: ‘strcpy’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:459:18: error: ‘strlen’ was not declared in this scope 459 | length = strlen(path_snaps); | ^~~~~~ emulator.cpp:459:18: note: ‘strlen’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ emulator.cpp:461:17: error: ‘strcat’ was not declared in this scope 461 | strcat(path_snaps, "/"); | ^~~~~~ emulator.cpp:461:17: note: ‘strcat’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ make[1]: *** [Makefile:49: emulator.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o cargador.o cargador.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' cargador.cpp: In function ‘void uncompress_z80(FILE*, int, unsigned char*)’: cargador.cpp:47:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47 | fread(&byte_loaded, 1, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:52:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | fread(&byte_loaded, 1, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp: In function ‘int load_z80(const char*)’: cargador.cpp:203:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 203 | fread(tempo, 1, 30, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:209:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 209 | fread(tempo2, 1, 2, fichero); // read the length of the extension | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:220:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 220 | fread(tempo2 + 2, 1, longitud, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:369:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 369 | fread(byte_read, 3, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:413:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 413 | fread(snap->page[page], 16384, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:420:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 420 | fread(byte_read, 3, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:443:46: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 443 | fread(snap->page[page], 16384, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:463:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 463 | fread(snap->page[0], 16384, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:464:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 464 | fread(snap->page[1], 16384, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cargador.cpp:465:30: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 465 | fread(snap->page[2], 16384, 1, fichero); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o keyboard.o keyboard.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o computer.o computer.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o llsound.o llsound.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' llsound.cpp: In constructor ‘LLSound::LLSound(e_soundtype)’: llsound.cpp:49:22: warning: unused variable ‘bucle’ [-Wunused-variable] 49 | unsigned int bucle; | ^~~~~ make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o llscreen.o llscreen.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o screen.o screen.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o signals.o signals.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o spk_ay.o spk_ay.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' spk_ay.cpp: In constructor ‘SPK_AY::SPK_AY()’: spk_ay.cpp:59:9: error: ‘memset’ was not declared in this scope 59 | memset(this->filter_buf, 0, FILTER_SIZE*sizeof(int)); | ^~~~~~ spk_ay.cpp:28:1: note: ‘memset’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 27 | #include "spk_ay.hh" +++ |+#include 28 | spk_ay.cpp: In member function ‘void SPK_AY::play_sound(int)’: spk_ay.cpp:361:22: warning: unused variable ‘bucle’ [-Wunused-variable] 361 | unsigned int bucle; | ^~~~~ spk_ay.cpp:363:22: warning: unused variable ‘sample_v’ [-Wunused-variable] 363 | uint8_t sample_v; | ^~~~~~~~ make[1]: *** [Makefile:79: spk_ay.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' g++ -c -O2 -O2 -flto=auto -ffat-lto-objects -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer `pkg-config --cflags sdl2 libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -o menus.o menus.cpp make[1]: Leaving directory '/builddir/build/BUILD/fbzx-4.8.0-build/fbzx-4.8.0/src' make: *** [Makefile:15: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.XDEg8R (%build) Bad exit status from /var/tmp/rpm-tmp.XDEg8R (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e35f4ba115d94855817983d4f6b05076 -D /var/lib/mock/f42-build-56419859-6543837/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M e35f4ba115d94855817983d4f6b05076 -D /var/lib/mock/f42-build-56419859-6543837/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.9ye3ai0j:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/fbzx.spec'