Skip to content

Add windows-msys2-x64 build for OpenVox 9#468

Merged
Sharpie merged 3 commits into
OpenVoxProject:mainfrom
Sharpie:msys2
Jun 7, 2026
Merged

Add windows-msys2-x64 build for OpenVox 9#468
Sharpie merged 3 commits into
OpenVoxProject:mainfrom
Sharpie:msys2

Conversation

@Sharpie
Copy link
Copy Markdown
Member

@Sharpie Sharpie commented Jun 4, 2026

Short description

This patch set updates the build logic for openvox-agent to use a new windows-msys2-x64 platform to build the Ruby 4 runtime under MSYS2 + MINGW-w64-UCRT. The older Cygwin + MINGW build is retained for building agent-runtime-8.x against MSVCRT.

Switching to UCRT is required as upstream Ruby 3.1 migrated to using this C runtime and Ruby 4.0 no longer builds against the older MSVCRT. Besides fixing the build, using the same x64-mingw-ucrt architecture as upstream Ruby allows pre-compiled Rubygems, e.g. nokogiri, to be installed without requiring Windows nodes to have a C compiler and other devtools installed.

Depends on related changes in OpenVoxProject/puppet-runtime#199.

Checklist

I have:

Comment thread packaging/configs/platforms/windows-msys2-x64.rb
Comment thread packaging/configs/components/puppet-runtime.json Outdated
Sharpie added 3 commits June 7, 2026 11:15
This commit adds a `windows-msys2-x64` platform definition that
inherits from the upstream Vanagon default.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
`curl` is no longer included in the `agent-runtime-main` for OpenVox 9,
so there is no need to remove anything related to it.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
One difference between MSYS2 and Cygwin is that MSYS2 mounts Windows
drives directly into `/` instead of using the `/cygdrive` prefix.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
@Sharpie Sharpie force-pushed the msys2 branch 2 times, most recently from 71c0259 to a4060e2 Compare June 7, 2026 16:31
@Sharpie Sharpie marked this pull request as ready for review June 7, 2026 16:32
@Sharpie
Copy link
Copy Markdown
Member Author

Sharpie commented Jun 7, 2026

Moving this PR out of draft status. The openvox-agent package now builds using the main branches of both Vanagon and shared-actions, and a build against puppet-runtime-main produces by OpenVoxProject/puppet-runtime#199 is successful:

https://github.com/Sharpie/openvox/actions/runs/27098005265

@Sharpie Sharpie enabled auto-merge June 7, 2026 16:35
@Sharpie Sharpie merged commit 95ba6bf into OpenVoxProject:main Jun 7, 2026
17 checks passed
@Sharpie Sharpie deleted the msys2 branch June 7, 2026 20:24
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