Skip to content

Conversation

@Gottox
Copy link
Contributor

@Gottox Gottox commented Jul 30, 2025

Apparently during testing it slipped through that meson does not apply file permissions from packagefiles. So we do not execute the chdir_wrapper directly now. Instead we search for a python executable and call the interpreter with the script instead.

Apparently during testing it slipped through that meson does not apply
file permissions from packagefiles. So we do not execute the
chdir_wrapper directly now. Instead we search for a python executable
and call the interpreter with the script instead.
@Gottox
Copy link
Contributor Author

Gottox commented Jul 30, 2025

libgrapheme is upstream-broken on windows. It seems to be fixed in master, so I would suggest to ignore the broken CI here.

@Gottox Gottox force-pushed the fix/libgrapheme-fix-shebang branch 2 times, most recently from ca466b3 to a87407a Compare November 17, 2025 10:08
Copy link
Collaborator

@bgilbert bgilbert left a comment

Choose a reason for hiding this comment

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

CI will require you to convert the wrap to the dependency_names provide syntax. See the CI log for details.

'word-test': files('../data/WordBreakTest.txt'),
}

chdir_wrapper = files('chdir_wrapper.py')
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should be able to undo all of these changes (including the removal of the #! line) and just change this to

Suggested change
chdir_wrapper = files('chdir_wrapper.py')
chdir_wrapper = find_program('chdir_wrapper.py')

Meson has a special case for scripts starting with #!/usr/bin/env python3, so execute permission shouldn't be needed. However, with custom_target() this works for find_program() but not for files().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants