11_x86 build - build failures due to 'no space on device'
Ryan Schmidt
ryandesign at macports.org
Sat Apr 10 07:50:24 UTC 2021
On Apr 9, 2021, at 14:10, Chris Jones wrote:
> On 9 Apr 2021, at 7:20 pm, Ryan Schmidt 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 ?
I don't want the wear and tear on the SSDs resulting from constantly re-writing 18.5 GB of unwanted data. I want to prevent Xcode from doing that. I am hopeful that the steps I have already taken will prevent that. If not, I will investigate other possibilities.
More information about the macports-dev
mailing list