GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Build using powershell on Windows by chrisvest · Pull Request #17766 · netty/netty

Conversation

@chrisvest

@chrisvest chrisvest commented Oct 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Motivation:
The 'bash' shell we were using on Windows was supplied by the Git installation.
This included link.exe which is corresponding to the ln and link unix command line programs.
They confused the cargo build process which was expecting link.exe to be the MSVC linker.

Modification:
Port the mvn_affected.sh script to powershell, and use that on Windows PR builds, instead of relying on bash to run the unix script.

Result:
The Windows PR builds now run in the correct environment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@normanmaurer normanmaurer closed this Oct 5, 2026
@normanmaurer normanmaurer reopened this Oct 5, 2026
@chrisvest
chrisvest force-pushed the 4.2-quiche-build branch from 1fb7165 to 0a6183b Compare October 5, 2026 20:53
@chrisvest

chrisvest commented Oct 5, 2026

Copy link
Copy Markdown
Member Author

Not sure what's going on with the PR builds. Did a force push to kick them off again.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
Try to fix quiche compilation on Windows
1ce928a
Motivation:
The `cc` create recently released version 1.6.0, which appears to break on our Windows 2022 runner images.

Modification:
On Windows, generate a lockfile for quiche.
Then pin the `cc` create to version 1.5.1, and the `libc` crate to version 0.2.189.

Result:
Hopefully the Windows build passes.
@chrisvest
chrisvest force-pushed the 4.2-quiche-build branch from 0a6183b to 1ce928a Compare October 5, 2026 21:35
chrisvest added 3 commits October 5, 2026 15:05
@chrisvest
Try getting rid of the linker in /usr/bin
9ccca46
Maybe it is shadowing the MSVC linker.
@chrisvest
Build using powershell on Windows
b2a0568
Motivation:
The 'bash' shell we were using on Windows was supplied by the Git installation.
This included `link.exe` which is corresponding to the `ln` and `link` unix command line programs.
They confused the cargo build process which was expecting `link.exe` to be the MSVC linker.

Modification:
Port the `mvn_affected.sh` script to powershell, and use that on Windows PR builds, instead of relying on `bash` to run the unix script.

Result:
The Windows PR builds now run in the correct environment.
@chrisvest
Revert "Try to fix quiche compilation on Windows"
62c4458
This reverts commit 1ce928a.
@chrisvest chrisvest changed the title Try to fix quiche compilation on Windows Build using powershell on Windows Oct 5, 2026
@testlens-app

testlens-app Bot commented Oct 5, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🚨 TestLens detected 1 failed test 🚨

Here is what you can do:

  1. Inspect the test failures carefully.
  2. If you are convinced that some of the tests are flaky, you can mute them below.
  3. Finally, trigger a rerun by checking the rerun checkbox.

Test Summary

Build PR / macos-aarch64-java11-boringssl build > Netty/Transport/Native/KQueue

Test Runs Flakiness
KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo) ❌ 3% 🟡

🏷️ Commit: 62c4458
▶️ Tests: 420949 executed
⚪️ Checks: 30/30 completed

Test Failures

KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo) (Netty/Transport/Native/KQueue in Build PR / macos-aarch64-java11-boringssl build)
org.opentest4j.AssertionFailedError
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect0(DatagramUnicastTest.java:430)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:383)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:212)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest$7.run(DatagramUnicastTest.java:206)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest$7.run(DatagramUnicastTest.java:203)
	at io.netty.testsuite.transport.AbstractComboTestsuiteTest.run(AbstractComboTestsuiteTest.java:52)
	at io.netty.testsuite.transport.socket.DatagramUnicastTest.testSimpleSendWithConnect(DatagramUnicastTest.java:203)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Rerun Controls

Select tests to mute in this pull request:

  • KQueueDatagramUnicastIPv6MappedTest > testSimpleSendWithConnect(TestInfo)

Reuse successful test results:

  • ♻️ Only rerun the tests that failed or were muted before

Click the checkbox to trigger a rerun:

  • Rerun jobs

Learn more about TestLens at testlens.app/docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest chrisvest added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Oct 6, 2026
@chrisvest
chrisvest merged commit 2e28f31 into netty:4.2 Oct 6, 2026
30 of 31 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@chrisvest
chrisvest deleted the 4.2-quiche-build branch October 6, 2026 04:51
@netty-project-bot netty-project-bot mentioned this pull request Oct 6, 2026
Auto-port 4.1: Build using powershell on Windows #17768
Merged
@netty-project-bot

netty-project-bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #17769

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Auto-port PR for 4.1: #17768

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot netty-project-bot mentioned this pull request Oct 6, 2026
Auto-port 5.0: Build using powershell on Windows #17769
Merged
@github-actions github-actions Bot removed needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. labels Oct 6, 2026
normanmaurer pushed a commit that referenced this pull request Oct 6, 2026
@netty-project-bot @chrisvest
Auto-port 4.1: Build using powershell on Windows (#17768)
47af61b
Auto-port of #17766 to 4.1
Cherry-picked commit: 2e28f31

---
Motivation:
The 'bash' shell we were using on Windows was supplied by the Git
installation.
This included `link.exe` which is corresponding to the `ln` and `link`
unix command line programs.
They confused the cargo build process which was expecting `link.exe` to
be the MSVC linker.

Modification:
Port the `mvn_affected.sh` script to powershell, and use that on Windows
PR builds, instead of relying on `bash` to run the unix script.

Result:
The Windows PR builds now run in the correct environment.

Co-authored-by: Chris Vest <[email protected]>
normanmaurer pushed a commit that referenced this pull request Oct 6, 2026
@netty-project-bot @chrisvest
Auto-port 5.0: Build using powershell on Windows (#17769)
6bfa544
Auto-port of #17766 to 5.0
Cherry-picked commit: 2e28f31

---
Motivation:
The 'bash' shell we were using on Windows was supplied by the Git
installation.
This included `link.exe` which is corresponding to the `ln` and `link`
unix command line programs.
They confused the cargo build process which was expecting `link.exe` to
be the MSVC linker.

Modification:
Port the `mvn_affected.sh` script to powershell, and use that on Windows
PR builds, instead of relying on `bash` to run the unix script.

Result:
The Windows PR builds now run in the correct environment.

Co-authored-by: Chris Vest <[email protected]>
@normanmaurer normanmaurer added this to the 4.2.19.Final milestone Oct 6, 2026
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@netty-project-bot @chrisvest @lltopk
Auto-port 4.1: Build using powershell on Windows (netty#17768)
7a70772
Auto-port of netty#17766 to 4.1
Cherry-picked commit: 2e28f31

---
Motivation:
The 'bash' shell we were using on Windows was supplied by the Git
installation.
This included `link.exe` which is corresponding to the `ln` and `link`
unix command line programs.
They confused the cargo build process which was expecting `link.exe` to
be the MSVC linker.

Modification:
Port the `mvn_affected.sh` script to powershell, and use that on Windows
PR builds, instead of relying on `bash` to run the unix script.

Result:
The Windows PR builds now run in the correct environment.

Co-authored-by: Chris Vest <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.19.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@chrisvest @netty-project-bot @normanmaurer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.