https://www.mamedev.org/?p=520
Forgot to attach the patch?
(In reply to Li-Wen Hsu from comment #1) Still working on it.
Created attachment 239175 [details] Patch to update MAME/MESS to 0.251 I have yet to test the patch with poudriere-testport—will update the report when I have.
Comment on attachment 239175 [details] Patch to update MAME/MESS to 0.251 Patch passed poudriere-testport.
The poudriere-bulk build of mame-0.251 is failing on my system, yet the poudriere-testport build is passing. So I have removed the "maintainer-approval+" flag from the diff until I understand what is going on, and have a solution.
(In reply to Alastair Hogge from comment #5) `poudriere bulk` works on my system for {13.1, 12.3}x{amd64, i386}. Maybe it's local error like out of memory or timeout. Do you want to share the log somewhere?
I am suspecting it is local to my system too, I have also noted that the error changes between build attempts. I am thinking right now, that the patch can be committed, and any problems can be addressed when pkg-fallout notifies me. Build logs for your interest. https://dpaste.com/DFXHLZKKA https://dpaste.com/E6E6NFACP
Sorry, late sentence in last comment was meant to be a question.
The bulk build seems to OK at the moment with MAKE_JOBS_UNSAFE=yes, so I think we can right it off as a local problem to my host.
Created attachment 240375 [details] Patch to update MAME/MESS to 0.252 Patch to update MAME/MESS to 0.251
https://www.mamedev.org/releases/whatsnew_0253.txt
Regarding 0.253, NetBSD is also having the same build issues as FreeBSD: https://github.com/mamedev/mame/issues/11049
Compressing src/mame/layout/zodiac.lay... Compressing src/mame/layout/zoo.lay... .../emulators/mame/work/mame-mame0253/scripts/toolchain.lua:65: attempt to concatenate a nil value (field '?') stack traceback: .../emulators/mame/work/mame-mame0253/scripts/toolchain.lua:65: in function 'androidToolchainRoot' .../emulators/mame/work/mame-mame0253/scripts/toolchain.lua:494: in function 'toolchain' ...atch/emulators/mame/work/mame-mame0253/scripts/genie.lua:1150: in main chunk [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:109: in function 'dofile' [string "_WORKING_DIR = os.getcwd()..."]:46: in function '_premake_main' gmake: *** [makefile:1424: build/projects/sdl/mame/gmake-netbsd/Makefile] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 2
NetBSD/pkgsrc might have a fix: https://github.com/NetBSD/pkgsrc/tree/trunk/emulators/mame
Created attachment 242050 [details] Update MAME to 0.254 and remove MESS Update MAME to 0.254 and remove MESS: * the MESS ${SUBTARGET} is obsolete and the build infrastructure has been removed upstream, the port itself is just MAME with the mess name for the binary, so remove the port. * address more port{clippy,fmt,lint} Makefile hits * add more licenses to the Makefile * make use of NetBSD's pkgsrc fix (https://github.com/NetBSD/pkgsrc/commit/d4e7255760d39e8133aa7b12b0db27b0edd40486#diff-424a85c0a27e860e9dfc1d15061b1a4b8a0fabb1ff7fba7f2ddcfca351d8a94b) to restore building on FreeBSD * poudriere-testport passes for {amd64,i386}-{12.4,13.1,13.2}-RELEASE
Comment on attachment 242050 [details] Update MAME to 0.254 and remove MESS B0rked patch
Created attachment 242054 [details] Update MAME to 0.254 and remove MESS Correct patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3841ad2f6e56bcb80d80bcda7dd83fcb6fd9c3af commit 3841ad2f6e56bcb80d80bcda7dd83fcb6fd9c3af Author: Alastair Hogge <agh@riseup.net> AuthorDate: 2023-05-09 07:53:43 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-05-09 07:59:12 +0000 emulators/mame: Update to 0.254 emulators/mess has been merged to emulators/mame in the upstream. PR: 268691 MOVED | 1 + emulators/Makefile | 1 - emulators/mame/Makefile | 85 +- emulators/mame/distinfo | 6 +- .../mame/files/patch-scripts_toolchain.lua (new) | 12 + emulators/mame/pkg-plist | 32 +- emulators/mess/Makefile (gone) | 13 - emulators/mess/pkg-descr (gone) | 3 - emulators/mess/pkg-plist (gone) | 2224 -------------------- 9 files changed, 80 insertions(+), 2297 deletions(-)
Committed, thanks for the new patch and sorry for the delay. BTW, a small fix applied to the MOVED entry.
(In reply to Li-Wen Hsu from comment #19) Thank you, however, I am sorry I let port lag behind so many releases. > BTW, a small fix applied to the MOVED entry. Much improved, thanks again.