<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div apple-content-edited="true"><div><br class="khtml-block-placeholder"></div>

</div>
<br><div><div>On Sep 9, 2014, at 9:43 AM, Brandon Allbery &lt;<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 9, 2014 at 9:27 AM, Adam Dershowitz Ph.D., P.E. <span dir="ltr">&lt;<a href="mailto:dersh@alum.mit.edu" target="_blank">dersh@alum.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1mm" class="a3s" style="overflow:hidden">I do understand why the behavior happened, and I am not sure of the best solution going forward.&nbsp; Perhaps, when doing upgrades due to “scanning binaries for linking errors” macports should honor the full command line?&nbsp; I did tell it not to upgrade openmodelica-devel, and it did it anyway.<br>
Is there anything that I could have done differently (other then not using -u?)<br></div></blockquote></div><br>If openmodelica-devel was rebuilt by rev-upgrade, it was because it was affected by a link error. As such it would have been rebuilt unconditionally, and by necessity to the latest version. I can't speak to applicability of -u to rev-upgrade.<br><br>In cases like this you might want to disable the automatic rev-upgrade. That said, the fact that it was rebuilt does mean that the old version *was broken* by some other upgrade. You may need to block upgrades of dependencies in order to keep the older version functional.<br clear="all"><div><br></div>-- <br></div></div></blockquote></div><br><div><br></div><div>The difficulty, from a user perspective, is that it is not obvious when this kind of case will occur. &nbsp;I saw that I had some outdated ports, and did an upgrade of outdated and not openmodelica-devel. &nbsp;The difficulty is that one of those ports was omniORBpy which is what would have “broken" openmodelica-devel and caused the rev-upgrade. &nbsp;This is not something that would have been obvious beforehand. &nbsp;And also, is not a problem by itself. &nbsp;</div><div>The problem is that “-u” got passed to this rev-upgrade so during that process, all the old ones were deleted. &nbsp;The idea that "sudo port -u upgrade outdated and not openmodelica-devel” will not only upgrade openmodelica-devel but also delete all the old version of that specific port seems like a trap to users. &nbsp;</div><div><br></div><div>—Adam</div><div><br></div></body></html>