Skip to content

ci: install archived hidapi and libusb on windows, removed from msys2 - #115

Merged
everoddandeven merged 3 commits into
libmonero:mainfrom
everoddandeven:ci/windows-removed-msys2-packages
Oct 29, 2026
Merged

everoddandeven merged 3 commits into
libmonero:mainfrom
everoddandeven:ci/windows-removed-msys2-packages

Conversation

@everoddandeven

Copy link
Copy Markdown
Member

MSYS2 dropped mingw64 for hidapi and libusb in October, so pacman fails in the setup-msys2 step with "target not found" and the Windows jobs never reach the build. Remove them from the install list and install the archived packages from repo.msys2.org with pacman -U, checking sha256.

Also update the Windows instructions in the README, which still listed both packages and linked an ICU build that no longer exists.

Same approach as woodser/monero-cpp#174.

… mingw64

MSYS2 dropped mingw64 for hidapi and libusb in October, so pacman fails
in the setup-msys2 step with "target not found" and the Windows jobs
never reach the build. Remove them from the install list and install the
archived packages from repo.msys2.org with pacman -U, checking sha256.

Also update the Windows instructions in the README, which still listed
both packages and linked an ICU build that no longer exists.

Same approach as woodser/monero-cpp#174.

Co-authored-by: woodser <13068859+woodser@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

everoddandeven and others added 2 commits October 29, 2026 02:20
Since gcc 16.2.0-4 msys2 splits gcc-libs into libgcc, libstdc++ and
cc-libs, which conflict with the pinned gcc-libs 16.2.0-3, so the
pacman -U of the pinned toolchain fails. Remove the split packages
before the downgrade.

Also pin boost-libs 1.92.0-3 next to boost: the rebuilt boost-libs in
the repo depends on libquadmath, which conflicts with the pinned gcc-libs.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Windows jobs ran make and cmake --build without -j, so monero was
compiled one file at a time while Linux and macOS use -j3.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@everoddandeven
everoddandeven merged commit 2b9cb1e into libmonero:main Oct 29, 2026
5 of 6 checks passed
@everoddandeven
everoddandeven deleted the ci/windows-removed-msys2-packages branch November 17, 2026 20:44
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.

1 participant