[110021] trunk/base/src/port1.0/portutil.tcl
Ryan Schmidt
ryandesign at macports.org
Mon Aug 26 04:49:43 PDT 2013
On Aug 26, 2013, at 02:32, Joshua Root <jmr at macports.org> wrote:
>> Revision: 110021
>> https://trac.macports.org/changeset/110021
>> Author: cal at macports.org
>> Date: 2013-08-24 12:38:25 -0700 (Sat, 24 Aug 2013)
>> Log Message:
>> -----------
>> port1.0: prevent failures in trace mode when "." is not stat(2)able.
>>
>> Modified Paths:
>> --------------
>> trunk/base/src/port1.0/portutil.tcl
>>
>> Modified: trunk/base/src/port1.0/portutil.tcl
>> ===================================================================
>> --- trunk/base/src/port1.0/portutil.tcl 2013-08-24 18:24:59 UTC (rev 110020)
>> +++ trunk/base/src/port1.0/portutil.tcl 2013-08-24 19:38:25 UTC (rev 110021)
>> @@ -1353,6 +1353,11 @@
>>
>> # otherwise execute the task.
>> if {$skipped == 0} {
>> + # cd somewhere readable in tracemode to avoid error, e.g. with
>> + # find. Make sure to use a path that also exists when executing
>> + # Portfiles from registry, i.e., _not_ $workpath.
>> + set oldpwd [pwd]
>> + _cd $portdbpath
>> # change current phase shown in log
>> set_phase $target
>>
>> @@ -1496,6 +1501,7 @@
>> # End of trace.
>> porttrace::trace_stop
>> }
>> + _cd $oldpwd
>> }
>> }
>
> I'm getting failures to execute the portfile from the registry when
> uninstalling ports after this change.
From all ports or just the recent haskell port updates? I saw the latter, and I have not updated my base to include the above change.
More information about the macports-dev
mailing list