Hi, I compile mame for macos myself by cloning the github source, then running make. Lately, I keep getting errors like this:
fatal error: /Library/Developer/CommandLineTools/usr/bin/ranlib: can't move the output file to its final location: ../../../../osx_clang/bin/x64/Release/mame_mame/libformats.a (Resource busy)
/Library/Developer/CommandLineTools/usr/bin/ar: internal ranlib command failed
make: *** [../../../../osx_clang/bin/x64/Release/mame_mame/libformats.a] Error 1
make: *** [formats] Error 2
make: *** [macosx_x64_clang] Error 2
If I run make again it fails at a different point. Not sure what's wrong here... any ideas?