Opened 9 years ago

Closed 9 years ago

#49210 closed defect (worksforme)

restore_ports.tcl script on fails on El Capitan with the error "infinite loop"

Reported by: JonoMH Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), JonoMH
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

So, I've upgraded to El Capitan on my Mac and I've attempted to follow the instructions for migration to the new operating system here:

wiki:Migration

However, after the restore_ports.tcl script immediately fails after that with the error message:

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 am confused as this does not seem to be due to conflicting ports in the list of previously installed ports that has been reported before and the error is different. My list of previously installed ports before upgrading to the new OS is long, so I've attached it as a file to this ticket. Thank you.

Attachments (1)

myports.txt (59.1 KB) - added by JonoMH 9 years ago.
List of previously installed ports

Download all attachments as: .zip

Change History (11)

Changed 9 years ago by JonoMH

Attachment: myports.txt added

List of previously installed ports

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)

comment:2 Changed 9 years ago by JonoMH

Hi, I just want to let everyone know that I've managed to solve this problem myself. The problem was caused by the variable build_arch in the macports.conf file and commenting this out solved the problem. I'm not sure why that would cause the error though.

I do however have another problem in that the flak-devel port won't compile. That should probably be opened in another ticket though.

comment:3 Changed 9 years ago by JonoMH

Cc: hartman.jonathan2@… added

Cc Me!

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; hartman.jonathan2@… removed

What value was build_arch set to?

comment:5 Changed 9 years ago by densonsmith2@…

I am having the same problem but the build_arch line is already commented out in my macports.conf file.

#build_arch          	i386

I tried uncommenting it but I still got the same error.

Last edited 9 years ago by densonsmith2@… (previous) (diff)

comment:6 Changed 9 years ago by densonsmith2@…

The problem was that I had installed xcode but had not yet accepted the terms.

comment:7 in reply to:  5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to densonsmith2@…:

I am having the same problem but the build_arch line is already commented out in my macports.conf file.

#build_arch          	i386

I tried uncommenting it but I still got the same error.

You should not uncomment it. i386 is not the correct arch for El Capitan; x86_64 is, and you'll get x86_64 by leaving it commented out.

comment:8 Changed 9 years ago by JonoMH

Cc: hartman.jonathan2@… added

Cc Me!

comment:9 Changed 9 years ago by JonoMH

@ryandesign, I apologise for the late reply but to answer your question, my build_arch was set to x86_64. I know that that's the correct setting for El Capitan but commenting it out solved the problem for me somehow.

comment:10 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

If it was already set to x86_64, then commenting it out would have no effect, and your problem was solved by something else.

Note: See TracTickets for help on using tickets.