Skip to content

Error when building version 2.4.2 on Ubuntu 26.04 #349

@jsf9k

Description

@jsf9k

I'm getting the following error when building version 2.4.2 on Ubuntu 26.04:

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);

Any ideas as to what I can do to get around this failure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions