Skip to content

gnome.mkenums: Fix get_executable_serialisation passing ExternalPrograms script without interpreter #14638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2025

Conversation

amyspark
Copy link
Contributor

This is an indirect regression of e8c7157; the code never accounted for ExternalPrograms that needed a harness.

This caused calls to glib-mkenums and other scripts that were passed as parameters to only include the direct path to the executable, instead of passing <interpreter> <script path>.

@amyspark amyspark requested a review from jpakkane as a code owner May 24, 2025 01:01
@bonzini bonzini added this to the 1.9 milestone May 24, 2025
@nirbheek
Copy link
Member

This is trivially correct, but since it broke once already we should get a test added for this.

@amyspark amyspark force-pushed the fix-regression-glib-mkenums branch from 2313c7a to 9d9a8cb Compare May 29, 2025 18:12
Copy link
Contributor Author

@amyspark amyspark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nirbheek Done, let me know if the place I added it is the correct one?

@amyspark amyspark force-pushed the fix-regression-glib-mkenums branch from 9d9a8cb to 806dd60 Compare June 2, 2025 12:27
@amyspark amyspark requested review from dcbaker and nirbheek June 2, 2025 12:28
@nirbheek
Copy link
Member

nirbheek commented Jun 2, 2025

Please rebase so CI becomes green and we can merge.

amyspark added 2 commits June 3, 2025 09:54
…ams script without interpreter

This is an indirect regression of e8c7157; the code never accounted for ExternalPrograms that needed a harness.
@amyspark amyspark force-pushed the fix-regression-glib-mkenums branch from 806dd60 to 2b49818 Compare June 3, 2025 12:54
@amyspark
Copy link
Contributor Author

amyspark commented Jun 3, 2025

@nirbheek done, thanks for the headsup.

@nirbheek nirbheek merged commit 5555027 into mesonbuild:master Jun 3, 2025
30 of 32 checks passed
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.

4 participants