stuck in loop with restore_ports.tcl migrating to macOS Sierra (10.12.1)

Murray Eisenberg murrayeisenberg at
Wed Nov 2 23:48:35 CET 2016

After upgrading from OS X El Capitan to macOS Sierra (10.12.1), I’m following the migration steps at <> .

Got to step 3. e and after downloading script restore_ports.tcl and making it executable, I executed:

   sudo ./restore_ports.tcl myports.txt


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)


I’d certainly prefer NOT to have to restore all my ports (from list saved in myports.txt) manually, one-by-one.

Any ideas?

Murray Eisenberg			murrayeisenberg at
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list