bugGnash - The GNU Flash player - Bugs: bug #24752, make check failure on debian etch...

 
 

bug #24752: make check failure on debian etch in swfdec testsuite

Submitter:  Sandro Santilli <strk>
Submitted:  Wed 05 Nov 2008 08:26:10 AM UTC
   
 
Category:  None Severity:  5 - Blocker
Release:  None Status:  Wont Fix
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 04 Dec 2008 10:35:42 AM UTC, comment #8: 

I don't think I intend to fix this, unless someone can show it's not a breach of the C++ standard, and therefore a compiler bug.

Perhaps a Debian user could submit a bug report to Debian.

Benjamin Wolsey <bwy>
Group Member
Sun 09 Nov 2008 04:04:55 PM UTC, comment #7: 

Boost format uses std::showpos, and indeed this:

cout << showpos << 0 << endl;

prints "0" when compiled with Debian Etch's gcc 4.1. The standard says for showpos:

"generates a + sign in non-negative generated numeric output"

and since 0 is an integer and very much not negative, this seems like a compiler bug. Lenny gets it right.

Benjamin Wolsey <bwy>
Group Member
Thu 06 Nov 2008 08:29:55 AM UTC, comment #6: 

not sure, never used the + ...
Wouldn't it be the same for +0%d then ?

Sandro Santilli <strk>
Group Member
Thu 06 Nov 2008 08:26:53 AM UTC, comment #5: 

On all other distros it gives "+00", and isn't that the case with printf as well?

I should think boost::format's own formatting options will provide a way to do it, and I'll get round to looking at the docs soon.

Benjamin Wolsey <bwy>
Group Member
Thu 06 Nov 2008 08:19:15 AM UTC, comment #4: 

What's the outpu you'd expect ?
Can you think of any workaround that works
with older boost too ? Maybe using the other format syntax ?

Sandro Santilli <strk>
Group Member
Wed 05 Nov 2008 02:14:42 PM UTC, comment #3: 

This:

std::cout << boost::format(%+03d) % 0 << std::endl;

give "000" on Etch. I'm fairly sure that's wrong.

Benjamin Wolsey <bwy>
Group Member
Wed 05 Nov 2008 12:34:46 PM UTC, comment #2: 

BlurFilter-construct-8.swf is an expected failure.

The Date problem must be from here:

boost::format dateFormat("%s %s %d %02d:%02d:%02d GMT%+03d%02d %d");

dateFormat % dayweekname[gt.weekday] % monthname[gt.month]
               % gt.monthday % gt.hour % gt.minute % gt.second
               % offsetHours % offsetMinutes % (gt.year + 1900);


Benjamin Wolsey <bwy>
Group Member
Wed 05 Nov 2008 08:30:35 AM UTC, comment #1: 

Snippets of logs (on Ben's request)

BlurFilter-construct-{6,7}.swf.log:
-(23) Fri Apr 13 21:20:24 GMT+0000 1973 (object):  /  /
+(23) Fri Apr 13 21:20:24 GMT00000 1973 (object):  /  /



BlurFilter-construct-8.swf.log:
-0 args: 4 / 4 / 1
-1 arg: 1 / 4 / 1
-2 args: 1 / 2 / 1
-3 args: 1 / 2 / 3
-no new: undefined / undefined / undefined
-(0) undefined (undefined): NaN / NaN / 0
-(1) null (null): NaN / NaN / 0
-(2) true (boolean): 1 / 1 / 1
+0 args: 0 / 0 / 0
+1 arg: 0 / 0 / 0
+2 args: 0 / 0 / 0
+3 args: 0 / 0 / 0
+no new: 0 / 0 / 0

Sandro Santilli <strk>
Group Member
Wed 05 Nov 2008 08:26:10 AM UTC, original submission:  

revno: 10227

Test Result Totals:
        Total passes: 30403
        Total expected failures: 2377
        Total untested: 264
        * Total real failures: 9

Unexpected failures follow:
 --=[ testsuite/swfdec ]=--
FAIL: run_swfdec_testsuite_b: BlurFilter-construct-6.swf:9f183e7e0a35fbe488aa7c447dced20c (traces in BlurFilter-construct-6.swf.trace-gnash, log in BlurFilter-construct-6.swf.log)
FAIL: run_swfdec_testsuite_b: BlurFilter-construct-7.swf:c38a6f916e3bc1a0141c9c78d23e0aa0 (traces in BlurFilter-construct-7.swf.trace-gnash, log in BlurFilter-construct-7.swf.log)
FAIL: run_swfdec_testsuite_b: boolean-7.swf:4124413f55f405ad865a05403bc24662 (traces in boolean-7.swf.trace-gnash, log in boolean-7.swf.log)
FAIL: run_swfdec_testsuite_b: boolean-8.swf:c3c872988d25c8e49c11e5e337ea1e69 (traces in boolean-8.swf.trace-gnash, log in boolean-8.swf.log)
FAIL: run_swfdec_testsuite_c: color-transform-construct-8.swf:d68ee06d60eb6612648365ab75f6b794 (traces in color-transform-construct-8.swf.trace-gnash, log in color-transform-construct-8.swf.log)
FAIL: run_swfdec_testsuite_c: color-transform-multipliers-offsets-8.swf:6e4558a870ddbf941365171accb8cf18 (traces in color-transform-multipliers-offsets-8.swf.trace-gnash, log in color-transform-multipliers-offsets-8.swf.log)
FAIL: run_swfdec_testsuite_s: String-split-count-values-6.swf:6eccd6c628bf489d48935de4bfa6ef5a (traces in String-split-count-values-6.swf.trace-gnash, log in String-split-count-values-6.swf.log)
FAIL: run_swfdec_testsuite_s: String-split-count-values-7.swf:1b1b8fe98fa48ed7c15455cd990d1ad7 (traces in String-split-count-values-7.swf.trace-gnash, log in String-split-count-values-7.swf.log)
FAIL: run_swfdec_testsuite_s: String-split-count-values-8.swf:390b83821fbfb9497d0660d1f57da85a (traces in String-split-count-values-8.swf.trace-gnash, log in String-split-count-values-8.swf.log)

Sandro Santilli <strk>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by strk (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-12 bwy Open/ClosedOpen Closed
    2008-12-04 bwy StatusNone Wont Fix

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code