Bug 426009
| Summary: | yum feature request for installing build dependencies | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Praveen A <pravi.a> |
| Component: | yum | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | david.brown, ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.1.25-1.fc12 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-12-17 19:10:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Praveen A
2007-12-17 19:04:27 UTC
yum install yum-utils yum-builddep pkg1 pkg2 pkg3 so I'm going to say that there's something missing here.
So using apt you can install the build dependencies for any package on the system.
For example, one could do an apt-get build-dep libgcc and it will look up the source package for libgcc and pull the build dependencies for that source package.
Currently on fedora12 this is what happens.
# yum-builddep libgcc
Enabling fedora-source repository
Enabling updates-source repository
No such package(s): libgcc.src
#
So currently what I'd have to do is lookup the src.rpm as follows:
yum-builddep `rpm -q --qf '%{SOURCERPM}' libgcc | awk '#MORE AWK SCRIPTING'`
This could be a lot cleaner and yum-builddep could be doing this for us.
Looks like yum-builddep could work a little smarter in the case where a package is build from a srpm with another name (libgcc != gcc). I have made some changes to yum-builddep upstream to work around this issue. http://yum.baseurl.org/gitweb?p=yum-utils.git;a=commitdiff;h=1bec4743be0d98c711ff5d5a4bb925b391a2b4be yum-utils-1.1.25-1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/yum-utils-1.1.25-1.fc12 yum-utils-1.1.25-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. I'm unsure how complicated it would be to back port this to RHEL5. I'm thinking yum may need an update in RHEL5 to make this work there. What are the chances this will get back ported to RHEL? Take it up with your TAM or file an RFE for rhel5. But It will never get noticed on this bug. To expand ... there's a roughly 0% chance of this getting fixed in RHEL-5 at this point without a RHEL specific bug that is tied to customer. |