I am encountering circular dependencies on a regular basis. Maybe I am too keen on turning knobs on? Anyways, usually they crash the build machine because of too much memory/swap consumed, unless I notice it and break the compilation earlier. Which is quite annoying to say the least, because then I need to track it down and start recompilation from scratch. It would be great if someone enlightened me how this should be dealt with because in the current state compilation from ports simply doesn't work for me.
I presume that ports are checked for circular dependencies with automatic tools when all the knobs are set to their default states. But how to detect circular dependencies on a particular build machine when knobs are set to non-default states? Is running the build process to see if it breaks the only option?
I noticed that
How to check what ports the circular dependency consists of so that I can break it by looking for knobs/options to turn off?
I presume that ports are checked for circular dependencies with automatic tools when all the knobs are set to their default states. But how to detect circular dependencies on a particular build machine when knobs are set to non-default states? Is running the build process to see if it breaks the only option?
I noticed that
make index
in /usr/ports/ can detect a circular dependency somehow but the message it prints when it's found is pretty useless, .e.g:
Code:
make_index: Circular dependency loop found: nautilus-3.16.3 depends upon itself.
How to check what ports the circular dependency consists of so that I can break it by looking for knobs/options to turn off?