11_x86 build - build failures due to 'no space on device'
jonesc at hep.phy.cam.ac.uk
Fri Apr 9 19:10:29 UTC 2021
> On 9 Apr 2021, at 7:20 pm, Ryan Schmidt <ryandesign at macports.org> wrote:
> On Apr 8, 2021, at 13:05, Nils Breunese wrote:
>> Ryan Schmidt wrote:
>>> Both copies of the simulator caches came back again. I filed FB9072613 with Apple about this. We were down to 3GB free disk space which isn't a good place to be. I deleted the caches again and marked the dyld directories chmod 000. Let's see if that prevents Xcode from recreating the caches, hopefully without causing error messages that cause builds to fail. We now have 21GB free.
>> I recently learned that 'xcrun simctl delete unavailable’ and 'xcrun simctl delete all’ exist. Those commands can be used to reclaim disk space in use by Xcode simulators. Not sure if they could be of use in this scenario.
> I haven't tried that. I not only want to delete them, I also want them not to get recreated in the future. I don't know whether those commands would accomplish that. If my preceding attempt of making the dyld directories unreadable and unwritable does not work, I may look into your suggestion.
Maybe these commands could be run automatically, periodically, as part of the buildbot setup ?
More information about the macports-dev