Ticket #31695 (closed defect: worksforme)
xorg-libxcb @1.7_0+python26 Nested evaluations (infinite loop?)
| Reported by: | kurt.heumiller@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | Cc: | henx@… | |
| Port: | xorg-libxcb |
Description (last modified by ryandesign@…) (diff)
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
Change History
comment:1 Changed 19 months ago by ryandesign@…
- Owner changed from macports-tickets@… to jeremyhu@…
- Description modified (diff)
comment:2 Changed 17 months 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 follow-up: ↓ 6 Changed 17 months 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:5 Changed 16 months ago by henx@…
The workaround described above by macporter90210@… works perfectly. Thank you very much!
comment:6 in reply to: ↑ 3 Changed 12 months ago by jmr@…
- Status changed from new to closed
- Resolution set to worksforme
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.

