Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 5326
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: AJConley [...] lbl.gov
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 804.025_beta9
Fixed in: 800.024



Subject: Tk 804.025 beta14 install fails on RedHat Enterprise 3 WS
The installation of Tk fails with the following message: Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/browseentry.t 0 139 15 0 0.00% ?? t/listbox.t 437 21 4.81% 365-366 375-380 391-392 394-398 400-402 406 426-427 (3 subtests UNEXPECTEDLY SUCCEEDED), 29 subtests skipped. Failed 2/46 test scripts, 95.65% okay. 21/2618 subtests failed, 99.20% okay. make: *** [test_dynamic] Error 29 error: Bad exit status from /var/tmp/rpm-tmp.55463 (%build) perl -v : 5.80 tk : tk-8.3.5-92 Fortunately, 800.024 builds correctly. More details: t/listbox....................ok 364/437# Test 365 got: '1' (t/listbox.t at line 1500) t/listbox....................NOK 365# Expected: '3' # t/listbox.t line 1500 is: ok($lb->index(q/@5,57/), 3); t/listbox....................NOK 366# Test 366 got: '1' (t/listbox.t at line 1501) # Expected: '3' # t/listbox.t line 1501 is: ok($lb->index(q/@5,58/), 3); t/listbox....................ok 374/437# Test 375 got: '9' (t/listbox.t at line 1531) t/listbox....................NOK 375# Expected: '5' # t/listbox.t line 1531 is: ok($lb->index(q/@0,0/), 5); # Test 376 got: '0.2 0.3' (t/listbox.t at line 1540) t/listbox....................NOK 376# Expected: '0.2 0.7' # t/listbox.t line 1540 is: ok_float("@{ $lb->yview }", "0.2 0.7"); t/listbox....................NOK 377# Test 377 got: 'y 0.2 0.3' (t/listbox.t at line 1541) # Expected: 'y 0.2 0.7' # t/listbox.t line 1541 is: ok_float($log0, "y 0.2 0.7"); # Test 378 got: '0.8 0.9' (t/listbox.t at line 1550) t/listbox....................NOK 378# Expected: '0.5 1' # t/listbox.t line 1550 is: ok_float("@{ $lb->yview }", "0.5 1"); t/listbox....................NOK 379# Test 379 got: 'y 0.8 0.9' (t/listbox.t at line 1551) # Expected: 'y 0.5 1' # t/listbox.t line 1551 is: ok_float($log0, "y 0.5 1"); # Test 380 got: '0.3 0.4' (t/listbox.t at line 1561) t/listbox....................NOK 380# Expected: '0.3 0.8' # t/listbox.t line 1561 is: ok_float("@{ $lb->yview }", "0.3 0.8"); t/listbox....................ok 390/437Use of uninitialized value in subtraction (-) at t/listbox.t line 1603. Use of uninitialized value in subtraction (-) at t/listbox.t line 1604. # Test 391 got: '0 0.2' (t/listbox.t at line 1611) # Expected: '0.2 0.4' # t/listbox.t line 1611 is: ok_float("@{ $lb->xview }", "0.2 0.4"); # Test 392 got: '0 0.05' (t/listbox.t at line 1612) # Expected: '0.5 0.75' # t/listbox.t line 1612 is: ok_float("@{ $lb->yview }", "0.5 0.75"); t/listbox....................NOK 391# Test 394 got: '0 0.05' (t/listbox.t at line 1620) # Expected: '0 0.25' # t/listbox.t line 1620 is: ok_float("@{ $lb->yview }", "0 0.25"); t/listbox....................NOK 394# Test 395 got: '0 0.2' (t/listbox.t at line 1624) t/listbox....................NOK 395# Expected: '0.2 0.4' # t/listbox.t line 1624 is: ok_float("@{ $lb->xview }", "0.2 0.4"); t/listbox....................NOK 396# Test 396 got: '0,0.2' (t/listbox.t at line 1625) # Expected: '0.2,0.4' # t/listbox.t line 1625 is: ok_float(join(',',$lb->xview), "0.2,0.4"); # just to prove it is a list t/listbox....................NOK 397# Test 397 got: '0 0.05' (t/listbox.t at line 1626) # Expected: '0.5 0.75' # t/listbox.t line 1626 is: ok_float("@{ $lb->yview }", "0.5 0.75"); t/listbox....................NOK 398# Test 398 got: '0,0.05' (t/listbox.t at line 1627) # Expected: '0.5,0.75' # t/listbox.t line 1627 is: ok_float(join(',',$lb->yview), "0.5,0.75"); # just to prove it is a list t/listbox....................ok 399/437# Test 400 got: '0.95 1' (t/listbox.t at line 1635) t/listbox....................NOK 400# Expected: '0.75 1' # t/listbox.t line 1635 is: ok_float("@{ $lb->yview }", "0.75 1"); # Test 401 got: '0.8 1' (t/listbox.t at line 1638) t/listbox....................NOK 401# Expected: '0.64 0.84' # t/listbox.t line 1638 is: ok_float("@{ $lb->xview }", "0.64 0.84"); t/listbox....................NOK 402# Test 402 got: '0.95 1' (t/listbox.t at line 1639) # Expected: '0.25 0.5' # t/listbox.t line 1639 is: ok_float("@{ $lb->yview }", "0.25 0.5"); t/listbox....................NOK 406# Test 406 got: '5' (t/listbox.t at line 1656) # Expected: '6' # t/listbox.t line 1656 is: skip($skip_fixed_font_test, $lb->index(q/@50,36/), 6); t/listbox....................ok 425/437# Test 426 got: 'y 0 0.333333333333333' (t/listbox.t at line 1780) t/listbox....................NOK 426# Expected: 'y 0 1' # t/listbox.t line 1780 is: ok($log0, "y 0 1"); t/listbox....................NOK 427# Test 427 got: 'y 0 0.125' (t/listbox.t at line 1781) # Expected: 'y 0 0.625' # t/listbox.t line 1781 is: ok_float($log1, "y 0 0.625"); t/listbox....................FAILED tests 365-366, 375-380, 391-392, 394-398, 400-402, 406, 426-427 Failed 21/437 tests, 95.19% okay (less 4 skipped tests: 412 okay, 94.28%)
CC: slaven [...] rezic.de
Subject: Re: [cpan #5326] Tk 804.025 beta14 install fails on RedHat Enterprise 3 WS
To: bug-Tk [...] rt.cpan.org
Date: Mon, 16 Feb 2004 09:52:41 +0000
From: Nick Ing-Simmons <nick.ing-simmons [...] elixent.com>
RT-Send-Cc:
Guest via RT <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=5326 >
perl -V output is always helpful. Show quoted text
> >The installation of Tk fails with the following message: > >Failed Test Stat Wstat Total Fail Failed List of Failed >------------------------------------------------------------------------------- >t/browseentry.t 0 139 15 0 0.00% ??
Hmm, that one is "back" is it. Show quoted text
>t/listbox.t 437 21 4.81% 365-366 375-380 391-392 394-398 > 400-402 406 426-427 > (3 subtests UNEXPECTEDLY SUCCEEDED), 29 subtests skipped.
I don't recognise those test numbers, but errors indicate sizes on screen are not what was expected. Did you build with XFT=1 ? Have you included/excluded any sets of fonts? (Not that I have a clue what RedHat Enterprise 3 normally has.) Has this machine got a very large (or very small) display? Which Window manager is running? Show quoted text
>Failed 2/46 test scripts, 95.65% okay. 21/2618 subtests failed, 99.20% okay. >make: *** [test_dynamic] Error 29 >error: Bad exit status from /var/tmp/rpm-tmp.55463 (%build) > >perl -v : 5.80 >tk : tk-8.3.5-92 > >Fortunately, 800.024 builds correctly.
Because it does not include these tests ;-) Show quoted text
> >More details: >t/listbox....................ok 364/437# Test 365 got: '1' (t/listbox.t at line 1500) >t/listbox....................NOK 365# Expected: '3' ># t/listbox.t line 1500 is: ok($lb->index(q/@5,57/), 3); >t/listbox....................NOK 366# Test 366 got: '1' (t/listbox.t at line 1501) ># Expected: '3' ># t/listbox.t line 1501 is: ok($lb->index(q/@5,58/), 3); >t/listbox....................ok 374/437# Test 375 got: '9' (t/listbox.t at line 1531) >t/listbox....................NOK 375# Expected: '5' ># t/listbox.t line 1531 is: ok($lb->index(q/@0,0/), 5); ># Test 376 got: '0.2 0.3' (t/listbox.t at line 1540) >t/listbox....................NOK 376# Expected: '0.2 0.7' ># t/listbox.t line 1540 is: ok_float("@{ $lb->yview }", "0.2 0.7"); >t/listbox....................NOK 377# Test 377 got: 'y 0.2 0.3' (t/listbox.t at line 1541) ># Expected: 'y 0.2 0.7' ># t/listbox.t line 1541 is: ok_float($log0, "y 0.2 0.7"); ># Test 378 got: '0.8 0.9' (t/listbox.t at line 1550) >t/listbox....................NOK 378# Expected: '0.5 1' ># t/listbox.t line 1550 is: ok_float("@{ $lb->yview }", "0.5 1"); >t/listbox....................NOK 379# Test 379 got: 'y 0.8 0.9' (t/listbox.t at line 1551) ># Expected: 'y 0.5 1' ># t/listbox.t line 1551 is: ok_float($log0, "y 0.5 1"); ># Test 380 got: '0.3 0.4' (t/listbox.t at line 1561) >t/listbox....................NOK 380# Expected: '0.3 0.8' ># t/listbox.t line 1561 is: ok_float("@{ $lb->yview }", "0.3 0.8"); >t/listbox....................ok 390/437Use of uninitialized value in subtraction (-) at t/listbox.t line 1603. >Use of uninitialized value in subtraction (-) at t/listbox.t line 1604. ># Test 391 got: '0 0.2' (t/listbox.t at line 1611) ># Expected: '0.2 0.4' ># t/listbox.t line 1611 is: ok_float("@{ $lb->xview }", "0.2 0.4"); ># Test 392 got: '0 0.05' (t/listbox.t at line 1612) ># Expected: '0.5 0.75' ># t/listbox.t line 1612 is: ok_float("@{ $lb->yview }", "0.5 0.75"); >t/listbox....................NOK 391# Test 394 got: '0 0.05' (t/listbox.t at line 1620) ># Expected: '0 0.25' ># t/listbox.t line 1620 is: ok_float("@{ $lb->yview }", "0 0.25"); >t/listbox....................NOK 394# Test 395 got: '0 0.2' (t/listbox.t at line 1624) >t/listbox....................NOK 395# Expected: '0.2 0.4' ># t/listbox.t line 1624 is: ok_float("@{ $lb->xview }", "0.2 0.4"); >t/listbox....................NOK 396# Test 396 got: '0,0.2' (t/listbox.t at line 1625) ># Expected: '0.2,0.4' ># t/listbox.t line 1625 is: ok_float(join(',',$lb->xview), "0.2,0.4"); # just to prove it is a list >t/listbox....................NOK 397# Test 397 got: '0 0.05' (t/listbox.t at line 1626) ># Expected: '0.5 0.75' ># t/listbox.t line 1626 is: ok_float("@{ $lb->yview }", "0.5 0.75"); >t/listbox....................NOK 398# Test 398 got: '0,0.05' (t/listbox.t at line 1627) ># Expected: '0.5,0.75' ># t/listbox.t line 1627 is: ok_float(join(',',$lb->yview), "0.5,0.75"); # just to prove it is a list >t/listbox....................ok 399/437# Test 400 got: '0.95 1' (t/listbox.t at line 1635) >t/listbox....................NOK 400# Expected: '0.75 1' ># t/listbox.t line 1635 is: ok_float("@{ $lb->yview }", "0.75 1"); ># Test 401 got: '0.8 1' (t/listbox.t at line 1638) >t/listbox....................NOK 401# Expected: '0.64 0.84' ># t/listbox.t line 1638 is: ok_float("@{ $lb->xview }", "0.64 0.84"); >t/listbox....................NOK 402# Test 402 got: '0.95 1' (t/listbox.t at line 1639) ># Expected: '0.25 0.5' ># t/listbox.t line 1639 is: ok_float("@{ $lb->yview }", "0.25 0.5"); >t/listbox....................NOK 406# Test 406 got: '5' (t/listbox.t at line 1656) ># Expected: '6' ># t/listbox.t line 1656 is: skip($skip_fixed_font_test, $lb->index(q/@50,36/), 6); >t/listbox....................ok 425/437# Test 426 got: 'y 0 0.333333333333333' (t/listbox.t at line 1780) >t/listbox....................NOK 426# Expected: 'y 0 1' ># t/listbox.t line 1780 is: ok($log0, "y 0 1"); >t/listbox....................NOK 427# Test 427 got: 'y 0 0.125' (t/listbox.t at line 1781) ># Expected: 'y 0 0.625' ># t/listbox.t line 1781 is: ok_float($log1, "y 0 0.625"); >t/listbox....................FAILED tests 365-366, 375-380, 391-392, 394-398, 400-402, 406, 426-427 > Failed 21/437 tests, 95.19% okay (less 4 skipped tests: 412 okay, 94.28%)
Changed way After.pm cleans up after itself to avoid a race condition. This fixed a similar fail on RedHat9.