-
Notifications
You must be signed in to change notification settings - Fork 72
Upgrade to platform-tools-35.0.1 #144
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
Conversation
* adb/0025-Add-explicit-import-for-algorithm.patch https://android.googlesource.com/platform/packages/modules/adb.git/+/959eb4a096fc51bf2814e3374cb12b41d32a045d * base/0001-LoadedArsc-un-const-T-in-std-vector-T.patch https://android.googlesource.com/platform/frameworks/base/+/6e8c6039254716dca878e84567d3a4e480d47a22 * base/0002-PosixUtils-don-t-use-reserved-name-std-out-err-for-v.patch https://android.googlesource.com/platform/frameworks/base/+/faa5e27652dd889c95e2405bbeec8483ff7497c3 * base/0003-AssetManager2-Align-creation-of-FindEntryResult-with.patch https://android.googlesource.com/platform/frameworks/base/+/9e039b9dfecf25cbec1841651744baff3e9e34b8
I do not know how to troubleshoot the compiler error in Fedora. |
I can reproduce the error in openSUSE Tumbleweed with gcc 14. With the following patch the build works with clang, gcc 13 and gcc 14, but I'm not sure if this is the clean way to do it:
|
That seems more like workaround. Is gcc 14 released yet? |
Yes of course, that would be a workaround. Another possibility would be to adapt the checks for fedora so that gcc 13 is used (if it is offered). |
I have added the above workaround for gcc 14. Waiting for reviews... |
The remaining issue is with
could it be opensuse problem given that their system has |
That is correct. The problem is known and a solution is being worked on. It has probably already been fixed for the next version Leap 15.6, but unfortunately not yet for the current "latest" version, i.e. Leap 15.5. |
It is great to hear. @munix9 do you have a link to the upstream discussion to learn more about the root of the problem and proposed solution? |
The basic problem is probably that Leap also uses binary packages from the SUSE distribution (the commercial one with support). |
As the opensuse bot issue is identified as the upstream one I am +1 with merging this PR into |
|
I'm having issues with this 35.0.1 version, on NixOS. Specifically, if I have multiple devices connected to a machine with adb running, and I restart one of the devices, the adb server process aborts with the following ADB_TRACE output on it's standard-out:
Note that the same scenario under the same conditions using version 34.0.5 does not crash! See DeviceFarmer/stf#845 for further info. |
Does the issue happen with 35.0.2? It has an option to use system libusb or the bundled one. Please try with it being enabled and disabled. |
I tested the android-tools 35.0.2 from the pending PR NixOS/nixpkgs#382382, and observed the same behavior. It seems that PR uses the bundled libusb. I don't think I can easily test with the system libusb, as if I understand correctly, android-tools uses libusb functionality not yet released in upstream libusb? In any event, something is off here... |
No description provided.