[MacPorts] #61683: remoted hangs on Big Sur when installing p5* ports, losing network and sometimes panicking kernel
MacPorts
noreply at macports.org
Tue Mar 16 10:12:00 UTC 2021
#61683: remoted hangs on Big Sur when installing p5* ports, losing network and
sometimes panicking kernel
-----------------------------+--------------------
Reporter: BishopBerkeley | Owner: (none)
Type: defect | Status: new
Priority: High | Milestone:
Component: base | Version: 2.6.4
Resolution: | Keywords: bigsur
Port: |
-----------------------------+--------------------
Comment (by jmroot):
If you would like a minimal workaround rather than installing from master,
making this change to
`/opt/local/libexec/macports/lib/port1.0/fetch_common.tcl` will prevent
anything from being pinged (which means sites will be tried in the order
they are listed):
{{{#!diff
--- /opt/local/libexec/macports/lib/port1.0/fetch_common.tcl.orig
2021-03-16 21:03:17.000000000 +1100
+++ /opt/local/libexec/macports/lib/port1.0/fetch_common.tcl 2021-03-16
21:06:20.000000000 +1100
@@ -263,7 +263,7 @@
# first check the persistent cache
set pingtimes($host) [get_pingtime $host]
if {$pingtimes($host) eq {}} {
- if {[catch {set fds($host) [open "|ping -noq -c3 -t3
$host"]}]} {
+ if {[catch {set fds($host) [open "|false -noq -c3 -t3
$host"]}]} {
ui_debug "Spawning ping for $host failed"
# will end up after all hosts that were pinged OK
but before those that didn't respond
set pingtimes($host) 5000
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61683#comment:45>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list