lr-mame2016 fails to build on Ubuntu 21.04
-
OK...I take that back. Install
python2
helped with lr-mame2015 but lr-mame2016 is still failing...Log started at: Thu Sep 9 13:23:16 UTC 2021 RetroPie-Setup version: 4.7.19 (2642291) System: x86 (x86_64) - Ubuntu 21.04 - Linux elitedesk 5.11.0-34-generic #36-Ubuntu SMP Thu Aug 26 19:22:09 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'lr-mame2016' : MAME emulator - MAME 0.174 port for libretro = = = = = = = = = = = = = = = = = = = = = /home/pi/RetroPie-Setup/tmp/build/lr-mame2016 /home/pi = = = = = = = = = = = = = = = = = = = = = Getting sources for 'lr-mame2016' : MAME emulator - MAME 0.174 port for libretro = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --branch master "https://github.com/libretro/mame2016-libretro.git" "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016" Cloning into '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016'... Updating files: 41% (9109/21876) Updating files: 42% (9188/21876) Updating files: 43% (9407/21876) Updating files: 44% (9626/21876) Updating files: 45% (9845/21876) Updating files: 46% (10063/21876) Updating files: 47% (10282/21876) Updating files: 48% (10501/21876) Updating files: 49% (10720/21876) Updating files: 50% (10938/21876) Updating files: 51% (11157/21876) Updating files: 52% (11376/21876) Updating files: 53% (11595/21876) Updating files: 54% (11814/21876) Updating files: 55% (12032/21876) Updating files: 56% (12251/21876) Updating files: 57% (12470/21876) Updating files: 58% (12689/21876) Updating files: 59% (12907/21876) Updating files: 60% (13126/21876) Updating files: 61% (13345/21876) Updating files: 62% (13564/21876) Updating files: 63% (13782/21876) Updating files: 64% (14001/21876) Updating files: 65% (14220/21876) Updating files: 66% (14439/21876) Updating files: 67% (14657/21876) Updating files: 68% (14876/21876) Updating files: 69% (15095/21876) Updating files: 70% (15314/21876) Updating files: 71% (15532/21876) Updating files: 72% (15751/21876) Updating files: 73% (15970/21876) Updating files: 74% (16189/21876) Updating files: 75% (16407/21876) Updating files: 76% (16626/21876) Updating files: 77% (16845/21876) Updating files: 77% (17051/21876) Updating files: 78% (17064/21876) Updating files: 79% (17283/21876) Updating files: 80% (17501/21876) Updating files: 81% (17720/21876) Updating files: 82% (17939/21876) Updating files: 83% (18158/21876) Updating files: 84% (18376/21876) Updating files: 85% (18595/21876) Updating files: 86% (18814/21876) Updating files: 87% (19033/21876) Updating files: 88% (19251/21876) Updating files: 89% (19470/21876) Updating files: 90% (19689/21876) Updating files: 91% (19908/21876) Updating files: 92% (20126/21876) Updating files: 93% (20345/21876) Updating files: 94% (20564/21876) Updating files: 95% (20783/21876) Updating files: 96% (21001/21876) Updating files: 97% (21220/21876) Updating files: 98% (21439/21876) Updating files: 99% (21658/21876) Updating files: 100% (21876/21876) Updating files: 100% (21876/21876), done. HEAD is now in branch 'master' at commit 'd53c379892b0bd91b4a52fc2de491e1199f03e32' /home/pi /home/pi/RetroPie-Setup/tmp/build/lr-mame2016 /home/pi = = = = = = = = = = = = = = = = = = = = = Building 'lr-mame2016' : MAME emulator - MAME 0.174 port for libretro = = = = = = = = = = = = = = = = = = = = = Removing additional swap make REGENIE=1 VERBOSE=1 NOWERROR=1 OSD="retro" PYTHON_EXECUTABLE=python2 CONFIG=libretro LIBRETRO_OS="unix" ARCH="" LIBRETRO_CPU="x86_64" clean make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016' GCC 10 detected fatal: No names found, cannot describe anything. make -R verbose=1 -C 3rdparty/genie/build/gmake.linux -f genie.make clean make[2]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/3rdparty/genie/build/gmake.linux' Cleaning genie rm -f ../../bin/linux/genie rm -rf obj/Release make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/3rdparty/genie/build/gmake.linux' Cleaning... make -C src/devices/cpu/m68000 clean make[2]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000' Cleaning... make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/src/devices/cpu/m68000' make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016' make REGENIE=1 VERBOSE=1 NOWERROR=1 OSD="retro" PYTHON_EXECUTABLE=python3 CONFIG=libretro PTR64=1 LIBRETRO_OS="unix" ARCH="" LIBRETRO_CPU="x86_64" TARGET=mame SUBTARGET=arcade make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016' GCC 10 detected fatal: No names found, cannot describe anything. make -R verbose=1 -C 3rdparty/genie/build/gmake.linux -f genie.make mkdir -p "build/generated/mame/layout/" mkdir -p "build/generated/mame/arcade/" mkdir -p "build/generated/mame/drivers/" make[2]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/3rdparty/genie/build/gmake.linux' Converting translation language/Afrikaans/strings.po... python3 scripts/build/msgfmt.py --output-file language/Afrikaans/strings.mo language/Afrikaans/strings.po Converting translation language/Albanian/strings.po... Creating obj/Release mkdir -p "obj/Release" Creating obj/Release/src/host mkdir -p "obj/Release/src/host" Creating obj/Release/src/host/lua-5.3.0/src mkdir -p "obj/Release/src/host/lua-5.3.0/src" python3 scripts/build/msgfmt.py --output-file language/Albanian/strings.mo language/Albanian/strings.po os_getcwd.c Converting translation language/Arabic/strings.po... gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_getcwd.o" -c "../../src/host/os_getcwd.c" python3 scripts/build/msgfmt.py --output-file language/Arabic/strings.mo language/Arabic/strings.po os_stat.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_stat.o" -c "../../src/host/os_stat.c" premake_main.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/premake_main.o" -c "../../src/host/premake_main.c" os_chdir.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_chdir.o" -c "../../src/host/os_chdir.c" Converting translation language/Basque/strings.po... python3 scripts/build/msgfmt.py --output-file language/Basque/strings.mo language/Basque/strings.po os_uuid.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_uuid.o" -c "../../src/host/os_uuid.c" Converting translation language/Belarusian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Belarusian/strings.mo language/Belarusian/strings.po Converting translation language/Bosnian/strings.po... python3 scripts/build/msgfmt.py --output-file language/Bosnian/strings.mo language/Bosnian/strings.po os_isfile.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_isfile.o" -c "../../src/host/os_isfile.c" os_ticks.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_ticks.o" -c "../../src/host/os_ticks.c" os_copyfile.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_copyfile.o" -c "../../src/host/os_copyfile.c" Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> main() Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make main() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> main() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> main() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' make[1]: *** [makefile:1515: language/Albanian/strings.mo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [makefile:1515: language/Arabic/strings.mo] Error 1 scripts.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/scripts.o" -c "../../src/host/scripts.c" string_endswith.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/string_endswith.o" -c "../../src/host/string_endswith.c" make[1]: *** [makefile:1515: language/Afrikaans/strings.mo] Error 1 string_hash.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/string_hash.o" -c "../../src/host/string_hash.c" make[1]: *** [makefile:1515: language/Basque/strings.mo] Error 1 os_pathsearch.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_pathsearch.o" -c "../../src/host/os_pathsearch.c" os_rmdir.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_rmdir.o" -c "../../src/host/os_rmdir.c" os_match.c Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_match.o" -c "../../src/host/os_match.c" main() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' premake.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/premake.o" -c "../../src/host/premake.c" Traceback (most recent call last): File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 291, in <module> main() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 287, in main make(filename, outfile) File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 254, in make output = generate() File "/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/scripts/build/msgfmt.py", line 115, in generate output += array.array("i", offsets).tostring() AttributeError: 'array.array' object has no attribute 'tostring' make[1]: *** [makefile:1515: language/Belarusian/strings.mo] Error 1 os_isdir.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_isdir.o" -c "../../src/host/os_isdir.c" make[1]: *** [makefile:1515: language/Bosnian/strings.mo] Error 1 os_mkdir.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_mkdir.o" -c "../../src/host/os_mkdir.c" path_isabsolute.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/path_isabsolute.o" -c "../../src/host/path_isabsolute.c" os_is64bit.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/os_is64bit.o" -c "../../src/host/os_is64bit.c" ldump.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ldump.o" -c "../../src/host/lua-5.3.0/src/ldump.c" lvm.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lvm.o" -c "../../src/host/lua-5.3.0/src/lvm.c" ltable.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ltable.o" -c "../../src/host/lua-5.3.0/src/ltable.c" lstrlib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lstrlib.o" -c "../../src/host/lua-5.3.0/src/lstrlib.c" liolib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/liolib.o" -c "../../src/host/lua-5.3.0/src/liolib.c" lcode.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lcode.o" -c "../../src/host/lua-5.3.0/src/lcode.c" lparser.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lparser.o" -c "../../src/host/lua-5.3.0/src/lparser.c" loadlib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/loadlib.o" -c "../../src/host/lua-5.3.0/src/loadlib.c" ../../src/host/lua-5.3.0/src/ltable.c: In function ‘luaH_get’: ../../src/host/lua-5.3.0/src/ltable.c:545:23: warning: this statement may fall through [-Wimplicit-fallthrough=] 545 | case LUA_TNUMFLT: { | ^ ../../src/host/lua-5.3.0/src/ltable.c:551:5: note: here 551 | default: { | ^~~~~~~ In file included from ../../src/host/lua-5.3.0/src/lstrlib.c:22: ../../src/host/lua-5.3.0/src/lstrlib.c: In function ‘str_pack’: ../../src/host/lua-5.3.0/src/lauxlib.h:151:22: warning: this statement may fall through [-Wimplicit-fallthrough=] 151 | ((B)->b[(B)->n++] = (c))) | ~~~~~~~~~~~~~~~~~~^~~~~~ ../../src/host/lua-5.3.0/src/lstrlib.c:1252:22: note: in expansion of macro ‘luaL_addchar’ 1252 | case Kpadding: luaL_addchar(&b, LUA_PACKPADBYTE); /* go through */ | ^~~~~~~~~~~~ ../../src/host/lua-5.3.0/src/lstrlib.c:1253:7: note: here 1253 | case Kpaddalign: case Knop: | ^~~~ ../../src/host/lua-5.3.0/src/lstrlib.c: In function ‘match’: ../../src/host/lua-5.3.0/src/lstrlib.c:501:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 501 | s++; /* 1 match already done */ | ~^~ ../../src/host/lua-5.3.0/src/lstrlib.c:503:13: note: here 503 | case '*': /* 0 or more repetitions */ | ^~~~ lbitlib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lbitlib.o" -c "../../src/host/lua-5.3.0/src/lbitlib.c" lzio.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lzio.o" -c "../../src/host/lua-5.3.0/src/lzio.c" ldblib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ldblib.o" -c "../../src/host/lua-5.3.0/src/ldblib.c" lmathlib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lmathlib.o" -c "../../src/host/lua-5.3.0/src/lmathlib.c" lfunc.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lfunc.o" -c "../../src/host/lua-5.3.0/src/lfunc.c" lmem.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lmem.o" -c "../../src/host/lua-5.3.0/src/lmem.c" lgc.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lgc.o" -c "../../src/host/lua-5.3.0/src/lgc.c" lstring.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lstring.o" -c "../../src/host/lua-5.3.0/src/lstring.c" ../../src/host/lua-5.3.0/src/lgc.c: In function ‘freeobj’: ../../src/host/lua-5.3.0/src/lgc.c:691:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 691 | luaS_remove(L, gco2ts(o)); /* remove it from hash table */ | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/host/lua-5.3.0/src/lgc.c:693:5: note: here 693 | case LUA_TLNGSTR: { | ^~~~ linit.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/linit.o" -c "../../src/host/lua-5.3.0/src/linit.c" ltm.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ltm.o" -c "../../src/host/lua-5.3.0/src/ltm.c" lapi.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lapi.o" -c "../../src/host/lua-5.3.0/src/lapi.c" lctype.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lctype.o" -c "../../src/host/lua-5.3.0/src/lctype.c" lstate.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lstate.o" -c "../../src/host/lua-5.3.0/src/lstate.c" lbaselib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lbaselib.o" -c "../../src/host/lua-5.3.0/src/lbaselib.c" ltablib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ltablib.o" -c "../../src/host/lua-5.3.0/src/ltablib.c" lauxlib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lauxlib.o" -c "../../src/host/lua-5.3.0/src/lauxlib.c" lcorolib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lcorolib.o" -c "../../src/host/lua-5.3.0/src/lcorolib.c" llex.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/llex.o" -c "../../src/host/lua-5.3.0/src/llex.c" ldo.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ldo.o" -c "../../src/host/lua-5.3.0/src/ldo.c" lundump.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lundump.o" -c "../../src/host/lua-5.3.0/src/lundump.c" lopcodes.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lopcodes.o" -c "../../src/host/lua-5.3.0/src/lopcodes.c" lutf8lib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lutf8lib.o" -c "../../src/host/lua-5.3.0/src/lutf8lib.c" loslib.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/loslib.o" -c "../../src/host/lua-5.3.0/src/loslib.c" lobject.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/lobject.o" -c "../../src/host/lua-5.3.0/src/lobject.c" ldebug.c gcc -march=native -O2 -MMD -MP -MP -DNDEBUG -DLUA_COMPAT_MODULE -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I../../src/host/lua-5.3.0/src -Wall -Wextra -Os -o "obj/Release/src/host/lua-5.3.0/src/ldebug.o" -c "../../src/host/lua-5.3.0/src/ldebug.c" Creating ../../bin/linux mkdir -p "../../bin/linux" Linking genie gcc -o ../../bin/linux/genie obj/Release/src/host/os_getcwd.o obj/Release/src/host/os_stat.o obj/Release/src/host/os_chdir.o obj/Release/src/host/premake_main.o obj/Release/src/host/os_uuid.o obj/Release/src/host/os_isfile.o obj/Release/src/host/os_ticks.o obj/Release/src/host/os_copyfile.o obj/Release/src/host/scripts.o obj/Release/src/host/string_endswith.o obj/Release/src/host/string_hash.o obj/Release/src/host/os_pathsearch.o obj/Release/src/host/os_rmdir.o obj/Release/src/host/os_match.o obj/Release/src/host/premake.o obj/Release/src/host/os_isdir.o obj/Release/src/host/os_mkdir.o obj/Release/src/host/path_isabsolute.o obj/Release/src/host/os_is64bit.o obj/Release/src/host/lua-5.3.0/src/ldump.o obj/Release/src/host/lua-5.3.0/src/lvm.o obj/Release/src/host/lua-5.3.0/src/ltable.o obj/Release/src/host/lua-5.3.0/src/lstrlib.o obj/Release/src/host/lua-5.3.0/src/liolib.o obj/Release/src/host/lua-5.3.0/src/lcode.o obj/Release/src/host/lua-5.3.0/src/lparser.o obj/Release/src/host/lua-5.3.0/src/loadlib.o obj/Release/src/host/lua-5.3.0/src/lbitlib.o obj/Release/src/host/lua-5.3.0/src/lzio.o obj/Release/src/host/lua-5.3.0/src/ldblib.o obj/Release/src/host/lua-5.3.0/src/lmathlib.o obj/Release/src/host/lua-5.3.0/src/lfunc.o obj/Release/src/host/lua-5.3.0/src/lmem.o obj/Release/src/host/lua-5.3.0/src/lgc.o obj/Release/src/host/lua-5.3.0/src/lstring.o obj/Release/src/host/lua-5.3.0/src/linit.o obj/Release/src/host/lua-5.3.0/src/ltm.o obj/Release/src/host/lua-5.3.0/src/lapi.o obj/Release/src/host/lua-5.3.0/src/lctype.o obj/Release/src/host/lua-5.3.0/src/lstate.o obj/Release/src/host/lua-5.3.0/src/lbaselib.o obj/Release/src/host/lua-5.3.0/src/ltablib.o obj/Release/src/host/lua-5.3.0/src/lauxlib.o obj/Release/src/host/lua-5.3.0/src/lcorolib.o obj/Release/src/host/lua-5.3.0/src/llex.o obj/Release/src/host/lua-5.3.0/src/ldo.o obj/Release/src/host/lua-5.3.0/src/lundump.o obj/Release/src/host/lua-5.3.0/src/lopcodes.o obj/Release/src/host/lua-5.3.0/src/lutf8lib.o obj/Release/src/host/lua-5.3.0/src/loslib.o obj/Release/src/host/lua-5.3.0/src/lobject.o obj/Release/src/host/lua-5.3.0/src/ldebug.o -L. -s -rdynamic -ldl -lm make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/3rdparty/genie/build/gmake.linux' make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/lr-mame2016' make: *** [Makefile.libretro:197: build] Error 2 Removing additional swap Could not successfully build lr-mame2016 - MAME emulator - MAME 0.174 port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mame2016/mamearcade2016_libretro.so not found). /home/pi Log ended at: Thu Sep 9 13:23:36 UTC 2021 Total running time: 0 hours, 0 mins, 20 secs
-
@johnodon said in lr-mame2016 fails to build on Ubuntu 21.04:
AttributeError: 'array.array' object has no attribute 'tostring'
this might be related https://github.com/python-intelhex/intelhex/pull/46
what version of python have you install now? it seems like this should only be an issue with python 3.9 and up. you might want to check your versions
-
pi@elitedesk:~$ ls /usr/bin/python* /usr/bin/python2 /usr/bin/python2.7 /usr/bin/python3 /usr/bin/python3.9
-
@johnodon makes sense. i guess it's running the install via 3.9 and hitting the issue. i guess you could uninstall 3.9? or try and work out how to update intelhex, although i'm out of my depth with python-related stuff so who knows.
any particular reason you're trying to run 2015/16? any x86_64 machine might as well run current lr-mame, or indeed mame standalone.
-
Not sure if it is still valid but I was going to use Roslof's emulator list to build my arcade collection:
https://docs.google.com/spreadsheets/d/1Rq4shU1RUSdcc7cTVWeORMD-mcO6BwXwQ7TGw8f5_zw/edit#gid=0
Thoughts? I'm wondering if this really doesn't even apply to me since I an on x64 (list is based on Pi4).
-
@johnodon yeah on x86 you should just use standalone mame (you could use the lr- version but i’m not sure what kind of state it is in these days). mame only gets better - the only reason we use these older versions on pis is because we often don’t have the headroom to run later/latest. as soon as you have a modest x86 setup, there’s no reason to use them.
-
@dankcushions Thanks. That is the direction I will go in.
FYI...MAME installer script is boogered on Ubuntu 21.04.
qt5-default
is a dependency but it has been obsoleted. I don't know if it will have any ill effects but I was able to at least get around it using the 'fake-out' method in this post: https://askubuntu.com/questions/1335184/qt5-default-not-in-ubuntu-21-04If you are installing some package from third-party which requires qt5-default package on Ubuntu 21.04 (or newer), then you can create fake package by using commands below:
sudo apt-get update sudo apt-get install equivs cd ~/Downloads cat <<EOF > qt5-default-control Package: qt5-default Source: qtbase-opensource-src Version: 5.99.99+fake-13ubuntu37 Architecture: all Depends: qtbase5-dev, qtchooser Suggests: qt5-qmake, qtbase5-dev-tools Conflicts: qt4-default Section: libdevel Priority: optional Homepage: http://qt-project.org/ Description: Qt 5 development defaults fake package EOF equivs-build qt5-default-control sudo apt-get install ./qt5-default_5.99.99+fake-13ubuntu37_all.deb
-
You can replace the
qt5-default
dependency withqtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
. Similar to https://github.com/RetroPie/RetroPie-Setup/commit/fbfcc0c9847b6b3a227a4cbb41185bd9ac1849b4. -
@mitu I'm pretty sure I tried that first but still got the
qt5-default
error. I'm compiling now. Once done I'll look at my bash history an make sure that is exactly what I tried. -
I ran this just prior to trying to install MAME...
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
...but got the same error. In fact, you can see those packages are up to date if I try to install them again:
pi@elitedesk:~$ sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools Reading package lists... Done Building dependency tree... Done Reading state information... Done qtchooser is already the newest version (66-2build1). qt5-qmake is already the newest version (5.15.2+dfsg-5ubuntu1). qtbase5-dev is already the newest version (5.15.2+dfsg-5ubuntu1). qtbase5-dev-tools is already the newest version (5.15.2+dfsg-5ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I'll build another 21.04 Server box to confirm.
-
I'd like to piggyback here just a bit, and hopefully not offtopic just to share my experience for whatever it's worth.
I've tried many times to get mame installed on my custom built PC from 2012 and failed numerous ways. The PC is AMD processor based and uses a Radeon 7770 GPU, and I can install
lr-mame20003
andlr-mame2010
with no problems whatsoever. But when I've triedlr-mame2016
,lr-mame
, or evenmame
, I always end up with errors similar to the above and a failure to install.fatal: No names found, cannot describe anything.
I've mostly stuck to Ubuntu 20.04, but once tried 21.04 and ran into the same thing @johnodon mentioned about the qt5 dependency. So today I got hold of a Dell Optiplex 3070 to test. I was able to install
lr-mame
onUbuntu 20.04.2 on the first attempt. This is Intel CPU based with integrated graphics.I suspected and am now increasingly convinced that either my AMD CPU or my old Radeon GPU has something to do with being unable to install on my old PC. Unfortunately the logs and error messages don't provide enough clues to fix it in my experience. So when I get around to doing an arcade cabinet build, I will be looking for an Intel based system.
I wonder if there is anyone who can say they have installed newer mame cores on Ubuntu using AMD processors or AMD / Radeon GPUs.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.