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.
> port info x86_64-w64-mingw32-winpthreads
x86_64-w64-mingw32-winpthreads @6.0.0 (cross, devel)
Variants: universal
Description: Mingw-w64 is an advancement of the original
mingw.org project, created to support the GCC compiler on Windows
systems.
Homepage: http://mingw-w64.sourceforge.net/
Build Dependencies: x86_64-w64-mingw32-gcc-nothreads, x86_64-w64-mingw32-crt
Library Dependencies: x86_64-w64-mingw32-crt
...
> port installed 'x86_64-w64-mingw32*'
The following ports are currently installed:
x86_64-w64-mingw32-binutils @2.31.1_0 (active)
x86_64-w64-mingw32-crt @5.0.4_0 (active)
x86_64-w64-mingw32-gcc @8.2.0_0 (active)
x86_64-w64-mingw32-headers @5.0.4_0
x86_64-w64-mingw32-headers @6.0.0_0 (active)
x86_64-w64-mingw32-winpthreads @5.0.4_0 (active)
> port outdated
The following installed ports are outdated:
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
> sudo port upgrade outdated
---> Computing dependencies for x86_64-w64-mingw32-winpthreads
---> Configuring x86_64-w64-mingw32-winpthreads
---> Building x86_64-w64-mingw32-winpthreads
Error: Failed to build x86_64-w64-mingw32-winpthreads: command execution failed
I admit that the dependencies are a tiny bit "cyclic" (there are some
path-style dependencies), but I don't know a better way to implement
this strange bootstrap process. The installation works from scratch,
but the automatic update fails and I'm not sure where to look.
Thank you very much,
Mojca