Description of problem: I can't get my phone (SM-G975F a.k.a Samsung Galaxy S10 Plus) recognized by fastboot-android devices in Download mode and I suspect that since it runs Android Q I also need a corresponding fastboot binary for the phone to be identified correctly. I did try to rebuild the src.rpm from Cauldron, but it failed with the error: rm: cannot remove 'core': Is a directory Version-Release number of selected component (if applicable): 10.0.0_r2 How reproducible: All the time. Steps to Reproduce: 1. Go to a mageia mirror. 2. Download android-tools-10.0.0_r2-1.mga8.src.rpm 3. Open a terminal. 4. cd to where the src rpm is downloaded. 5. Run rpmbuild --rebuild android-tools-10.0.0_r2-1.mga8.src.rpm. 6. The rebuild fails.
Created attachment 11506 [details] Here's the full rebuild log
CC: (none) => hamnisdude
CC: (none) => fri
Perhaps it is not as simple as you (Kristoffer) tried. Assigning to DavidG as registered maintainer; CC'ing Christiaan as principle recent committer of this pkg.
Assignee: bugsquad => geiger.david68210Source RPM: android-tools => android-tools-10.0.0_r2-1.mga8.src.rpmCC: (none) => cjwSeverity: normal => enhancementVersion: 7 => Cauldron
Created attachment 11646 [details] Trying to rebuild with latest android tag It still doesn't build even though I cloned the latest stable source archives. Here are the errors I get with rpmbuild -ba: I used the android-10.0.0_r36 branch.
Attachment 11506 is obsolete: 0 => 1
Summary: Backport android-tools-10.0.0_r2-1 to Mageia 7 => Build and backport android-tools-10.0.0_r36 to Mageia 7
Source RPM: android-tools-10.0.0_r2-1.mga8.src.rpm => (none)
Use %configure2_5x instead of %configure .
Created attachment 11647 [details] New output I changed the %configure line, but it still won't build.
Attachment 11646 is obsolete: 0 => 1
std::basic_string_view::starts_with() is a c++2a feature that is apparently not available in gcc 8.4.0's libstdc++. The function substr() can be used instead in the source code, see the definition of starts_with() in /usr/include/c++/10/string_view in cauldron.
(In reply to Christiaan Welvaart from comment #6) > std::basic_string_view::starts_with() is a c++2a feature that is apparently > not available in gcc 8.4.0's libstdc++. > > The function substr() can be used instead in the source code, see the > definition of starts_with() in /usr/include/c++/10/string_view in cauldron. I'm not a developer, just a packager. Could you write a patch for that?
Summary: Build and backport android-tools-10.0.0_r36 to Mageia 7 => Build and backport android-tools-10.0.0_r39 to Mageia 7
I made new source archives for core, extras, mdnsresponder and changed the spec file to build for android-10.0.0_r39, but it ends with: /bin/sh: ../depcomp: No such file or directory make: *** [Makefile:2159: core/adb/client/libadb_a-usb_libusb.o] Error 127
An update is always welcome...
Whiteboard: (none) => MGA7TOOSee Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=24139, https://bugs.mageia.org/show_bug.cgi?id=27414
Quick note: I noticed in journal on a mga7 machine where i have adb-tools installed: systemd-udevd[932]: Specified group 'adbusers' unknown So i think android-tools should create that user (or inform user to do that), and admin should select user(s) to become member(s) of that group?
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=26474
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=23715
Mageia 7 is EOL, so closing as OLD.
Resolution: (none) => OLDStatus: NEW => RESOLVED