[Bug 1197767] New: perl-Math-Int64 FTBFS on s390 due to failing test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1197767

            Bug ID: 1197767
           Summary: perl-Math-Int64 FTBFS on s390 due to failing test
           Product: Fedora
           Version: rawhide
         Component: perl-Math-Int64
          Assignee: ddick@xxxxxxxx
          Reporter: jcajka@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: ddick@xxxxxxxx, perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
            Blocks: 467765 (ZedoraTracker)



Created attachment 997110
  --> https://bugzilla.redhat.com/attachment.cgi?id=997110&action=edit
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


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=467765
[Bug 467765] Fedora for System z (s390): Bug Tracker
-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=BPeE66ROi4&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux