Skip to content

Update all MSYS2 packages and remove vanished i686 Fortran#51512

Draft
BillyONeal wants to merge 1 commit intomicrosoft:masterfrom
BillyONeal:msys-packages
Draft

Update all MSYS2 packages and remove vanished i686 Fortran#51512
BillyONeal wants to merge 1 commit intomicrosoft:masterfrom
BillyONeal:msys-packages

Conversation

@BillyONeal
Copy link
Copy Markdown
Member

Refresh all tracked MSYS2 package URLs and hashes using the vcpkg-ci-msys2[update-all] overlay test port.

Remove mingw-w64-i686-gcc-fortran and mingw-w64-i686-gcc-libgfortran declarations along with all their i686 dependency packages from vcpkg_find_fortran.cmake, as these packages have been permanently dropped from the MSYS2 repositories. The x86 Fortran code path now emits a FATAL_ERROR directing users to provide an external compiler or target x64 instead.

Also remove the i686-gcc-fortran entry from the vcpkg-ci-msys2 test port's PACKAGES list so the checker no longer scans for it.

This change was authored by Claude Opus 4.6.

MSYS2 reported that they're dropping 32 bit packages over time here: https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages

and the current builds now explicitly disable it for i686: https://github.com/msys2/MINGW-packages/blob/190f9c50bc261e3561e02da5f5fb17bf41e892f4/mingw-w64-gcc/PKGBUILD#L8-L22

(I expect there to be a lot of x86-windows fallout here but I'm just letting the build lab chew on it for now)

/cc @Neumann-A @dg0yt

Refresh all tracked MSYS2 package URLs and hashes using the
vcpkg-ci-msys2[update-all] overlay test port.

Remove mingw-w64-i686-gcc-fortran and mingw-w64-i686-gcc-libgfortran
declarations along with all their i686 dependency packages from
vcpkg_find_fortran.cmake, as these packages have been permanently
dropped from the MSYS2 repositories. The x86 Fortran code path now
emits a FATAL_ERROR directing users to provide an external compiler
or target x64 instead.

Also remove the i686-gcc-fortran entry from the vcpkg-ci-msys2 test
port's PACKAGES list so the checker no longer scans for it.

This change was authored by Claude Opus 4.6.

MSYS2 reported that they're dropping 32 bit packages over time here:
https://www.msys2.org/news/#2023-12-13-starting-to-drop-some-32-bit-packages

and the current builds now explicitly disable it for i686:
https://github.com/msys2/MINGW-packages/blob/190f9c50bc261e3561e02da5f5fb17bf41e892f4/mingw-w64-gcc/PKGBUILD#L8-L22

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dg0yt
Copy link
Copy Markdown
Contributor

dg0yt commented May 3, 2026

I believe this must be switched from the mingw64 environment to the ucrt64 environment. /mingw64 is no longer listed on https://www.msys2.org/docs/environments/. It was deprecated in March, https://www.msys2.org/news/#2026-03-15-deprecating-the-mingw64-environment.

@BillyONeal BillyONeal marked this pull request as draft May 3, 2026 06:55
@BillyONeal
Copy link
Copy Markdown
Member Author

Drafting because when I want to thoughtfully consider dg0yt's feedback when it isn't the weekend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants