[89659] trunk/base/src/macports1.0/macports.tcl

cal at macports.org cal at macports.org
Sun Feb 5 15:27:38 PST 2012


Revision: 89659
          http://trac.macports.org/changeset/89659
Author:   cal at macports.org
Date:     2012-02-05 15:27:38 -0800 (Sun, 05 Feb 2012)
Log Message:
-----------
rev-upgrade: Request more verbose output before suggesting to open a ticket

Hopefully this will keep me from building all the ports that fail...

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2012-02-05 23:25:37 UTC (rev 89658)
+++ trunk/base/src/macports1.0/macports.tcl	2012-02-05 23:27:38 UTC (rev 89659)
@@ -4141,7 +4141,10 @@
             }
             incr broken_port_counts([$port name])
             if {$broken_port_counts([$port name]) > 3} {
-                ui_error "Port [$port name] is still broken after rebuiling it more than 3 times. You might want to file a bug for this."
+                ui_error "Port [$port name] is still broken after rebuiling it more than 3 times."
+                if {![macports::ui_isset ports_debug]} {
+                    ui_error "Please run port -d -y rev-upgrade and use the output to report a bug."
+                }
                 error "Port [$port name] still broken after rebuilding [expr $broken_port_counts([$port name]) - 1] time(s)"
             }
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120205/3f528599/attachment.html>


More information about the macports-changes mailing list