Bugzilla – Bug 1221714
GCC 14: fipscheck package fails
Last modified: 2024-07-08 15:41:05 UTC
Building fipscheck with GCC 14 fails here: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/fipscheck/standard/x86_64 Due to (exhaustive list of errors): filehmac.c: In function ‘compute_file_hmac’: filehmac.c:219:24: error: implicit declaration of function ‘OSSL_PROVIDER_load’ [-Wimplicit-function-declaration] 219 | fips = OSSL_PROVIDER_load(NULL, "fips"); | ^~~~~~~~~~~~~~~~~~ filehmac.c:219:22: error: assignment to ‘OSSL_PROVIDER *’ {aka ‘struct ossl_provider_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 219 | fips = OSSL_PROVIDER_load(NULL, "fips"); | ^ filehmac.c:265:32: error: passing argument 3 of ‘EVP_MAC_final’ from incompatible pointer type [-Wincompatible-pointer-types] 265 | EVP_MAC_final(c, rbuf, &hlen, sizeof(rbuf)); | ^~~~~ | | | unsigned int * /usr/include/openssl/evp.h:1228:47: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘unsigned int *’ 1228 | unsigned char *out, size_t *outl, size_t outsize); | ~~~~~~~~^~~~ See the meta bug#1220571 for more info.
I have submitted https://build.opensuse.org/request/show/1186220 which contains upstream patches addressing this issue (and perhaps more).