Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1261031
Summary: | createrepo_c cannot generate DeltaRPMs even when compiled with drpm | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Neal Gompa <ngompa13> |
Component: | createrepo_c | Assignee: | Tomas Mlcoch <tmlcoch> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | jzeleny, tmlcoch |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | createrepo_c-0.9.1-1.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-01 21:50:19 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Neal Gompa
2015-09-08 12:58:17 UTC
I've determined the root cause of this problem: DeltaRPM support isn't being properly compiled in. Firstly, the flag CR_DELTA_RPM_SUPPORT wasn't being passed through as a compile-time definition, so the code blocks encapsulated by the definition were being skipped. I corrected this locally and submitted a pull request on GitHub for it: https://github.com/rpm-software-management/createrepo_c/pull/37 Secondly, the BuildRequire for DeltaRPM support in createrepo_c is set to drpm, rather than drpm-devel. Meaning that when the DeltaRPM support is properly enabled, it fails to build properly because it is missing the development headers and such required for incorporating DeltaRPM support. A simple adjustment to change the BuildRequire from "drpm" to "drpm-devel" will correct this. With these two fixes, I was able to activate and use the DeltaRPM functionality in createrepo_c successfully. Fixed in upstream: https://github.com/rpm-software-management/createrepo_c/commit/3c97a65e210a8505adb9d95df1b1a78fa38812b1 createrepo_c-0.9.1-1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-735f979d01 createrepo_c-0.9.1-1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update createrepo_c' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-735f979d01 createrepo_c-0.9.1-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |