restore_ports.tcl - in infinite loop while sorting (sort_ports $portLis)

William H. Magill magill at mac.com
Thu Oct 12 00:12:45 UTC 2017


I Have upgraded my mini to High Sierra and trying to migrate to Mac Ports 2.4.2. 
(I had previously upgraded my iMac with no problems.)

The mini upgrade is failing in the restore_ports.tcl step
——————<cut here>----------------------
shianbrae> curl --location --remote-name \
Continue>     https://github.com/macports/macports-contrib/raw/master/restore_ports/restore_ports.tcl
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                               Dload  Upload   Total   Spent    Left  Speed
100   164  100   164    0     0     67      0  0:00:02  0:00:02 --:--:--    67
100  9474  100  9474    0     0   3411      0  0:00:02  0:00:02 --:--:--  3411
[/Users/magill] magill 
shianbrae> chmod +x restore_ports.tcl
[/Users/magill] magill 
shianbrae> sudo ./restore_ports.tcl myports.txt
Warning: Skipping istumbler (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)
——————<cut here>———————————

istumbler @99_0+use_binary (active) platform='darwin 16' archs='i386 ppc' date='2016-09-22T12:33:01-0400’


Deleting that entry does not resolve the problem. 
I’m guessing there is another entry that it is trying to retrieve with no luck, but which one?

myports.txt has 324 lines - after deletion of istumbler. (wc -l)

The installation is nominally Apache2, Aspell, Mailman, Mysql 56, perl5, php56, postfix, python27 and a bunch of xorg stuff that I don’t recall what it is from.
I can ship off the file if anyone is interested.

Should this get a ticket filed?

I can simply re-install individually, unless there is an obvious answer to the problem.



T.T.F.N.
William H. Magill
# iMac11,3 Core i7 [2.93GHz - 8 GB 1067MHz] OS X 10.13
# Macmini6,1 Intel Core i5 [2.5 Ghz - 4GB 1600MHz] OS X 10.13

magill at icloud.com
magill at mac.com
whmagill at gmail.com









More information about the macports-users mailing list