Bug 1043149 - /usr/lib/rpm/macros.perl: __find_provides macro point to non existing file
Summary: /usr/lib/rpm/macros.perl: __find_provides macro point to non existing file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 19
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-14 10:29 UTC by Olivier LAHAYE
Modified: 2014-04-09 01:00 UTC (History)
9 users (show)

Fixed In Version: rpm-4.11.2-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-16 08:52:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Olivier LAHAYE 2013-12-14 10:29:17 UTC
Description of problem:
/usr/lib/rpm/macros.perl: __find_provides macro point to non existing file

Version-Release number of selected component (if applicable):
tested on fc-17 to fc-19 at least

How reproducible:
100%

Steps to Reproduce:

$grep __find_provides /usr/lib/rpm/macros.perl

$ rpm --eval '%{_rpmconfigdir}/find-perl-provides'
/usr/lib/rpm/find-perl-provides

$ LC_ALL=C ls /usr/lib/rpm/find-perl-provides
ls: cannot access /usr/lib/rpm/find-perl-provides: No such file or directory
Actual results:


Expected results:
Point to the adequate helper script

Additional info:

Comment 1 Petr Pisar 2013-12-16 07:28:35 UTC
The file has nothing in common with perl-rpm-build-perl package:

$ rpm -qf /usr/lib/rpm/macros.perl --qf '%{SOURCERPM}\n'
rpm-4.11.1-3.fc19.src.rpm

Reassigning to proper component.

Comment 2 Panu Matilainen 2013-12-16 08:52:28 UTC
Right... /usr/lib/rpm/macros.{perl,php,python} are mostly nothing but ancient cruft, for all practical purposes they've been untouched since their addition to upstream sources circa 10 years ago.

The __find_* macros for perl have always pointed to non-existent files and redefining them this way wouldn't have been a very sane thing to do even back then, these days even less so. OTOH those macros dont actually affect anything unless the deprecated external dependency generator is used.

Fixed upstream by removing the offending __find_* definitions -> CLOSED UPSTREAM as this doesn't seem worth specifically fixing in Fedora.

Comment 3 Fedora Update System 2014-02-13 09:02:37 UTC
rpm-4.11.2-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/rpm-4.11.2-1.fc20

Comment 4 Fedora Update System 2014-02-13 09:44:26 UTC
rpm-4.11.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/rpm-4.11.2-1.fc19

Comment 5 Fedora Update System 2014-02-16 23:22:25 UTC
rpm-4.11.2-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2014-04-09 01:00:56 UTC
rpm-4.11.2-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.