mesonbuild / mesonbuild/meson

Vala: unity build should merge Vala code, not C code

Open
#5,280 2 comments 1 reaction 0 assignees View on GitHub

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:

meson-bug.tar.gz

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.