[130863] trunk/dports/_resources/port1.0/group/conflicts_build-1.0.tcl

ryandesign at macports.org ryandesign at macports.org
Fri Jan 2 16:08:46 PST 2015


Revision: 130863
          https://trac.macports.org/changeset/130863
Author:   ryandesign at macports.org
Date:     2015-01-02 16:08:46 -0800 (Fri, 02 Jan 2015)
Log Message:
-----------
conflicts_build-1.0.tcl: mention that the deactivation should be forced, and give an example of how to do that, to reduce the occurrence of tickets like #46364 (and countless others about other ports using this portgroup)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/conflicts_build-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/conflicts_build-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/conflicts_build-1.0.tcl	2015-01-02 22:58:15 UTC (rev 130862)
+++ trunk/dports/_resources/port1.0/group/conflicts_build-1.0.tcl	2015-01-03 00:08:46 UTC (rev 130863)
@@ -1,7 +1,7 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 #
-# Copyright (c) 2012, 2014 The MacPorts Project
+# Copyright (c) 2012, 2014-2015 The MacPorts Project
 # All rights reserved.
 #
 # Redistribution and use in source and binary forms, with or without
@@ -52,11 +52,18 @@
         if {![catch "registry_active ${badport}"]} {
             if {${subport} == ${badport}} {
                 ui_error "${subport} cannot be built while another version of ${badport} is active."
-                ui_error "Please deactivate the existing copy of ${badport} and try again."
+                ui_error "Please forcibly deactivate the existing copy of ${badport}, e.g. by running:"
+                ui_error ""
+                ui_error "    sudo port -f deactivate ${badport}"
+                ui_error ""
+                ui_error "Then try again."
             } else {
                 ui_error "${subport} cannot be built while ${badport} is active."
-                ui_error "Please deactivate ${badport} and try again."
-                ui_error "You can reactivate ${badport} again later."
+                ui_error "Please forcibly deactivate ${badport}, e.g. by running:"
+                ui_error ""
+                ui_error "    sudo port -f deactivate ${badport}"
+                ui_error ""
+                ui_error "Then try again. You can reactivate ${badport} again later."
             }
             return -code error "${badport} is active"
         }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150102/e5cf284d/attachment-0001.html>


More information about the macports-changes mailing list