Bug 16821

Summary: libsolv not built with "-DENABLE_RPMMD=1", which is needed for hawkey to build
Product: Mageia Reporter: Neal Gompa <ngompa13>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libsolv-0.6.12-0.20150916.1.mga6.src.rpm CVE:
Status comment:

Description Neal Gompa 2015-09-24 14:52:29 CEST
Description of problem:
As part of my work on DNF per the Mageia feature[0] (which, while it is currently in the proposed stage, I have no reason that I couldn't at least start working on getting things built), I have found that I cannot build hawkey against the included libsolv simply because the necessary header and linking data doesn't exist due to not having "-DENABLE_RPMMD=1" passed in at build for the package.

[0]: https://wiki.mageia.org/en/Feature:Add_DNF_as_Alternate_Repository_Manager

Version-Release number of selected component (if applicable):
libsolv-0.6.12-0.20150916.1.mga6

How reproducible:
Always

Steps to Reproduce:
1. Try building hawkey
2. Watch it fail due to missing headers and link data

Suggested solution:
Simply add "-DENABLE_RPMMD=1" to the build flags passed in at %cmake in the %build step, and it works fine. It doesn't affect anything and simply adds missing functionality that hawkey requires.

Reproducible: 

Steps to Reproduce:
Neal Gompa 2015-09-24 15:18:29 CEST

Hardware: x86_64 => All

Barry Jackson 2015-09-25 14:09:13 CEST

CC: (none) => thierry.vignaud, zen25000

Barry Jackson 2015-09-25 15:41:08 CEST

CC: zen25000 => (none)

Comment 1 Thierry Vignaud 2015-09-26 08:38:09 CEST
Fixed

Status: NEW => RESOLVED
Resolution: (none) => FIXED