Repository navigation
Fix CI: fall back to Qt's archive, use bundled md4c on Windows - #71
Merged
Merged
Conversation
Qt moved 6.9.1 from official_releases/ to archive/, so the SCXML source download 404s and the Linux and macOS jobs fail. Try official_releases/ first and fall back to archive/, in both places that download it. On Windows, QT_VERSION follows MSYS2's qt6-base, now 6.12.0, and building that from source against MSYS2's md4c 0.6.0 trips a static_assert in qtextmarkdownimporter.cpp. Build with the bundled md4c instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vadi2
approved these changes
Nov 13, 2026
vadi2
left a comment
Member
There was a problem hiding this comment.
Verified before approving:
official_releases/6.9.1 SCXML returns 404 andarchive/returns a 302 to a mirror serving it; #70's Linux/macOS jobs fail on exactly that download.- #70's Windows log installs
md4c-0.6.0-1and fails theqtextmarkdownimporter.cpp:54static_assert (1068812 == 1593100). md4c 0.6.0 addedADMONITIONS|FOOTNOTEStoMD_DIALECT_GITHUB. system-textmarkdownreaderis the real feature (qtbase v6.12.0src/gui/configure.cmake:1297), and placing it after--passes it through to CMake.- This PR's Windows job compiled Qt 6.12.0 from source (not a cache hit), so the md4c fix was actually exercised. All three platforms are green.
- Fallback loop tested with a mocked
wget: 404 then archive, partial file then archive, and both failing (still exits 1).
Minor, non-blocking: "A static build has no use for the system copy anyway" isn't quite accurate, since this same configure links system OpenSSL/zlib etc. The real reason is the md4c version mismatch.
Generated by Claude Code
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Every build has been failing since at least #69 (Nov 7), before reaching the build itself. Because of that, no launcher releases have gone out since then. There are two separate upstream causes.
Linux and macOS: Qt archived 6.9.1
build-qt-statemachine.shdownloads the SCXML source fromdownload.qt.io/official_releases/qt/6.9/6.9.1/.... That URL now returns 404, because Qt has moved 6.9.1 todownload.qt.io/archive/....Fix: try
official_releases/first and fall back toarchive/. The same change is applied to the SCXML fallback download incompile-qt-win.sh.Windows: Qt 6.12.0 doesn't build against MSYS2's md4c
QT_VERSIONon Windows comes from MSYS2'sqt6-basepackage, which is now 6.12.0. That's a new cache key, so the job compiles static Qt 6.12.0 from source. The compile fails inqtextmarkdownimporter.cpp:The cause is that Qt picks up MSYS2's system
md4c0.6.0, whose flag values don't match what Qt 6.12 expects. The later "Qt6Core not found" and ScXML errors in the log follow from this.Fix: configure with
-DFEATURE_system_textmarkdownreader=OFF, so Qt builds its bundled md4c. This is a static build, so nothing needs the system copy.Testing
archive/URL for 6.9.1 returns 200 and theofficial_releases/URL returns 404The first Windows run will be slow, because it compiles Qt 6.12.0 and fills the
qt-clang-6.12.0cache.🤖 Generated with Claude Code