Software⏱️ 3 min read📅 2026-06-15

How to Fix: MacPorts infinite loop error

MacPorts infinite loop error fix for xfig installation on OS X 10.6.4 Intel.

Quick Answer: Try running the command with the --verbose flag to get more detailed output and help diagnose the issue.

The 'too many nested evaluations (infinite loop?)' error in MacPorts is an internal error that occurs when the system fails to properly resolve dependencies for a package. This issue affects users of MacPorts version 1.9.1 on OS X 10.6.4 Intel, causing a substantial time delay between package installation attempts and the display of the error message.

This error can be frustrating because it prevents users from successfully installing packages, leading to wasted time and effort. Fortunately, there are steps that can be taken to resolve this issue.

💡 Why You Are Getting This Error

  • The root cause of this error is a known issue in MacPorts version 1.9.1, which causes the system to enter an infinite loop when trying to resolve dependencies for certain packages. This issue has been reported by multiple users and is likely due to a bug in the port lookup mechanism.
  • Another possible cause of this error could be a misconfigured or corrupted portfile, which can prevent the system from properly resolving dependencies.

🛠️ Step-by-Step Verified Fixes

Resetting the port cache

  1. Step 1: Open a Terminal and run the command `sudo port -q clean` to reset the port cache.
  2. Step 2: Next, run the command `sudo port -q unobtainable` to remove any packages that cannot be installed due to missing dependencies.
  3. Step 3: Finally, try installing the package again using the `sudo port install xfig` command.

Updating MacPorts

  1. Step 1: Open a Terminal and run the command `sudo port update --head` to update the MacPorts repository.
  2. Step 2: Next, try installing the package again using the `sudo port install xfig` command.

✨ Wrapping Up

By resetting the port cache or updating MacPorts, users should be able to resolve the 'too many nested evaluations (infinite loop?)' error and successfully install packages. If the issue persists, it may be worth trying a different package manager or seeking further assistance from the MacPorts community.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions