Bug 3440

Summary: TestU01 FTBFS in f21 and later
Product: Fedora Reporter: Nicolas Chauvet <kwizart>
Component: TestU01Assignee: Jirka <hladky.jiri>
Status: RESOLVED FIXED    
Severity: normal CC: sergio
Priority: P5    
Version: unspecified   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Nicolas Chauvet 2014-12-07 15:38:02 CET
gcc -DHAVE_CONFIG_H -I. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c fdist.c -o fdist.o >/dev/null 2>&1
 gcc -DHAVE_CONFIG_H -I. -I../include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c wdist.c  -fPIC -DPIC -o .libs/wdist.o
gofw.c: In function 'printMath2':
gofw.c:99:4: error: format not a string literal and no format arguments [-Werror=format-security]
    fprintf (f, S);
    ^
gofw.c:109:4: error: format not a string literal and no format arguments [-Werror=format-security]
    fprintf (f, S);
    ^
gofw.c: In function 'gofw_WriteActiveTests2':
gofw.c:629:7: error: format not a string literal and no format arguments [-Werror=format-security]
       printf (S);
       ^
cc1: some warnings being treated as errors
Makefile:332: recipe for target 'gofw.lo' failed
make[1]: *** [gofw.lo] Error 1
make[1]: *** Waiting for unfinished jobs....

Note that this is usually trivial to fix:
http://stackoverflow.com/questions/9707569/c-array-warning-format-not-a-string-literal
Comment 1 Nicolas Chauvet 2015-07-20 16:13:47 CEST
Any updates on this ?
Comment 2 Emmanuel Seyman 2015-12-04 13:49:10 CET
RPMFusion is no longer releasing updates for this version of Fedora. This bug
will be set to RESOLVED:EXPIRED next week to reflect this.

If the problem persists after upgrading to the latest version of Fedora, please
update the version field of this bug (and re-open it if it has been closed).
Comment 3 Emmanuel Seyman 2015-12-13 11:12:55 CET
Closing this bug with the EXPIRED resolution since Fedora no longer ships updates for this version of Fedora.

Please set the Version field to a supported version of Fedora if you re-open this bug.
Comment 4 Nicolas Chauvet 2015-12-14 21:21:30 CET
re-opened fix for f22 and later
Comment 5 Sérgio Basto 2016-02-22 03:11:53 CET
I fixed format-security errors [1]

Please build it for F22 and F23 , 

BTW also checked the build for rawhide , no problems. 


[1] 
https://github.com/rpmfusion/TestU01/blob/master/TestU01-format-security.patch