Skip to content

Fix rsync on macOS 15.4 #3157

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 1 commit into from
Apr 1, 2025
Merged

Fix rsync on macOS 15.4 #3157

merged 1 commit into from
Apr 1, 2025

Conversation

brentleyjones
Copy link
Contributor

15.4's rsync has a bug that requires the src to have write permissions. We normally shouldn't do this as it modifies the Bazel output base, so we limit this to only macOS 15.4 (as it’s fixed in 15.5).

Also fixes a slight bug in the patch_dsym function.

@brentleyjones brentleyjones requested a review from a team as a code owner April 1, 2025 14:48
@luispadron
Copy link
Contributor

luispadron commented Apr 1, 2025

Going to test once I update to 15.4 in a few mins

@gyfelton
Copy link

gyfelton commented Apr 1, 2025

confirmed this fixed on Square's repo, thank you!

@mlequeux
Copy link

mlequeux commented Apr 1, 2025

🙏 Thanks for scoping this to 15.4 !

15.4's `rsync` has a bug that requires the src to have write permissions. We normally shouldn't do this as it modifies the Bazel output base, so we limit this to only macOS 15.4 (as it’s fixed in 15.5).

Also fixes a slight bug in the `patch_dsym` function.

Signed-off-by: Brentley Jones <github@brentleyjones.com>
@brentleyjones brentleyjones force-pushed the bj/fix-rsync-on-macos-15.4 branch from bbe5153 to 4ce504d Compare April 1, 2025 15:08
@brentleyjones brentleyjones merged commit d80ed05 into main Apr 1, 2025
10 of 12 checks passed
@brentleyjones brentleyjones deleted the bj/fix-rsync-on-macos-15.4 branch April 1, 2025 15:23
@mlequeux
Copy link

mlequeux commented Apr 1, 2025

@brentleyjones how do we know that the issue is fixed in MacOS 15.5 ?

@brentleyjones
Copy link
Contributor Author

https://ios-dev-at-scale.slack.com/archives/C5QA0UGR1/p1743023617327849?thread_ts=1742242392.890139&cid=C5QA0UGR1

Not fixed yet, but basically promised to be.

@mlequeux
Copy link

mlequeux commented Apr 4, 2025

Still broken on MacOS 15.5b1, as expected

@mlequeux
Copy link

mlequeux commented Apr 4, 2025

0001-rsync.patch

In order to fix on 15.5 betas, if the issue is still present (Patches the 2.11.1 release)

@0xLucasMarcal
Copy link
Contributor

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.

5 participants