Bug 648321

Summary: amanda rpm should not provide the perl(Math::BigInt) capability
Product: [Fedora] Fedora Reporter: Andrew J. Schorr <aschorr>
Component: amandaAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 17CC: jgorig, paul, ppisar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: amanda-3.3.2-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 858172 (view as bug list) Environment:
Last Closed: 2012-09-25 06:23:31 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 Andrew J. Schorr 2010-11-01 02:07:10 UTC
Description of problem: The amanda rpm should not provide the perl(Math::BigInt) capability.  


Version-Release number of selected component (if applicable): 0:2.6.1p2-4.fc13


How reproducible: Use repoquery to see the problem.


Steps to Reproduce:
1. repoquery --whatprovides 'perl(Math::BigInt)'
2.
3.
  
Actual results:
-bash-4.1# repoquery --whatprovides 'perl(Math::BigInt)'
perl-4:5.10.1-120.fc13.x86_64
amanda-0:2.6.1p2-4.fc13.i686
amanda-0:2.6.1p2-3.fc13.x86_64
perl-4:5.10.1-112.fc13.i686
perl-4:5.10.1-112.fc13.x86_64
amanda-0:2.6.1p2-3.fc13.i686
amanda-0:2.6.1p2-4.fc13.x86_64



Expected results: Should be provided by the perl rpm and not by amanda.


Additional info:

Comment 1 Jan Görig 2010-11-04 17:36:17 UTC
Thank you for your bug report. I have fixed this bug in amanda-3.2.0-1.fc15. If you want to have this bug fixed in earlier version of Fedora, please reopen this bug. Closing Rawhide.

Comment 2 Paul Howarth 2012-03-27 14:34:20 UTC
RPM provides/excludes mechanisms changed in rpm 4.9, introduced in Fedora 15, with the result that in Fedora 15 onwards, this bug has re-appeared.

Adding the following line alongside the existing filter should fix this without breaking compatibility with older distributions:

%global __provides_exclude ^perl\\(Math::BigInt\\)

Comment 3 Fedora End Of Life 2012-08-07 20:13:46 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Paul Howarth 2012-08-08 07:24:41 UTC
Still broken in F-17.

Comment 5 Petr Pisar 2012-09-18 09:03:56 UTC
F19, F18 broken too.

Comment 6 Petr Pisar 2012-09-18 11:11:44 UTC
After applying this change to fix the Math::BigInt:

-%global __perl_provides /bin/sh -c "/usr/lib/rpm/perl.prov | grep -v \\\"perl(Math::BigInt)\\\""
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Math::BigInt\\)

I get following following unresolved requires:

perl(Amanda::BigIntCompat)
perl(Amanda::ClientService)
perl(Amanda::Config)
perl(Amanda::Constants)
perl(Amanda::Debug)
perl(Amanda::Feature)
perl(Amanda::Header)
perl(Amanda::IPC::LineProtocol)
perl(Amanda::MainLoop)
perl(Amanda::NDMP)
perl(Amanda::Paths)
perl(Amanda::Process)
perl(Amanda::Script)
perl(Amanda::Script_App)
perl(Amanda::Util)
perl(Amanda::Xfer)

Actually this is problem in current unpatched 3.3.2-2 too.

This package needs more love.

Comment 7 Petr Pisar 2012-09-18 11:20:50 UTC
Sorry, I used bad glob. It's Ok.

Comment 8 Fedora Update System 2012-09-18 11:47:31 UTC
amanda-3.3.2-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/amanda-3.3.2-2.fc18

Comment 9 Fedora Update System 2012-09-18 11:48:06 UTC
amanda-3.3.0-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/amanda-3.3.0-4.fc16

Comment 10 Fedora Update System 2012-09-18 14:11:50 UTC
amanda-3.3.0-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/amanda-3.3.0-6.fc17

Comment 11 Fedora Update System 2012-09-18 19:20:57 UTC
Package amanda-3.3.2-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing amanda-3.3.2-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-14269/amanda-3.3.2-2.fc18
then log in and leave karma (feedback).

Comment 12 Fedora Update System 2012-09-25 06:23:31 UTC
amanda-3.3.2-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Fedora Update System 2012-09-27 04:22:40 UTC
amanda-3.3.0-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2012-09-27 04:23:46 UTC
amanda-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.