macOS Big Sur 11.0.1 crashes when MacPorts tries to install p5.28-locale-gettext
ryandesign at macports.org
Sat Nov 14 17:36:56 UTC 2020
On Nov 14, 2020, at 11:17, Nils Breunese wrote:
> Ryan Schmidt wrote:
>> Sounds like maybe another consequence of the massive number of processes that MacPorts starts when trying to determine which of the hundreds of perl master_sites is closest to you. See:
> I indeed saw about 123 ping processes running while trying to fetch p5.28-locale-gettext.
>> We added some some code to mitigate that in MacPorts 2.6.3, reducing the number of processes by 2/3:
>> We added further code to limit the number of processes to 50, but that has only been committed to master, so it is not currently scheduled to appear before MacPorts 2.7.0:
>> Your log shows you're using MacPorts "2.6.4", which hasn't been released yet, so you must be using the release-2.6 branch. Try either adding the above commit to it or building master instead and see if that helps.
> I indeed installed MacPorts on Big Sur 11.0.1 via the latest state of the release-2.6 branch, because the 2.6.3 release failed to build.
> I just installed MacPorts from master and indeed saw the number of ping processes was limited to 50 now. But my machine still crashed after hanging for 3 minutes on '---> gettext-1.07.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5’.
You could edit the source code to change 50 to a smaller number and try again. To ensure that your test is not influenced by previously cached entries, delete /opt/local/var/macports/pingtimes before trying again. If you didn't see this problem with other ports that are not perl modules, then presumably there is some smaller number of simultaneous pings that will work. But it also sounds like it may be a bug in the Carbon Black software you mentioned using.
More information about the macports-dev