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

</pre>
<p><a href="https://github.com/macports/mpbb/commit/9f5fd38fc30369bde3b2c9d5ec59b02089e22d53">https://github.com/macports/mpbb/commit/9f5fd38fc30369bde3b2c9d5ec59b02089e22d53</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 9f5fd38  sort-with-subports: add debugging and workaround
</span>9f5fd38 is described below

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

<span style='display:block; white-space:pre;color:#404040;'>    sort-with-subports: add debugging and workaround
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    It shouldn't happen that mportopen succeeds but mportinfo doesn't give
</span><span style='display:block; white-space:pre;color:#404040;'>    any canonical_active_variants key. Handle it for now and print some
</span><span style='display:block; white-space:pre;color:#404040;'>    info to try to help debug.
</span>---
 tools/sort-with-subports.tcl | 4 ++++
 1 file changed, 4 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/tools/sort-with-subports.tcl b/tools/sort-with-subports.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 6901073..3cb55b0 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/tools/sort-with-subports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/tools/sort-with-subports.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -260,6 +260,10 @@ while {[llength $todo] > 0} {
</span>                     set opened 1
                     set mport $result
                     array set portinfo [mportinfo $mport]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                    if {![info exists portinfo(canonical_active_variants)]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        puts stderr "Warning: $portinfo(name) has no canonical_active_variants, mport=${mport}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                        set portinfo(canonical_active_variants) ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    }
</span>                     if {[check_failcache $portinfo(name) $portinfo(porturl) $portinfo(canonical_active_variants)] != 0} {
                         set outputports($p) 0
                         set failingports($p) [list 2 $portinfo(name)]
</pre><pre style='margin:0'>

</pre>