Subject: | Build failure on s390 for Fedora |
Jakub Čajka has noted that tests fail for s390. An example build is supplied http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=304185
He prepared a patch that allows the test to pass and asked me to review/pass it on.
Patch is attached.
Original bugzilla reference at https://bugzilla.redhat.com/show_bug.cgi?id=1197767
Subject: | test-fix.patch |
diff -up Math-Int64-0.34/t/Math-Int64.t.ovf Math-Int64-0.34/t/Math-Int64.t
--- Math-Int64-0.34/t/Math-Int64.t.ovf 2015-03-02 09:23:09.854993986 +0100
+++ Math-Int64-0.34/t/Math-Int64.t 2015-03-02 09:23:28.553062420 +0100
@@ -156,7 +156,7 @@ for ( int64('1271310319617'),
# pow (**) precision sometimes is not good enough!
sub ipow {
my ($base, $exp) = @_;
- my $r = 1;
+ my $r = int64(1);
$r *= $base for (1..$exp);
$r;
}