In file included from /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/aws-lc/crypto/fipsmodule/bcm.c:41:
/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/aws-lc/crypto/fipsmodule/../internal.h: In function 'OPENSSL_memchr':
/root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-fips-sys-0.13.9/aws-lc/crypto/fipsmodule/../internal.h:921:10: error: return discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
921 | return memchr(s, c, n);
I'm getting the following error when building version 2.4.2 on Ubuntu 26.04:
Any ideas as to what I can do to get around this failure?