Bug 1149397

Summary: polymake: broken perl dep in -testing
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: polymakeAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jplesnik, loganjerry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-5.18.4-290.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 04:34:37 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:
Embargoed:

Description Rex Dieter 2014-10-04 12:10:30 UTC
FYI,
https://admin.fedoraproject.org/updates/FEDORA-2014-12178/perl-5.18.4-290.fc20

Introduces a broken polymake dependency,

Error: Package: polymake-2.12-15.svn20140326.fc20.x86_64 (installed)
           Requires: perl = 4:5.18.2

Packaging guidelines typically recommends just:
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
, see:
https://fedoraproject.org/wiki/Packaging:Perl#Versioned_MODULE_COMPAT_Requires

so, I'm not sure why polymake also has
Requires:       perl = 4:%{perl_version}

perhaps if this is really needed, please document that reason in polymake.spec somewhere, so it's clearer to outside observers.  Otherwise, a simpler fix may be to simply remove that overly strict dependency.

Comment 1 Jerry James 2014-10-04 22:43:45 UTC
See bug 963486 and look for "alien" on http://polymake.org/doku.php/old_faq.  Polymake has a few bits that depend on the exact perl version, so I added that dependency to require a rebuild for even minor perl version upgrades.  If someone who understands perl internals can help me figure out a better solution, or if a better solution is even possible, I would be greatful.

My time is extremely constrained this weekend.  We need a buildroot override for perl and a rebuild of polymake to fix this, but I probably won't be able to get to it until Monday.  Anyone who wishes to take care of this before Monday is welcome to do so.

Comment 2 Jitka Plesnikova 2014-10-05 17:57:37 UTC
New perl also affects polymake at Fedora 21. 
I'll create buildroot override and try to rebuild polymake.

Comment 3 Fedora Update System 2014-10-06 04:10:15 UTC
polymake-2.13-8.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/polymake-2.13-8.fc21

Comment 4 Fedora Update System 2014-10-06 04:10:39 UTC
polymake-2.12-16.svn20140326.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/polymake-2.12-16.svn20140326.fc20

Comment 5 Fedora Update System 2014-10-06 10:45:56 UTC
polymake-2.12-17.svn20140326.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/polymake-2.12-17.svn20140326.fc20

Comment 6 Fedora Update System 2014-10-06 10:46:40 UTC
polymake-2.13-9.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/polymake-2.13-9.fc21

Comment 7 Jerry James 2014-10-06 20:45:05 UTC
Jitka, thank you very much for handling this.  If you see any way in which I can improve the situation, I am all ears.

Comment 8 Fedora Update System 2014-10-08 19:02:41 UTC
Package polymake-2.13-9.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing polymake-2.13-9.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12352/polymake-2.13-9.fc21
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2014-10-14 04:34:37 UTC
polymake-2.13-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2014-10-14 12:33:32 UTC
perl-5.18.4-290.fc20, polymake-2.12-17.svn20140326.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/FEDORA-2014-12178/polymake-2.12-17.svn20140326.fc20,perl-5.18.4-290.fc20

Comment 11 Fedora Update System 2014-10-17 08:38:51 UTC
perl-5.18.4-290.fc20, polymake-2.12-17.svn20140326.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.