mirror of
https://github.com/macports/mpbb.git
synced 2026-07-12 18:18:44 -07:00
sort-with-subports: print something every 15 min
Avoids buildbot timing out.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user