| Summary: | xz-lzma-compat required to build curl but not listed as BuildRequires in spec file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robin Bowes <robin.bowes> |
| Component: | curl | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | kdudka, paul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-20 13:48:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Robin Bowes
2011-06-15 08:58:33 UTC
(In reply to comment #0) > curl requires lzma (from xz-lzma-compat) to build. I am rebuilding the F15 > version of curl on EL5 (CentOS 5.6). xz-lzma-compat is not included by default > on that platform so curl will not rebuild under mock (without hacking in an > additional build dep in the mock profile). > > xz-lzma-compat should be added as a BuildRequires in the spec file, eg: > > BuildRequires: xz-lzma-compat > > This is curl-7.21.3-6.fc15.src.rpm Actually tweaking the mock profile might be a better option. You only need xz because the upstream tarball used in the F15 build is xz-compressed, which can be handled natively by rpm in F15. If upstream's bzip-compressed tarball was used then there wouldn't be a need for xz at all. So it's more of a distribution issue than a curl-specific one and if you're planning to backport various F15 packages to EL5 then you're likely to hit this issue in lots of places. Hey Paul, I'd forgotten that just using the F15 RPMs doesn't work (because of the need for libcurl.so.3), which is why I ended up using your packages before! And I'm going back to using them again. For this issue, I worked around by adding this to epel-5-i386.cfg: config_opts['more_buildreqs']['curl-7.21.3-6.el5'] = 'xz-lzma-compat' How do I add that for *all* packages? Just omit the package name? R. I'd probably use: config_opts['chroot_setup_cmd'] = 'install buildsys-build xz-lzma-compat' As far as I understand, there is nothing to fix in the curl package. |