From 120a1437a8d1cfd413faadb8799559c6856ccc02 Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Thu, 19 Mar 2026 01:03:41 +1100 Subject: [PATCH] sort-with-subports: print something every 15 min Avoids buildbot timing out. --- tools/sort-with-subports.tcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/sort-with-subports.tcl b/tools/sort-with-subports.tcl index 10cf7e6..1f58434 100755 --- a/tools/sort-with-subports.tcl +++ b/tools/sort-with-subports.tcl @@ -187,11 +187,18 @@ foreach p $todo { set archive_ext .tbz2 # process all recursive deps set depstypes [list depends_fetch depends_extract depends_patch depends_build depends_lib depends_run] +set last_noisy_time [clock seconds] while {[llength $todo] > 0} { set p [lindex $todo 0] set todo [lreplace ${todo}[set todo {}] 0 0] if {![dict exists $portdepinfo $p]} { + # Avoid buildbot timing out on long runs + set now [clock seconds] + if {$now - $last_noisy_time >= 900} { + puts stderr "Still processing..." + set last_noisy_time $now + } if {[catch {mportlookup $p} result]} { puts stderr "$errorInfo" error "Failed to find port '$p': $result"