New comment by abenson on void-packages repository https://github.com/void-linux/void-packages/issues/21020#issuecomment-618734607 Comment: The .lock file is created when packaging. If you interrupted it at some point (ctrl-c), the lock file remains. I'm not sure there's a way to clean up the .lock file (maybe a trap of some sort?).