<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-infrastructure.

</pre>
<p><a href="https://github.com/macports/macports-infrastructure/commit/ee6b3622939a80a980403078d4c4ce3503debef8">https://github.com/macports/macports-infrastructure/commit/ee6b3622939a80a980403078d4c4ce3503debef8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new ee6b362  distributable_lib: catch mportopen failure
</span>ee6b362 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ee6b3622939a80a980403078d4c4ce3503debef8
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Thu Mar 18 15:40:18 2021 +1100

<span style='display:block; white-space:pre;color:#404040;'>    distributable_lib: catch mportopen failure
</span>---
 jobs/distributable_lib.tcl | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/jobs/distributable_lib.tcl b/jobs/distributable_lib.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index b7984d1..7e600e4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/jobs/distributable_lib.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/jobs/distributable_lib.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -158,7 +158,12 @@ proc infoForPort {portName variantInfo} {
</span>     }
 
     set dependencyList [list]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    set mport [mportopen $portInfo(porturl) [list subport $portInfo(name)] $variantInfo]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[catch {mportopen $portInfo(porturl) [list subport $portInfo(name)] $variantInfo} result]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        puts stderr "Warning: port \"$portName\" failed to open: $result"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        return {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set mport $result
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span>     array unset portInfo
     array set portInfo [mportinfo $mport]
     # Closing the mport is actually fairly expensive and not really necessary
</pre><pre style='margin:0'>

</pre>