Skip to content

MacOS make check-source fixes - #9379

Open
sangbida wants to merge 2 commits into
ElementsProject:masterfrom
sangbida:sangbida/check-source-fixes
Open

MacOS make check-source fixes#9379
sangbida wants to merge 2 commits into
ElementsProject:masterfrom
sangbida:sangbida/check-source-fixes

Conversation

@sangbida

@sangbida sangbida commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator
  • Drop obsolete x"$1" idiom in compacter-slow.sh (ShellCheck SC2268).
  • Document Homebrew GNU make + gpatch on macOS so check-source works locally.

CI does not hit these, so the failures show up mainly for local macOS contributors.
Changelog-None

Shellcheck 0.11 (SC2268) rejects the old x"$1" comparison idiom.

Prevents: "tests/plugins/compacter-slow.sh:5:6: note: Avoid x-prefix in comparisons as it no longer serves a purpose. [SC2268]"
Apple's make/patch are too old for the build and check-source;
install gpatch and put both Homebrew gnubin dirs on PATH.
@sangbida
sangbida requested a review from ddustin August 5, 2026 06:12
@sangbida
sangbida marked this pull request as ready for review August 5, 2026 06:12
@sangbida
sangbida requested a review from daywalker90 August 5, 2026 06:12
@daywalker90

Copy link
Copy Markdown
Collaborator

I can not reproduce the check-source issue in the macos runner: daywalker90#47

It gives me the same output as on my own debian machine. What is the exact command you use for check-source ?

Afaik it should be:

uv run gmake check-source

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