Skip Menu |

This queue is for tickets about the Math-Int64 CPAN distribution.

Report information
The Basics
Id: 102642
Status: resolved
Priority: 0/
Queue: Math-Int64

People
Owner: Nobody in particular
Requestors: DDICK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.34
Fixed in: (no value)



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; }
Subject: Re: [rt.cpan.org #102642] Build failure on s390 for Fedora
Date: Mon, 9 Mar 2015 15:50:24 +0000 (UTC)
To: "bug-Math-Int64 [...] rt.cpan.org" <bug-Math-Int64 [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
> From: David Dick via RT <bug-Math-Int64@rt.cpan.org> >To: >Sent: Sunday, March 8, 2015 11:07 PM >Subject: [rt.cpan.org #102642] Build failure on s390 for Fedora > > >Sun Mar 08 18:07:07 2015: Request 102642 was acted upon. >Transaction: Ticket created by DDICK > Queue: Math-Int64 > Subject: Build failure on s390 for Fedora > Broken in: 0.34 > Severity: (no value) > Owner: Nobody > Requestors: DDICK@cpan.org > Status: new >Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102642 > > > >Jakub Čajka has noted that tests fail for s390. An example build is supplied http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=304185
I have released version 0.50 that should fix your problem: https://metacpan.org/release/SALVA/Math-Int64-0.50 Could you try it?
On Tue Mar 10 02:50:42 2015, sfandino@yahoo.com wrote: Show quoted text
> > I have released version 0.50 that should fix your problem: > > > https://metacpan.org/release/SALVA/Math-Int64-0.50 > > Could you try it?
built against 0.51 in the end. http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1751203 shows that 0.51 works fine on s390. Thanks for the quick turnaround.