android-tools failed to build from source in Fedora rawhide/f34 https://koji.fedoraproject.org/koji/taskinfo?taskID=60913735 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Please fix android-tools at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, android-tools will be orphaned. Before branching of Fedora 35, android-tools will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1753972 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1753973 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1753974 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
It seems that it does not build with clang-11 ?!
Initial f33 build succeeded https://koji.fedoraproject.org/koji/buildinfo?buildID=1548173 (Not sure which clang has been used there) But later builds that are using clang 11.0.0-2.fc33 fail. Not sure what has changed, looks like some "hidden" processing behaviour. I'am trying to prepare latest upstream version of android tools to be build on fedora but not sure if it will be finished in time. If you have any ideas how to fix current version issue, contributions are much appreciated.
(In reply to Ivan Afonichev from comment #6) > Initial f33 build succeeded > https://koji.fedoraproject.org/koji/buildinfo?buildID=1548173 > (Not sure which clang has been used there) > > But later builds that are using clang 11.0.0-2.fc33 fail. The working version seems to be clang 10.0.0-7.fc33 https://kojipkgs.fedoraproject.org//packages/android-tools/20180828gitc7815d675/8.fc33/data/logs/x86_64/root.log > Not sure what has changed, looks like some "hidden" processing behaviour. > I'am trying to prepare latest upstream version of android tools to be build > on fedora but not sure if it will be finished in time. > > If you have any ideas how to fix current version issue, contributions are > much appreciated. I stumbled across it myself. Next distros will use clang 11: 11.1.0-0.4.rc2.fc34 11.0.0-1.module_el8.4.0+587+5187cac0 11.0.0-2.fc33 clang's linker seems to have a problem https://download.copr.fedorainfracloud.org/results/ne0l/test-playground/fedora-rawhide-x86_64/01964362-android-tools/builder-live.log.gz https://download.copr.fedorainfracloud.org/results/ne0l/test-playground/centos-stream-x86_64/01964362-android-tools/builder-live.log.gz https://download.copr.fedorainfracloud.org/results/ne0l/test-playground/fedora-33-x86_64/01964362-android-tools/builder-live.log.gz
*** Bug 1958912 has been marked as a duplicate of this bug. ***
I have a situation in Fedora 34 where I cannot connect Oneplus 5. All details are over here: https://ask.fedoraproject.org/t/failed-to-use-adb-command-in-oneplus-5-through-fedora-34/14881/17 Someone mentioned that my situation might be related to this bug report. But, is it!? (I don't think so.)
I suppose this bug is why android-tools *regressed* from android-tools-30.0.5p1-1.fc33 in F33 to android-tools-20180828gitc7815d675-8.fc33 in F34! Is anything being done to rectify this? It really sucks having to back to an older adb that does not support wireless USB debugging.
Isn't the issue blocking all of this fixed in https://github.com/nmeum/android-tools/commit/df7bb55525aa93831874b2be8d7b21a5101d1466?
Hello? Could somebody that knows, please respond to comment #11? If that is indeed the upstream fix, can we have a new build of android-tools?
Yes it is fixed in https://github.com/nmeum/android-tools/commit/df7bb55525aa93831874b2be8d7b21a5101d1466? but that change is not yet released. Latest release is 31.0.0p1 @nmeum released this on 14 Apr
Created attachment 1801894 [details] Patch for https://src.fedoraproject.org/rpms/android-tools/tree/f34 Indeed. But those patches do successfully apply to 31.0.0p1 and are committed upstream, so why can a new release of this package, based on 31.0.0p1 with the upstream patches applied not be made? It builds and works. Please see the attached patch as it applies to https://src.fedoraproject.org/rpms/android-tools/tree/f34. I tried to create a PR there but it seems that "regular joe"s cannot create PRs there.
Upstream has released 31.0.2 [1] with a fix for this bug (see upstream #16 [2]). Can you please update android-tools to the latest upstream version? [1] https://github.com/nmeum/android-tools/releases [2] https://github.com/nmeum/android-tools/issues/16
FEDORA-2021-3a6e9d852b has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3a6e9d852b
FEDORA-2021-3a6e9d852b has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3a6e9d852b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3a6e9d852b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-3a6e9d852b has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.