Skip to content

Merge msys2-3.6.9: fix GCC 16 build error, add libzstd-devel#133

Merged
dscho merged 5 commits into
git-for-windows:mainfrom
dscho:build-with-gcc-16
May 23, 2026
Merged

Merge msys2-3.6.9: fix GCC 16 build error, add libzstd-devel#133
dscho merged 5 commits into
git-for-windows:mainfrom
dscho:build-with-gcc-16

Conversation

@dscho
Copy link
Copy Markdown
Member

@dscho dscho commented May 21, 2026

This merges the msys2-3.6.9 branch from the MSYS2 fork, picking up two new patches on top of the existing cygwin-3.6.9 base:

The first patch removes an unused variable in cygcheck that causes a build error with GCC 16 (which now treats -Wunused-but-set-variable as an error by default).

The second patch adds the missing libzstd-devel build dependency to the CI workflow, needed because binutils now pulls in zstd and the Cygwin build system only considers linking against it when the development headers are present at configure time.

While at it, fix up the UI tests to squash two flakes that hit this here PR, by extending some timeouts.

Closes git-for-windows/git#6252

lazka and others added 5 commits May 18, 2026 21:58
Since gcc 16 this triggers -Werror=unused-but-set-variable=
Remove the unused variable.
See 1387ea9 - our binutils now pulls in zstd, and
cygwin will only consider linking to it if it is present.
Install it so it is found at configure time.
The ping pipeline (git -> bash -> cat | ping) involves multiple
process spawns that can take longer than 5 seconds on loaded CI
runners. Increase the timeout from the default 5s to 10s.

Assisted-by: Opus 4.6
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The SSH clone startup (git -> ssh -> sshd -> powershell -> git
upload-pack) involves a deep process chain plus SSH key exchange.
On a successful CI run this already took 5.17 seconds against the
5-second timeout, passing only because the regex matched on the
last capture iteration. Increase the timeout from 5s to 15s.

Assisted-by: Opus 4.6
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
@dscho dscho self-assigned this May 21, 2026
@dscho dscho requested review from mjcheetham and rimrul May 21, 2026 13:27
@dscho dscho marked this pull request as ready for review May 21, 2026 13:27
@dscho dscho merged commit b3be463 into git-for-windows:main May 23, 2026
31 checks passed
@dscho dscho deleted the build-with-gcc-16 branch May 23, 2026 13:18
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.

[New msys2-runtime version] 2 new items

3 participants