Hide Forgot
crypto-utils-2.4.1-60.fc24 fails to build in F24: + cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall -Werror=implicit-function-declaration -Werror -I/usr/include/nspr4 -I/usr/include/nss3 keyutil.c certext.c secutil.c -o keyutil -lplc4 -lnspr4 -lnss3 keyutil.c: In function 'CertReq': keyutil.c:705:6: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] country = CERT_GetCountryName(subject); ^~~~~~~ keyutil.c:702:9: note: ...this 'if' clause, but it is not if (!state) ^~ cc1: all warnings being treated as errors error: Bad exit status from /var/tmp/rpm-tmp.7FLViK (%build) This seems to be triggered by GCC 6 that enabled a new warnings.
Commit: http://pkgs.fedoraproject.org/gitweb/?p=crypto-utils.git;a=commitdiff;h=e6149dee47c1410dd15afc6c7064acdbaf6a3766
Package: crypto-utils-2.4.1-61.fc24 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=734994
Thanks Petr.