MacPorts 1.6 still supports OS X 10.3 Panther?

Kevin Ballard eridius at macports.org
Sat Jan 5 15:12:52 PST 2008


We removed ui_channels and added a ui_channels_default, then changed  
where we call ui_channels to check and see if the command exists (so  
clients can override it), and if it doesn't exist to call  
ui_channels_default instead.

So basically, the only reason it might fail on 10.3 is if [info  
commands ui_channels] returns something other than the blank string  
when ui_channels doesn't exist.

Chris, can you fire up the tclsh shell and tell me what that command  
returns?

-Kevin Ballard

On Jan 5, 2008, at 6:03 PM, Ryan Schmidt wrote:

> On Jan 5, 2008, at 16:49, Kevin Ballard wrote:
>
>> On Jan 5, 2008, at 3:30 PM, Ryan Schmidt wrote:
>>
>>> On Jan 5, 2008, at 04:43, Chris Janton wrote:
>>>
>>>> On 2008-01-05 , at 01:19 , Kevin Ballard wrote:
>>>>
>>>>> On Jan 4, 2008, at 23:32, Ryan Schmidt wrote:
>>>>>
>>>>>> Maybe this changeset is related to the problem?
>>>>>>
>>>>>> http://trac.macports.org/projects/macports/changeset/29498
>>>>>
>>>>> If this problem is related to that commit and 10.3, then the  
>>>>> only thing I can think of is that Mac OS X 10.3 included a  
>>>>> broken version of tclsh, but that doesn't seem too plausible.
>>>>>
>>>>> I can't think of any reason for this error to only affect  
>>>>> commands that open Portfiles.
>>>>
>>>> Anything I can do to help track down what is going wrong? The  
>>>> "version" of tclsh on 10.3 appears just like 10.4 and 10.5 - a  
>>>> symbolic link to tclsh8.4
>>>
>>> I looked through the sources for "ui_channels" and found reference  
>>> in the ChangeLog to the changeset I mentioned a couple messages  
>>> ago. I could try reverting that changeset and compiling, see if it  
>>> works then.
>
> I meant "You could try..."
>
>> Reverting changes just because of the name is probably a bad idea -  
>> that change was made for a reason, and there's nothing I can think  
>> of that would make that change have any problems on 10.3.
>
> I understand the change was made for a reason. But the error message  
> reported on Panther is "Error: Unable to open port: invalid command  
> name 'ui_channels'" and that changeset does remove three functions  
> called "ui_channels" from port.tcl, portindex.tcl and  
> portmirror.tcl. I don't have Panther or I'd test it myself. Chris  
> does have Panther and was asking for suggestions for what he could  
> try. So I made a suggestion.
>

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com




More information about the macports-users mailing list