Bug 429880
Summary: | libtool package should contain Require: gcc = %{gcc_version] | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jochen Schmitt <jochen> |
Component: | libtool | Assignee: | Karsten Hopp <karsten> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | wtogami |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-01-29 10:39:05 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
Jochen Schmitt
2008-01-23 16:25:45 UTC
fixed in libtool-1.5.24-4.fc9 That libtool build is broken, my kdebase3 build failed with: Error: Missing Dependency: gcc = %{gcc_version} is needed by package libtool sorry about that, a new package is already available in koji ...at least it would be if the builders weren't 10 times slower then my laptop ;-( Still building... Sorry, that I have reopen this bug, but I have to make an improvement suggestion for the requested change. Vou have wrote %define gcc_version = 4.1.2 which hast the disadvantage that you have to chage the SPEC file if the version of the gcc compiler has changed. I will suggest, that you should wrote %define gcc_version = %(gcc -dumpversion) instead, so you have only make a rebuild if the gcc version may be chaned. Best Regards: Jochen Schmitt That's what I've tried first, but unfortunately this doesn't work in koji as gcc isn't installed when the requirements are checked. One option: %define gcc_version = %(gcc -dumpversion || echo "999") The bogus number will never reach a package. Or better yet, why can't libtool figure out the gcc version at runtime instead? nasty hack, but it seems to work in a scratch build, Thanks ! I've written a patch some time ago which did exactly that. I've dropped it again when one of the upstream maintainers didn't like it at all. He did offer some suggestions though, so I'll try again soon. |