On May 24, 2015, at 3:10 PM, Fernando Rodriguez wrote:

> As a side note, in the process of troubleshooting this I ran: port upgrade -
> Rvfs dbus to rebuild all dbus dependencies and dependands (thinking that 
> since 
> I had gentoo prefix in my path before macports something may have gotten 
> mixed 
> up while building kdepim) and it seems to have gone on an endless build loop, 
> I noticed some packages being built like 3 times. Is that the correct 
> behaviour? what is the correct way to accomplish this?

You should not use more than one package manager on a single computer. I'm not 
aware of Gentoo Prefix, but if that is another package manager, then you should 
use either that, or MacPorts, and uninstall the other one.

While building, MacPorts sets its own environment, including PATH, ignoring 
most environment variables you've set in your shell, so the intention is that 
there should not be any conflicts with other installed software, however 
experience has led us to recommend a more cautious approach.

Single-letter flags like R, v, f, s, should not take any effect unless you use 
them immediately after the word "port". So, for example "sudo port -v upgrade 
something" will print verbose output, while "sudo port upgrade -v something" 
will do nothing other than what "sudo port upgrade something" would do.

So assuming you actually used "sudo port -Rvfs upgrade dbus", then that would 
explain it. Using the "-f" flag is usually very bad and you should not do it 
except in very limited circumstances. When you force ("-f") an upgrade, I 
believe what that means is to rebuild all dependencies also, each time they're 
encountered, which could indeed be multiple times. This is clearly not what 
anyone wants, so the "-f" flag should never be used with "upgrade".

As to what the correct procedure would be to accomplish rebuilding a port's 
dependencies and dependents, I don't know; I don't think I've ever thought such 
a procedure to be needed.

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to