remove old installations

Keith J. Schultz keithjschultz at web.de
Fri Dec 2 00:16:57 PST 2011


I think there should be a policy change here.
As it seems it is causing more work than it saves 
doing unclean builds.

We could just simply add a option -u for unclean for those
that need it.

regards
	Keith.



Am 02.12.2011 um 03:30 schrieb Ryan Schmidt:

> 
> On Dec 1, 2011, at 18:11, Roger Pack wrote:
> 
>> Maybe what it could do it warn when it's doing a "dirty" installation,
>> so that it's clearer more quickly why something may have failed (i.e.
>> you see
>> $ port install xxx
>> warning: installing over a previous installation
>> ...
>> fetch failed please check your log
>> 
>> (it's more immediately obvious *why* the fetch may have failed).
> 
> That's an idea... we do certainly get dozens of tickets filed per week with main.logs attached that were not from clean build attempts, and are thus often useless, and we waste time explaining this to each reporter and ask them to clean and try again. My suggestion is that instead of always warning at the beginning of unclean builds (since the reason we allow unclean builds at all is that often they'll work just fine), we should modify the error message printed if an error does end up occurring after an unclean build. Currently we always print:
> 
> Log for foo is at: /opt/local/var/macports/logs/_path_to_foo/foo/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> I claim we should print that only if it was a clean build. If it was not a clean build, we should print:
> 
> Log for foo is at: /opt/local/var/macports/logs/_path_to_foo/foo/main.log
> Error: Status 1 encountered during processing.
> Clean and try again before considering reporting this as a bug.
> 
> This would also cut down on the so far 28 known duplicates of 29223, though we should really fix that properly as well.
> 
> https://trac.macports.org/ticket/29223
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list