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/mame.spec'], chrootPath='/var/lib/mock/f33-build-297574-55930/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/mame.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=1593216000 Wrote: /builddir/build/SRPMS/mame-0.222-1.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/mame.spec'], chrootPath='/var/lib/mock/f33-build-297574-55930/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/mame.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=1593216000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.97j17F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mame-0.222 + /usr/bin/mkdir -p mame-0.222 + cd mame-0.222 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 7za x '-xr!3rdparty/compat' '-xr!3rdparty/dxsdk' '-xr!3rdparty/expat' '-xr!3rdparty/genie/src/host/lua-5.3.0' '-xr!3rdparty/glm' '-xr!3rdparty/libflac' '-xr!3rdparty/libjpeg' '-xr!3rdparty/lua' '-xr!3rdparty/portaudio' '-xr!3rdparty/portmidi' '-xr!3rdparty/pugixml' '-xr!3rdparty/rapidjson' '-xr!3rdparty/SDL2' '-xr!3rdparty/SDL2-override' '-xr!3rdparty/sqlite3' '-xr!3rdparty/tap-windows6' '-xr!3rdparty/utf8proc' '-xr!3rdparty/zlib' '-xr!docs/themes' /builddir/build/SOURCES/mame0222s.exe 7-Zip (a) 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,4 CPUs LE) Scanning the drive for archives: 1 file, 132733817 bytes (127 MiB) Extracting archive: /builddir/build/SOURCES/mame0222s.exe -- Path = /builddir/build/SOURCES/mame0222s.exe Type = 7z Offset = 205824 Physical Size = 132527993 Headers Size = 351783 Method = Delta LZMA2:26 LZMA:20 BCJ2 Solid = + Blocks = 4 Everything is Ok Folders: 1817 Files: 34142 Size: 903163157 Compressed: 132733817 + install -pm 644 /builddir/build/SOURCES/whatsnew_0222.txt whatsnew_0222.txt + find '(' -regex '.*\.\(c\|cpp\|fsh\|fx\|h\|hpp\|lua\|make\|map\|md\|txt\|vsh\|xml\)$' -o -wholename ./makefile ')' -exec sed -i 's@\r$@@' '{}' ';' + echo 'Patch #0 (mame-fortify.patch):' Patch #0 (mame-fortify.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fortify --fuzz=0 patching file src/osd/sdl/sdlprefix.h Hunk #1 succeeded at 74 (offset -1 lines). + echo 'Patch #1 (mame-genie-systemlua.patch):' Patch #1 (mame-genie-systemlua.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .systemlua --fuzz=0 patching file 3rdparty/genie/build/gmake.linux/genie.make + echo 'Patch #2 (0001-Only-build-asmjit-on-x86-and-x86_64.patch):' Patch #2 (0001-Only-build-asmjit-on-x86-and-x86_64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file scripts/src/3rdparty.lua patching file scripts/src/main.lua + cat + sed -i 's@-Wall -Wextra -Os $(MPARAM)@-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@' 3rdparty/genie/build/gmake.linux/genie.make + sed -i 's@-s -rdynamic@-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic@' 3rdparty/genie/build/gmake.linux/genie.make + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OOR4zI + umask 022 + cd /builddir/build/BUILD + cd mame-0.222 + MAME_FLAGS='NOWERROR=1 OPTIMIZE=2 PYTHON_EXECUTABLE=python3 VERBOSE=1 USE_SYSTEM_LIB_EXPAT=1 USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_GLM=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_LUA=1 USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_PORTMIDI=1 USE_SYSTEM_LIB_PUGIXML=1 USE_SYSTEM_LIB_RAPIDJSON=1 USE_SYSTEM_LIB_SQLITE3=1 USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_ZLIB=1 SDL_INI_PATH=/etc/mame;' ++ sed s@-g@-g1@ ++ echo -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 + RPM_OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -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' + /usr/bin/make -O -j4 V=1 VERBOSE=1 NOWERROR=1 OPTIMIZE=2 PYTHON_EXECUTABLE=python3 VERBOSE=1 USE_SYSTEM_LIB_EXPAT=1 USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_GLM=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_LUA=1 USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_PORTMIDI=1 USE_SYSTEM_LIB_PUGIXML=1 USE_SYSTEM_LIB_RAPIDJSON=1 USE_SYSTEM_LIB_SQLITE3=1 USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_ZLIB=1 'SDL_INI_PATH=/etc/mame;' TOOLS=1 'OPT_FLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g1 -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' 'LDOPTS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' GCC 10 detected /usr/bin/make -R verbose=1 -C 3rdparty/genie/build/gmake.linux -f genie.make MPARAM= mkdir -p "build/generated/mame/mame/" mkdir -p "build/generated/mame/layout/" mkdir -p "build/generated/mame/drivers/" mkdir -p "build/generated/mame/machine/" make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Creating obj/Release mkdir -p "obj/Release" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Creating obj/Release/src/host mkdir -p "obj/Release/src/host" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Creating obj/Release/src/host/lua-5.3.0/src mkdir -p "obj/Release/src/host/lua-5.3.0/src" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Creating ../../bin/linux mkdir -p "../../bin/linux" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Arabic/strings.po... python3 scripts/build/msgfmt.py --output-file language/Arabic/strings.mo language/Arabic/strings.po Converting translation language/Albanian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Albanian/strings.mo language/Albanian/strings.po Converting translation language/Afrikaans/strings.po... python3 scripts/build/msgfmt.py --output-file language/Afrikaans/strings.mo language/Afrikaans/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_chdir.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_chdir.o" -c "../../src/host/os_chdir.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_copyfile.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_copyfile.o" -c "../../src/host/os_copyfile.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Basque/strings.po... python3 scripts/build/msgfmt.py --output-file language/Basque/strings.mo language/Basque/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_getcwd.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_getcwd.o" -c "../../src/host/os_getcwd.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Belarusian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Belarusian/strings.mo language/Belarusian/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_is64bit.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_is64bit.o" -c "../../src/host/os_is64bit.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Bulgarian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Bulgarian/strings.mo language/Bulgarian/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_isdir.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_isdir.o" -c "../../src/host/os_isdir.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Bosnian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Bosnian/strings.mo language/Bosnian/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_isfile.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_isfile.o" -c "../../src/host/os_isfile.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_mkdir.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_mkdir.o" -c "../../src/host/os_mkdir.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_pathsearch.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_pathsearch.o" -c "../../src/host/os_pathsearch.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_rmdir.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_rmdir.o" -c "../../src/host/os_rmdir.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_match.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_match.o" -c "../../src/host/os_match.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_stat.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_stat.o" -c "../../src/host/os_stat.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Burmese/strings.po... python3 scripts/build/msgfmt.py --output-file language/Burmese/strings.mo language/Burmese/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_ticks.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_ticks.o" -c "../../src/host/os_ticks.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Catalan/strings.po... python3 scripts/build/msgfmt.py --output-file language/Catalan/strings.mo language/Catalan/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' os_uuid.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/os_uuid.o" -c "../../src/host/os_uuid.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' path_getabsolute.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/path_getabsolute.o" -c "../../src/host/path_getabsolute.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Chinese_Simplified/strings.po... python3 scripts/build/msgfmt.py --output-file language/Chinese_Simplified/strings.mo language/Chinese_Simplified/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' path_getrelative.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/path_getrelative.o" -c "../../src/host/path_getrelative.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Chinese_Traditional/strings.po... python3 scripts/build/msgfmt.py --output-file language/Chinese_Traditional/strings.mo language/Chinese_Traditional/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' path_isabsolute.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/path_isabsolute.o" -c "../../src/host/path_isabsolute.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' path_helpers.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/path_helpers.o" -c "../../src/host/path_helpers.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Croatian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Croatian/strings.mo language/Croatian/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' premake_main.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/premake_main.o" -c "../../src/host/premake_main.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' scripts.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/scripts.o" -c "../../src/host/scripts.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' premake.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/premake.o" -c "../../src/host/premake.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' ../../src/host/premake.c: In function 'premake_init': ../../src/host/premake.c:80:2: warning: implicit declaration of function 'luaL_register'; did you mean 'lua_register'? [-Wimplicit-function-declaration] 80 | luaL_register(L, "path", path_functions); | ^~~~~~~~~~~~~ | lua_register make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' string_endswith.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/string_endswith.o" -c "../../src/host/string_endswith.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Danish/strings.po... python3 scripts/build/msgfmt.py --output-file language/Danish/strings.mo language/Danish/strings.po Converting translation language/Czech/strings.po... python3 scripts/build/msgfmt.py --output-file language/Czech/strings.mo language/Czech/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' string_hash.c gcc -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I"../../src/host/lua-5.3.0/src" -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 -Wno-implicit-fallthrough -o "obj/Release/src/host/string_hash.o" -c "../../src/host/string_hash.c" make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Converting translation language/Dutch/strings.po... python3 scripts/build/msgfmt.py --output-file language/Dutch/strings.mo language/Dutch/strings.po Converting translation language/Estonian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Estonian/strings.mo language/Estonian/strings.po Converting translation language/English/strings.po... python3 scripts/build/msgfmt.py --output-file language/English/strings.mo language/English/strings.po Converting translation language/French/strings.po... python3 scripts/build/msgfmt.py --output-file language/French/strings.mo language/French/strings.po Converting translation language/Finnish/strings.po... python3 scripts/build/msgfmt.py --output-file language/Finnish/strings.mo language/Finnish/strings.po Converting translation language/French_Belgium/strings.po... python3 scripts/build/msgfmt.py --output-file language/French_Belgium/strings.mo language/French_Belgium/strings.po Converting translation language/French_Canada/strings.po... python3 scripts/build/msgfmt.py --output-file language/French_Canada/strings.mo language/French_Canada/strings.po Converting translation language/Georgian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Georgian/strings.mo language/Georgian/strings.po Converting translation language/German/strings.po... python3 scripts/build/msgfmt.py --output-file language/German/strings.mo language/German/strings.po Converting translation language/Hebrew/strings.po... python3 scripts/build/msgfmt.py --output-file language/Hebrew/strings.mo language/Hebrew/strings.po Converting translation language/Greek/strings.po... python3 scripts/build/msgfmt.py --output-file language/Greek/strings.mo language/Greek/strings.po Converting translation language/Hindi/strings.po... python3 scripts/build/msgfmt.py --output-file language/Hindi/strings.mo language/Hindi/strings.po Converting translation language/Indonesian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Indonesian/strings.mo language/Indonesian/strings.po Converting translation language/Hungarian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Hungarian/strings.mo language/Hungarian/strings.po Converting translation language/Italian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Italian/strings.mo language/Italian/strings.po make[1]: Entering directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' Linking genie gcc -o ../../bin/linux/genie obj/Release/src/host/os_chdir.o obj/Release/src/host/os_copyfile.o obj/Release/src/host/os_getcwd.o obj/Release/src/host/os_is64bit.o obj/Release/src/host/os_isdir.o obj/Release/src/host/os_isfile.o obj/Release/src/host/os_match.o obj/Release/src/host/os_mkdir.o obj/Release/src/host/os_pathsearch.o obj/Release/src/host/os_rmdir.o obj/Release/src/host/os_stat.o obj/Release/src/host/os_ticks.o obj/Release/src/host/os_uuid.o obj/Release/src/host/path_getabsolute.o obj/Release/src/host/path_getrelative.o obj/Release/src/host/path_helpers.o obj/Release/src/host/path_isabsolute.o obj/Release/src/host/premake.o obj/Release/src/host/premake_main.o obj/Release/src/host/scripts.o obj/Release/src/host/string_endswith.o obj/Release/src/host/string_hash.o -L"." -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic -ldl -lm -llua make[1]: Leaving directory '/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux' /usr/bin/ld: /tmp/genie.UCO7vH.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux/../../src/host/path_helpers.c:205: undefined reference to `luaL_register' /usr/bin/ld: /tmp/genie.UCO7vH.ltrans0.ltrans.o:/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux/../../src/host/path_helpers.c:210: undefined reference to `luaL_register' /usr/bin/ld: /tmp/genie.UCO7vH.ltrans0.ltrans.o:/builddir/build/BUILD/mame-0.222/3rdparty/genie/build/gmake.linux/../../src/host/path_helpers.c:210: undefined reference to `luaL_register' collect2: error: ld returned 1 exit status make[1]: *** [genie.make:200: ../../bin/linux/genie] Error 1 make: *** [makefile:1652: 3rdparty/genie/bin/linux/genie] Error 2 make: *** Waiting for unfinished jobs.... Converting translation language/Japanese/strings.po... python3 scripts/build/msgfmt.py --output-file language/Japanese/strings.mo language/Japanese/strings.po Converting translation language/Korean/strings.po... python3 scripts/build/msgfmt.py --output-file language/Korean/strings.mo language/Korean/strings.po Converting translation language/Latvian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Latvian/strings.mo language/Latvian/strings.po error: Bad exit status from /var/tmp/rpm-tmp.OOR4zI (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OOR4zI (%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/mame.spec