Bug 23852

Summary: Rebuilding android-tools from Cauldron src.rpm ends up with "undefined reference to `RSA_get0_key'"
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, lovaren
Version: 6   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: android-tools CVE:
Status comment:
Attachments: Rebuild error

Description Kristoffer Grundström 2018-11-16 23:39:42 CET
Description of problem: I downloaded the src.rpm for android-tools from Cauldron and installed all the build dependencies and then ran rpmbuild --rebuild android-tools-8.0.0_r4-3.mga7.src.rpm and got this error:

libcrypto_utils/android_pubkey.c.o: In function `android_pubkey_encode':
/home/kristoffer/rpmbuild/BUILD/android-tools-8.0.0_r4/core/libcrypto_utils/android_pubkey.c:137: undefined reference to `RSA_get0_key'
collect2: error: ld returned 1 exit status

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

How reproducible: All the time.

Steps to Reproduce:
1. Login to any desktop environment (I used MATE).
2. Download the src.rpm for android-tools from any mirror3.
3. Install the dependencies from the spec file in that src.rpm.
4. Rebuild the src.rpm with rpmbuild --rebuild android-tools-8.0.0_r4-3.mga7.src.rpm.
5. See the error in the attached file.
Comment 1 Kristoffer Grundström 2018-11-16 23:53:47 CET
Created attachment 10473 [details]
Rebuild error

CC: (none) => hamnisdude

Comment 2 David GEIGER 2018-11-17 04:59:32 CET
Please do not open new bug if it is similar!

*** This bug has been marked as a duplicate of bug 23672 ***

Status: NEW => RESOLVED
CC: (none) => geiger.david68210
Resolution: (none) => DUPLICATE