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

Murray Eisenberg murrayeisenberg at gmail.com
Thu Nov 3 02:08:16 CET 2016


So I started doing a reinstall of ports for migration, and at first got a “no C compiler available”. Next I tried installing gcc, but that depends on gmp. But even trying 
sudo port install gmp @6.1.1_0+universal
failed. Error in configure, I thing at:

:debug:configure could not read "/opt/local/share/man/man5/stab.5.gz": no such file or directory
    while executing
And, alas, that prevents reinstalling lots of other ports, since gcc depends on gmp, among others.

> On Nov 2, 2016, at 6:48 PM, Murray Eisenberg <murrayeisenberg at 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 <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?
> 
> 
> ---
> Murray Eisenberg			murrayeisenberg at gmail.com <mailto:murrayeisenberg at gmail.com>
> 503 King Farm Blvd #101	Home (240)-246-7240
> Rockville, MD 20850-6667	Mobile (413)-427-5334
> 
> 

---
Murray Eisenberg			murrayeisenberg at gmail.com
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: <http://lists.macports.org/pipermail/macports-users/attachments/20161102/375acaab/attachment-0002.html>


More information about the macports-users mailing list