Skip to content

Conversation

@rschatz
Copy link
Member

@rschatz rschatz commented Dec 9, 2025

Fixing the root cause of #295.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 9, 2025
@rschatz rschatz self-assigned this Dec 9, 2025
@graalvmbot graalvmbot closed this Dec 9, 2025
@graalvmbot graalvmbot deleted the rs/mx/fix-ninja-syntax-download branch December 9, 2025 11:24
Copy link
Contributor

@eregon eregon left a comment

Choose a reason for hiding this comment

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

Thank you for the fix!
I suppose the mirroring deleted the branch, doesn't matter much to me as long as it's merged to master :)

try:
os.rename(self.target, old_target)
except OSError as e:
if e.errno == 18: # invalid cross-device link
Copy link
Contributor

Choose a reason for hiding this comment

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

The errno seems to be EXDEV (matches from the man page and the value on Linux),
so this could be if e.errno == errno.EXDEV: # invalid cross-device link

@rschatz
Copy link
Member Author

rschatz commented Dec 9, 2025

Yes, something is weird with our bot. I'll merge it with an internal PR.

@rschatz
Copy link
Member Author

rschatz commented Dec 9, 2025

Merged as 61380fd

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

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants