Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Dec 18, 2025

Since commit 56e84d3, add_wrap is called instead of using setdefault() by hand. However, this causes the error for "Multiple wrap files provide..." to trigger incorrectly. To avoid this add a flag to add_wrap() that signals that the add is part of _merge_wraps.

However, like after commit 56e84d3, do not add the "provides" unless the wrap itself is used. This ensures that the "provides" set is synchronized with the meson.build file that will be used.

Testcase by George Sedov.

Fixes: #15175

@bonzini bonzini requested a review from jpakkane as a code owner December 18, 2025 15:49
@bonzini bonzini added this to the 1.9.3 milestone Dec 18, 2025
@bonzini bonzini force-pushed the fix15175 branch 2 times, most recently from ce7bdd1 to e8cab48 Compare January 7, 2026 16:29
Since commit 56e84d3, add_wrap is called instead of using setdefault()
by hand.  However, this causes the error for "Multiple wrap files provide..."
to trigger incorrectly.  To avoid this add a flag to add_wrap() that signals
that the add is part of _merge_wraps.

However, like after commit 56e84d3, do not add the "provides" unless the
wrap itself is used.  This ensures that the "provides" set is synchronized
with the meson.build file that will be used.

Testcase by George Sedov.

Fixes: mesonbuild#15175
Signed-off-by: Paolo Bonzini <[email protected]>
@bonzini bonzini modified the milestones: 1.9.3, 1.10.1 Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

multiple wrap files error starting with meson 1.9.0

1 participant