When the prepackage.cmake scripts are used on macOS and these do a lot of file I/O macOS on GitHub actions can make hdiutil fail with a resource busy. Note that this happens sometimes only and I’ve been unable to reproduce it locally. Find attached a big project that fails on packaging.
Suggestion: before running hdiutil, add a “sync” command.
Thanks. That could explain spurious hdiutil failures we’ve seen before. It looks like you’ve opened CMake Issue 27136 for this already. I’d welcome a merge request with the proposed sync.
That is our robot’s checks making itself show up as a pipeline status. See the comment posted by the kwrobot user for details. Note that we check individual commits for most things, so “fixup” commits on top of the topic will not resolve things.