Vala: unity build should merge Vala code, not C code
Open
Nobody has claimed this yet.
bug
language:vala
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
When 2 C files generated from vala code merged in C code - unity builds failed almost always, because there are duplicated hidden C function.
Simple example included:
Contributor 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.
Research direction
Start with the attached meson-bug.tar.gz and reproduce the unity-build failure involving two C files generated from Vala code. The payload names no source files or tests, so first locate the unity-build and Vala handling entry points. Done means unity builds no longer fail from duplicated hidden C functions and merge the Vala code as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100