-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
[cmake] fix generating addon.xmls to avoid "file COPY" failures, fixes #16000 #16494
Conversation
@wsnipex looking at the native copy it excludes |
Sadly there is no way I'm aware of to exclude the xml.in file directly, so we'd have to delete them after copy to retain the same behavior. Although keeping them doesn't harm |
This seems to be working very well. I don't want to tempt fate, but I've not had any "file COPY" related build failures since including this PR on 14 Aug, not even having switched back to using |
Looking at this again, I might have found the correct fix. |
Thanks - I'll give a try and let you know (will take 3-4 days if it fixes the problem!) |
@wsnipex successfully completed 3,000 Kodi builds with wsnipex@275772b, and zero failures. I've updated this PR with the revised commit. |
please add wsnipex@3a539dd to hopefully fix the windows build failures edit: and please adjust the PR title, while you're at it |
Done.
Not really sure what the title should be now, hopefully that's correct? |
The commits have to be squashed or interchanged as it otherwise breaks bisecting on windows. |
get rid of double copying addons windows: add dependency for libdvd on export-files
Squashed. |
Thanks for your patience and all the testing |
Description
See #16000 - this fixes the random "file COPY" failures when building Kodi.
Motivation and Context
Kodi failing randomly during a 3-4 hour (or longer) LibreELEC build is a PITA.
How Has This Been Tested?
Extensively, see #16000. I have performed several thousand Kodi builds without this commit (multiple failures observed), and several thousand Kodi builds with this commit (zero failures).
This change has been proposed by @wsnipex. I have removed the "retry" support from the original version as that seems to be unnecessary.
Screenshots (if appropriate):
N/A
Types of change
Checklist: