Fix missing whitespace in patches#183
Conversation
Such patches may be technically invalid. These errors also mess with 'git patch-id', which is undesirable.
|
Would you be able to provide any examples or scenarios where the patches have caused such issues? |
|
This is nonsense. This behavior is caused by All patches touched by this PR produce a different |
|
I am doing a lot of work on android-tools on my fork (I rewrote its build system in Meson to add builtin Windows support and to fix #174, I planned to make an issue/create a discussion once I'm finished). I may be able to fix the CI failures, because I've added extra patches to fix various things in nmeum/android-tools. |
|
I haven't yet encountered this issue. I do not use such new clang++ which suffers from it. Issue: fmtlib/fmt#4396 Commit which fixes it: fmtlib/fmt@6797f0c (or https://android.googlesource.com/platform/external/fmtlib.git/+/6797f0c39a4ef13061cbc3bb850c35af7428fdc4%5E%21/). Backporting this to fmtlib platform-tools-35.0.2 (current version of fmtlib vendored project) is not trivial. I'll see what I can do. |
|
6797f0c39a4ef13061cbc3bb850c35af7428fdc4 is not yet in any tagged version of https://android.googlesource.com/platform/external/fmtlib.git/ (more specifically An alternative solution would be to switch from Google fmtlib to official one and update it. I already do something similar in my fork, since I do not know whether Google adds any worthwhile additions to fmt in comparison to the official source. |
|
Should I fix the issue to make this PR mergeable? This PR did not cause the failed CI. Users who could suffer from this can always use a system libfmt. |
|
Omitting
I could find the commit you mentioned in |
You mean all existing patches in general? Because there are currently no patches for fmtlib. As I said, backporting the commit to platform-tools-35.0.2 is nontrivial.
Even if this tag existed, would it be wise to use a 36.0.0 fmtlib inside 35.0.2 android-tools? I'm sure it'll be compatible, but it could make a mess in the vendor project pinning/versioning. |
Yes that's what I meant.
Yeah there's no point on upstreaming only that, I was just pointing out that a future update to the newest tag project-wide will definitely address this, assuming Google will finally decide to push the goodies🙄. |
|
Hey, is anything blocking this PR? |
|
Oh, I thought you were working on the build issues in this PR. |
|
That would probably be more appropriate in a new PR. Thanks for merging! |
Such patches may be technically invalid. These errors also mess with
git patch-id, which is undesirable.