CI R406: headerless self C lacks expected POSIX fdopendir pointer-returning binding
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
Research direction
Start at the assert_self_c_directory_bindings check near vlib/v/gen/c/headerless_program_test.v:269 and reproduce with ./v -cc clang -keepc on that test to inspect the generated C. Compare the emitted fdopendir prototype's name, return type and ordering against what the assertion expects, using the V binding path to find where it is produced. Done means the assertion passes on master without relaxing it or adding a C header; the issue is still under investigation, so confirm with maintainers first.
Written by the indexing model from the issue text.
Description
Executed master 486397e6e188c2009a5cd046a983c39bcc4e99d2 macOS Clang shard job 137465815318 completed 2026-11-23 04:41:53Z after 429 VLIB passes/117 skips. Original command ./v -cc clang -no-memory-limit -silent vlib/v/gen/c/headerless_program_test.v fails assert_self_c_directory_bindings: expected DIR* fdopendir( prototype in V self-generated C, not present. Also V3 unit compiler job 137463971681 fails the same assertion (alongside separate R405 malformed -cc argv). Distinct from R402, which complains of forbidden #include <features.h>. Both can coexist. Current test and V binding path require -keepc output comparison at failing and current revisions, registration/type alias/prototype order and exact generated declaration, not relaxing assertion or adding a blind C header. Source entry at vlib/v/gen/c/headerless_program_test.v:269; check whether fdopendir is emitted as a differently named/typed prototype. Status investigating/applicability unknown; no corrected native V test. First/last observed 04:13–04:41Z Nov23 on master486.
[!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 2/5 1-3 hours Newbie friendliness 75/100
sagemathinc/sagebrush#1683 ·
Maintainers usually reply within 1 day
-
bot-triaged module: aotinductor module: compile-time module: inductor module: performance module: rocm oncall: export oncall: pt2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
baseballyama/rsvelte#5235 ·
Maintainers usually reply within 1 day
-
lang-core: member access on a component instance reads its internal fields instead of giving nullOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midspiral/LemmaScript#355 · 1 comment ·
Maintainers usually reply within 1 day