Removed those 3 ports from myports.txt, ran the script again. Now another 
infinite loop:

[~:]$ sudo ./restore_ports.tcl myports.txt
Error: we appear to be stuck, exiting...
infinite loop
    while executing
"sort_ports $portList"
    invoked from within
"set operationList [sort_ports $portList]"
    (file "./restore_ports.tcl" line 285)


> On Nov 2, 2016, at 7:25 PM, Ryan Schmidt <ryandes...@macports.org> wrote:
> 
>> 
>> On Nov 2, 2016, at 5:48 PM, Murray Eisenberg <murrayeisenb...@gmail.com> 
>> wrote:
>> 
>> After upgrading from OS X El Capitan to macOS Sierra (10.12.1), I’m 
>> following the migration steps at https://trac.macports.org/wiki/Migration .
>> 
>> Got to step 3. e and after downloading script restore_ports.tcl and making 
>> it executable, I executed:
>> 
>>   sudo ./restore_ports.tcl myports.txt
>> 
>> Output:
>> 
>> Warning: Skipping p5.16-module-corelist (not in the ports tree)
>> Warning: Skipping p5.20-module-corelist (not in the ports tree)
>> Warning: Skipping p5.22-module-corelist (not in the ports tree)
>> Error: we appear to be stuck, exiting...
>> infinite loop
>>    while executing
>> "sort_ports $portList"
>>    invoked from within
>> "set operationList [sort_ports $portList]"
>>    (file "./restore_ports.tcl" line 285)
>> 
>> Help!!   
>> 
>> I’d certainly prefer NOT to have to restore all my ports (from list saved in 
>> myports.txt) manually, one-by-one.
>> 
>> Any ideas?
> 
> Well, the warnings shown above are correct, there is no port 
> p5.16-module-corelist in the ports tree at this time.
> 
> https://www.macports.org/ports.php?by=name&substr=corelist 
> <https://www.macports.org/ports.php?by=name&substr=corelist>
> 
> If those are listed in your myports.txt, try removing them.

---
Murray Eisenberg                        murrayeisenb...@gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667        Mobile (413)-427-5334


_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to