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 1197767 - perl-Math-Int64 FTBFS on s390 due to failing test
Summary: perl-Math-Int64 FTBFS on s390 due to failing test
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Math-Int64
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Dick
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2015-03-02 14:59 UTC by Jakub Čajka
Modified: 2015-03-10 09:45 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-10 09:45:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Possible fix (446 bytes, patch)
2015-03-02 14:59 UTC, Jakub Čajka
no flags Details | Diff

Description Jakub Čajka 2015-03-02 14:59:09 UTC
Created attachment 997110 [details]
Possible fix

Build fails probably due to overflow in Math-Int64.t with:
.
.
.
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/as_int64.t ............ ok
t/die_on_overflow.t ..... ok
t/Math-Int64-Native.t ... ok
#   Failed test 'max int64 >> 63'
#   at t/Math-Int64.t line 183.
#          got: '0'
#     expected: '1'
#   Failed test 'max int64 >>= 63'
#   at t/Math-Int64.t line 187.
#          got: '0'
#     expected: '1'
# Looks like you failed 2 tests of 1139.
t/Math-Int64.t .......... 
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/1139 subtests 
t/Math-UInt64-Native.t .. ok
t/Math-UInt64.t ......... ok
t/MSC.t ................. ok
t/pods.t ................ skipped: Only the author needs to check that POD docs are right
t/pow.t ................. ok
t/storable.t ............ ok
Test Summary Report
-------------------
t/Math-Int64.t        (Wstat: 512 Tests: 1139 Failed: 2)
  Failed tests:  1138-1139
  Non-zero exit status: 2
Files=10, Tests=2511,  0 wallclock secs ( 0.14 usr  0.01 sys +  0.33 cusr  0.02 csys =  0.50 CPU)
Result: FAIL
.
.
.

Using int64 in ipow sub-routine seems to make test pass. In attachment is patch with this change. Could you please review this patch and forward it to upstream if correct.

Failed build:

http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=304185

Comment 1 David Dick 2015-03-10 09:45:34 UTC
Fixed by upstream (Salvador Fandiño García).

Sample build can be seen at http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1751203

committed to master.


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