Bug 23672

Summary: Rebuilding the android-tools package from Cauldron ends up with an error about iurt missing as a user/group
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: Normal CC: cjw, lovaren, marja11
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: android-tools CVE:
Status comment:
Attachments: Error output
Non-working patch to update android-tools to 9.0.0_r12 in Cauldron

Description Kristoffer Grundström 2018-10-12 14:44:10 CEST
Description of problem: The source rpm for android-tools in Cauldron does _NOT_ produce a rpm package for Mageia 6.1 locally with the rpmbuild --rebuild command. I get many rows at the bottom saying group iurt does not exist - using root and user iurt does not exist - using root and then Bad end status from /var/tmp/rpm-tmp.fQY0Ck (%build).

Version-Release number of selected component (if applicable): 8.0.0

How reproducible: Everytime.

Steps to Reproduce:
1. Download the src.rpm.
2. cd to the location of it.
3. Type rpmbuild --rebuild android-tools (press Tab here for completion) and press Enter.
4. The end result will be a failed rebuild with no package created.
Comment 1 Kristoffer Grundström 2018-10-12 14:51:13 CEST
Created attachment 10400 [details]
Error output

CC: (none) => hamnisdude

Comment 2 Kristoffer Grundström 2018-10-12 15:03:05 CEST
Could we also at the same time update to 9.0.0_r10?
Comment 3 Marja Van Waes 2018-10-13 08:54:23 CEST
Assigning to the registered maintainer.

Assignee: bugsquad => geiger.david68210
CC: (none) => marja11

Comment 4 David GEIGER 2018-11-17 04:59:32 CET
*** Bug 23852 has been marked as a duplicate of this bug. ***
Comment 5 Rémi Verschelde 2018-11-20 14:42:46 CET
We don't support rebuilding cauldron packages on Mageia 6 out of the box, there are many packages involved which may mean that android-tools simply can't build on Mageia 6.

Is there an issue in Cauldron itself? Otherwise this is not a bug.
Comment 6 Rémi Verschelde 2018-11-20 14:44:37 CET
Created attachment 10487 [details]
Non-working patch to update android-tools to 9.0.0_r12 in Cauldron

For the reference/for David, I had a look at updating to 9.0.0_r12 in Cauldron as adb produced wrong results with my phone on Cauldron (while adb from the upstream Android SDK works).

I spent an hour or so on it but didn't manage to get things to build, I'm not familiar enough with the ruby based custom buildsystem.
Comment 7 Kristoffer Grundström 2018-11-20 15:21:08 CET
(In reply to Rémi Verschelde from comment #6)
> Created attachment 10487 [details]
> Non-working patch to update android-tools to 9.0.0_r12 in Cauldron
> 
> For the reference/for David, I had a look at updating to 9.0.0_r12 in
> Cauldron as adb produced wrong results with my phone on Cauldron (while adb
> from the upstream Android SDK works).
> 
> I spent an hour or so on it but didn't manage to get things to build, I'm
> not familiar enough with the ruby based custom buildsystem.

9.0.0_r16 is the latest stable version to build.
I opened a report to build it here:

https://bugs.mageia.org/show_bug.cgi?id=23853

Don't forget to include the skales archive which I included in the spec file.
The spec file originally comes from OpenMandriva Cooker.

Here's the package they have for 8.1.0 which I adapted to 9.0.0_r16:

https://openmandriva.pkgs.org/cooker/openmandriva-main-release-x86_64/android-tools-8.1.0_r46-1-omv4000.x86_64.rpm.html
Comment 8 Christiaan Welvaart 2019-09-03 09:29:57 CEST
I'm pretty sure we're not going to update android-tools in mga6 at this time, closing as WONTFIX.

Version: Cauldron => 6
CC: (none) => cjw
Status: NEW => RESOLVED
Resolution: (none) => WONTFIX