| Summary: | TestU01 FTBFS in f21 and later | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Nicolas Chauvet <kwizart> |
| Component: | TestU01 | Assignee: | Jirka <hladky.jiri> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sergio |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
Any updates on this ? 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). 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. re-opened fix for f22 and later 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 Published TestU01-1.2.3-5.fc23 and TestU01-1.2.3-5.fc22 http://download1.rpmfusion.org/nonfree/fedora/updates/testing/23/SRPMS/repoview/index.html http://download1.rpmfusion.org/nonfree/fedora/updates/22/SRPMS/repoview/ |
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