Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 992707

Summary: perl-Panotools-Script: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: perl-Panotools-ScriptAssignee: Bruno Postle <bruno>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno, paul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-18 23:25:06 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:
Bug Depends On:    
Bug Blocks: 991858    

Description Dennis Gilmore 2013-08-05 05:56:06 UTC
Your package perl-Panotools-Script failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=5740772

Build logs:
root.log: http://kojipkgs.fedoraproject.org/work/tasks/772/5740772/root.log
build.log: http://kojipkgs.fedoraproject.org/work/tasks/772/5740772/build.log
state.log: http://kojipkgs.fedoraproject.org/work/tasks/772/5740772/state.log
NOTE: build logs are cleaned up after 1 week

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

Comment 1 Paul Howarth 2013-08-12 22:42:47 UTC
Apologies for the noise. I tried a scratch build, which worked:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5809851

So I tried a real build, and it failed:
http://koji.fedoraproject.org/koji/taskinfo?taskID=5809877

Failing code looks quite simple, but I just can't see what's wrong. Time for more coffee perhaps.

Comment 2 Bruno Postle 2013-08-16 18:30:43 UTC
(In reply to Paul Howarth from comment #1)
> 
> Failing code looks quite simple, but I just can't see what's wrong. Time for
> more coffee perhaps.

This test has been failing randomly since perl 5.17.*

I *think* it is because there is a sub that declares $a and $b as local variables, but perl now treats them as globals, so it goes bad when the sub is called within sort().

There is an untested fix upstream: http://sourceforge.net/p/panotools/Panotools-Script/ci/f973ab7af9dd55a4f3f4d8cab7a957afc6ef5c01/

So this needs a new Panotools::Script release.

Comment 3 Bruno Postle 2013-08-18 23:25:06 UTC
Fixed with the new 0.28 release, actually have no idea what was wrong with the old code, could be a perl bug. 

http://koji.fedoraproject.org/koji/taskinfo?taskID=5827382