Opened 13 years ago

Closed 12 years ago

#31695 closed defect (worksforme)

xorg-libxcb @1.7_0+python26 Nested evaluations (infinite loop?)

Reported by: kurt.heumiller@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: henx@…
Port: xorg-libxcb

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

Running SnowLeopard, upgraded XCode and reinstalled latest version of MacPorts, was trying to follow the migration suggestions but cannot get past uninstalling

bmdva:~ kh65$ sudo port -fp uninstall --follow-dependents installed

Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Log for xorg-libxcb is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_xorg-libxcb_1.7_0+python26/xorg-libxcb/main.log
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Log for xorg-libxcb is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_xorg-xcb-proto_1.6_0+python26/xorg-xcb-proto/main.log
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
Error: Target org.macports.uninstall returned: too many nested evaluations (infinite loop?)
Warning: Failed to execute portfile from registry for xorg-libxcb @1.7_0+python26
too many nested evaluations (infinite loop?)

... and it goes on like that until I ctrl+z

Attachments (1)

main.log (68.7 KB) - added by kurt.heumiller@… 13 years ago.

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by kurt.heumiller@…

Attachment: main.log added

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

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 12 years ago by macporter90210@…

Perhaps the problem is line 10 of the log file:

:debug:uninstall Logging disabled, error opening log file: can't read "portpath": no such variable

What does this mean?

comment:3 Changed 12 years ago by macporter90210@…

In the meantime, this is the workaround I used

port installed > myports.txt
cat myports.txt | xargs sudo port -fp uninstall

comment:4 Changed 12 years ago by henx@…

Cc: henx@… added

Cc Me!

comment:5 Changed 12 years ago by henx@…

The workaround described above by macporter90210@… works perfectly. Thank you very much!

comment:6 in reply to:  3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Replying to macporter90210@…:

In the meantime, this is the workaround I used

port installed > myports.txt
cat myports.txt | xargs sudo port -fp uninstall

Which is exactly equivalent to sudo port -fp uninstall installed; i.e. the only difference is not using --follow-dependents. Maybe there was a dependency loop in your registry?

Since 2.0.2, ports will be uninstalled in dependency order anyway, so I've removed --follow-dependents from the instructions. That's probably all that can be done without a reproducible test case.

Note: See TracTickets for help on using tickets.