-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
hi! I noticed the following build failure, the crate in question is not present in Cargo.lock on the latest git main anymore so I assume just tagging a new release would fix this. Thank you!
[ 99%] Building C object aws-lc/crypto/CMakeFiles/crypto_objects.dir/decrepit/ripemd/ripemd.c.o
[ 99%] Building ASM object aws-lc/crypto/CMakeFiles/crypto_objects.dir/test/trampoline-x86_64.S.o
[ 99%] Building ASM object aws-lc/crypto/CMakeFiles/crypto_objects.dir/cipher_extra/aesni-sha256-x86_64.S.o
[ 99%] Building ASM object aws-lc/crypto/CMakeFiles/crypto_objects.dir/hrss/asm/poly_rq_mul.S.o
[ 99%] Built target crypto_objects
--- stderr
CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy):
The OLD behavior for policy CMP0091 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at aws-lc/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Copying platform assembly files from /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.30.0/aws-lc/generated-src/linux-x86_64/crypto/ to /build/legba/src/legba-1.2.0/target/release/build/aws-lc-sys-e7583f857366e928/out/build/aws-lc/crypto
In file included from /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.30.0/aws-lc/crypto/fipsmodule/bcm.c:41:
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.30.0/aws-lc/crypto/fipsmodule/../internal.h: In function 'OPENSSL_memchr':
/build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/aws-lc-sys-0.30.0/aws-lc/crypto/fipsmodule/../internal.h:939:10: error: return discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
939 | return memchr(s, c, n);
| ^~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-c11-extensions' may have been intended to silence earlier diagnostics
cc1: all warnings being treated as errors
make[2]: *** [aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/build.make:79: aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:305: aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
thread 'main' (28061) panicked at /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cmake-0.1.54/src/lib.rs:1119:5:
command did not execute successfully, got: exit status: 2
build script failed, must exit now
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels