Skip to content
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

ICU-21172 fix install race #2966

Merged
merged 1 commit into from
Sep 24, 2024
Merged

ICU-21172 fix install race #2966

merged 1 commit into from
Sep 24, 2024

Conversation

rossburton
Copy link
Contributor

@rossburton rossburton commented Apr 15, 2024

The generic recursive target calls target-local so also adding it to the dependency list results in races due to install-local being executed twice in parallel. For example, install-manx can fail if the two install processes race and one process tries to chown a file that the other process has just deleted.

Also install-manx should be a phony target, and for clarity use $^ instead of $? in the install command.

Checklist
  • Required: Issue filed: https://unicode-org.atlassian.net/browse/ICU-21172
  • Required: The PR title must be prefixed with a JIRA Issue number.
  • Required: The PR description must include the link to the Jira Issue, for example by completing the URL in the first checklist item
  • Required: Each commit message must be prefixed with a JIRA Issue number.
  • Issue accepted (done by Technical Committee after discussion)
  • Tests included, if applicable
  • API docs and/or User Guide docs changed or added, if applicable

@CLAassistant
Copy link

CLAassistant commented Apr 15, 2024

CLA assistant check
All committers have signed the CLA.

@jira-pull-request-webhook
Copy link

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@rossburton
Copy link
Contributor Author

Regarding the CLA, Arm has a corporate CLA signed.

@echeran
Copy link
Contributor

echeran commented Apr 18, 2024

Regarding the CLA, Arm has a corporate CLA signed.

Now that you have a corporate CLA agreement in place, you now need to personally click the "CLA not signed yet" button to authorize yourself.

@markusicu markusicu self-assigned this Jul 11, 2024
@markusicu markusicu requested a review from srl295 July 11, 2024 16:53
Copy link
Member

@srl295 srl295 left a comment

Choose a reason for hiding this comment

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

Looks great, thanks.

@srl295
Copy link
Member

srl295 commented Aug 24, 2024

tested locally LGTM,. why is CI stuck?

@markusicu
Copy link
Member

tested locally LGTM,. why is CI stuck?

I was thinking maybe there is a problem between an old commit and newer changes to the CI system, and tried to "squash" this commit via the UI, but then I got a permission-denied error message.

@rossburton would you mind rebasing your commit to trigger a fresh CI round?
@echeran FYI

The generic recursive target calls target-local so also adding it to the
dependency list results in races due to install-local being executed twice in
parallel.  For example, install-manx can fail if the two install processes race
and one process tries to chown a file that the other process has just deleted.

Also install-manx should be a phony target, and for clarity use $^ instead of $?
in the install command.

Signed-off-by: Ross Burton <ross.burton@arm.com>
@jira-pull-request-webhook
Copy link

Notice: the branch changed across the force-push!

  • icu4c/source/Makefile.in is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@markusicu markusicu merged commit 0f022dc into unicode-org:main Sep 24, 2024
91 checks passed
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.

6 participants