| Summary: | scl.attr screws up %__pkconfig_{provides,path} macros when building for non-SCL | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nils Philippsen <nphilipp> | |
| Component: | scl-utils | Assignee: | Jan Zeleny <jzeleny> | |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 19 | CC: | atu, bkabrda, i, jzeleny, pmatilai, vondruch | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | scl-utils-20140127-1.fc20 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1023628 (view as bug list) | Environment: | ||
| Last Closed: | 2014-03-01 14:06:03 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1023628, 1031051, 1031072 | |||
(In reply to Nils Philippsen from comment #0) > Additional info: > SCL should probably just use its own macros for this instead of attempting > to overwrite existing ones. I think it is just copy/paste error. Actually RPM documentation [1] speaks clearly at this point: "NAME needs to be replaced by the name choosen for the file attribute and needs to be the same as the file name of the macro file itself (without the .attr suffix)". RPM is to blame here as well, since it should be reported at least IMO. [1] http://rpm.org/wiki/PackagerDocs/DependencyGenerator Actually, I'd like to know what Panu thinks about it, if RPM can be improved in some meaningful way. Yes rpm should enforce the documented rule, it just currently does not (because of whats basically an internal technical limitation) (In reply to Panu Matilainen from comment #3) Would you like me to clone this bug or create new one for RPM as well? Or is it already reported somewhere? scl-utils-20140108-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/scl-utils-20140108-1.fc19 scl-utils-20140108-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/scl-utils-20140108-1.fc20 Package scl-utils-20140108-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing scl-utils-20140108-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0600/scl-utils-20140108-1.fc19 then log in and leave karma (feedback). scl-utils-20140127-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/scl-utils-20140127-1.fc19 scl-utils-20140127-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/scl-utils-20140127-1.fc20 scl-utils-20140127-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. scl-utils-20140127-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: If scl-utils-build is installed, -devel packages which contain *.pc files don't get dependencies on /usr/bin/pkg-config. The definitions of %__pkgconfig_provides/%__pkgconfig_path are wrong which makes RPM not recognize that the corresponding requires/provides script needs to be run Version-Release number of selected component (if applicable): scl-utils-build-20130529-2.fc19.x86_64 How reproducible: Reproducible Steps to Reproduce: 1. With and without scl-utils-build installed, run "rpm --eval %__pkgconfig_provides" 2. Check for differences Actual results: nils@gibraltar:~> rpm --eval %__pkgconfig_provides /usr/lib/rpm/scldeps.sh --provides %{scl} nils@gibraltar:~> rpm --eval %__pkgconfig_path Expected results: nils@gibraltar:~> rpm --eval %__pkgconfig_provides /usr/lib/rpm/pkgconfigdeps.sh --provides nils@gibraltar:~> rpm --eval %__pkgconfig_path ^((/usr/lib64|/usr/share)/pkgconfig/.*.pc|/usr/bin/pkg-config)$ Additional info: SCL should probably just use its own macros for this instead of attempting to overwrite existing ones.