Bug 436649 - Perl-Math-GMP fails selftests on ia64
Summary: Perl-Math-GMP fails selftests on ia64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Math-GMP
Version: rawhide
Hardware: ia64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fedora ia64 team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-ia64
TreeView+ depends on / blocked
 
Reported: 2008-03-08 20:04 UTC by Doug Chapman
Modified: 2008-03-25 14:48 UTC (History)
3 users (show)

Fixed In Version: 2.04-9.fc9
Clone Of:
Environment:
Last Closed: 2008-03-25 14:48:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Doug Chapman 2008-03-08 20:04:18 UTC
Description of problem:
The tests run when building Perl-Math-GMP fails on ia64 with:


+ /usr/bin/make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/gmppm....# Test 278 got: "9999999999" (t/gmppm.t at line 118 fail #278)
#     Expected: "1410065407"
#  t/gmppm.t line 118 is:   print "# Tried '$try'\n" if !ok("$ans1",$ans); #
need "$ans1" due to bug
# Test 279 got: "99999999999" (t/gmppm.t at line 118 fail #279)
#     Expected: "1215752191"
# Test 280 got: "999999999999" (t/gmppm.t at line 118 fail #280)
#     Expected: "3567587327"
# Test 285 got: "9999999999" (t/gmppm.t at line 118 fail #285)
#     Expected: "1410065407"
FAILED tests 278-280, 285
	Failed 4/350 tests, 98.86% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/gmppm.t                350    4   1.14%  278-280 285
Failed 1/1 test scripts, 0.00% okay. 4/350 subtests failed, 98.86% okay.
make: *** [test_dynamic] Error 255
error: Bad exit status from /var/tmp/rpm-tmp.86075 (%check)


Full build log:
http://ia64.koji.fedoraproject.org/koji/getfile?taskID=27305&name=build.log


Version-Release number of selected component (if applicable):
perl-Math-GMP-2.04-8.fc9


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Zhan, Yi 2008-03-21 08:52:39 UTC
The perl-Math-GMP-2.04-x86_64.patch, which is used to fix broken testsuite on
64-bit arches, should be applied on ia64 as well.  

So please change
    %ifarch x86_64 ppc64
    %patch0 -p0
    %endif
to
    %ifarch x86_64 ppc64 ia64
    %patch0 -p0
    %endif

Thanks, 
Yi


Comment 2 Paul Howarth 2008-03-25 14:48:51 UTC
Patch applied in perl-Math-GMP-2.04-9.fc9 and a scratch build now succeeds:

http://ia64.koji.fedoraproject.org/koji/taskinfo?taskID=39001



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