How to make sure that one port gets updated before another? (MinGW)

Joshua Root jmr at macports.org
Fri Oct 26 21:26:27 UTC 2018


On 2018-10-27 08:20 , Mojca Miklavec wrote:
> On Fri, 26 Oct 2018 at 22:58, Joshua Root wrote:
>> On 2018-10-27 07:27 , Mojca Miklavec wrote:
>>> Hi,
>>>
>>> A while ago I tried to update MinGW-w64 to version 6. The problem is
>>> that one needs to update both of these ports:
>>>     x86_64-w64-mingw32-crt         5.0.4_0 < 6.0.0_0
>>>     x86_64-w64-mingw32-winpthreads 5.0.4_0 < 6.0.0_0
>>> but I cannot figure out how to force "sudo port upgrade outdated" to
>>> update the crt port first. I did try to add the crt port to explicit
>>> dependencies, but it doesn't seem to help.
>>
>> If A depends on B, then B will be upgraded before A.
> 
> Except that this doesn't happen in my case.
> 
> I added an explicit dependency on x86_64-w64-mingw32-crt (both build
> and lib, just to be sure) and it's still not being updated before
> x86_64-w64-mingw32-winpthreads.

If dependencies didn't get upgraded before their dependents, there would
be a lot of serious problems. Since we don't see that, let's assume
something else is going on here. Is there an actual circular dependency?

- Josh


More information about the macports-dev mailing list