CI: Ubuntu musl headerless bootstrap target check rejects noncanonical macOS Clang triple (R383)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c, github-actions
- Domain
- build-system, testing-qa
Research direction
The failing check is test_linux_generated_self_c_compiles_for_bootstrap_targets in vlib/v/gen/c/headerless_program_test.v around line 328, where the target list still uses arm64-apple-macos13 and x86_64-apple-macos12. Start by reading that target table and running clang -target <triple> -fsyntax-only on a small C file to compare the macos and macosx spellings. Done means the candidate triples are confirmed against the Ubuntu musl CI job, with all targets and exit-code assertions kept; the fix is not yet verified.
Written by the indexing model from the issue text.
Description
Actual executed master failure (not a queued workflow)
On master f60a27d4b072e47dda80a21db0af579106ce0a11, Ubuntu musl workflow job 137163734009 finished 2026-11-22 11:59:16 UTC. The VLIB suite executed and reported one failure in vlib/v/gen/c/headerless_program_test.v:328, test_linux_generated_self_c_compiles_for_bootstrap_targets after thousands of passing tests. It invoked Clang with -target arm64-apple-macos13 and failed before validating the portable generated C: clang: error: invalid Darwin version number: macos13 / invalid version number in '-target arm64-apple-macos13'. Not the prior R376 SQLite nested Clang-vs-musl failure: that cached-dispatch test is excluded on f60, which remains a separate coverage loss.
Failing/current-master headerless_program_test.v still lists arm64-apple-macos13 and x86_64-apple-macos12 (unchanged from historical 11ecc). LLVM target-triple documentation uses canonical -apple-macosx<version>. Proposed minimal fix: use arm64-apple-macosx13 and x86_64-apple-macosx12, preserving both Apple architectures and versions plus all nine other target validation cases and all assert checked.exit_code == 0 checks. This is compiler/test-toolchain compatibility, not a generated-C assertion to suppress.
Validation and classification
I personally executed local Clang 17 -target ... -fsyntax-only probes and confirmed the canonical macosx triples are recognized. Local Clang 17 also tolerates the old macos alias, so this is not a local before/after reproduction of the exact failing Clang installation; the original failed hosted Clang log is authoritative. No complete V source/vlib checkout, formatter, or equivalent musl Clang toolchain is locally accessible. Investigating / candidate fix; do not claim verified resolved until the exact Ubuntu musl headerless_program_test.v and Linux/macOS Clang controls pass on a fixed commit. Do not extend timeouts, skip targets, or disable checks.
[!NOTE]
You can use the 👍 reaction to increase the issue's priority for developers.Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
- Dominant language
- V
- Stars
- 38.1k
- Forks
- 2.3k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 682
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vlang/v
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
conda-forge/zarpaint-feedstock#8 · 1 comment · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
oras-project/rust-oci-client-node#132 ·
Maintainers usually reply within 2 days
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 62/100
CachyOS/CachyOS-PKGBUILDS#2177 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
CI: pin OS images in build/publish tests instead of `*-latest`Possibly taken @shikhabhadoria claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vacanza/holidays#4220 · 1 comment ·
Maintainers usually reply within 1 day