-
Notifications
You must be signed in to change notification settings - Fork 177
master fails tests and compilation #528
Copy link
Copy link
Closed
Description
Intel-based iMac, MacOS Ventura 13.6.1, Xcode-15.
sphincs+ fails to compile in some configs:
$ make TYPE=sign SCHEME=sphincs-shake-256s-robust
mkdir -p ../bin
clang -O3 -Wall -Wextra -Wpedantic -Wvla -Werror -std=c99 -Wundef -Wshadow -Wcast-align -Wpointer-arith -Wmissing-prototypes -fstrict-aliasing -fno-common -pipe -I../common -DNTESTS=1 -DPQCLEAN_NAMESPACE=PQCLEAN_SPHINCSSHAKE256SROBUST_CLEAN -I../crypto_sign/sphincs-shake-256s-robust/clean crypto_sign/functest.c ../common/aes.c ../common/sha2.c ../common/fips202.c ../common/nistseedexpander.c ../common/sp800-185.c ../common/randombytes.c -o ../bin/functest_sphincs-shake-256s-robust_clean -L../crypto_sign/sphincs-shake-256s-robust/clean -lsphincs-shake-256s-robust_clean
crypto_sign/functest.c:1:10: fatal error: 'api.h' file not found
#include "api.h"
^~~~~~~
1 error generated.
make: *** [../bin/functest_sphincs-shake-256s-robust_clean] Error 1
$ Tests:
========================================== short test summary info ===========================================
FAILED test_api_h.py::test_api_h[clean implementation of sphincs-shake-256s-robust] - FileNotFoundError: [Errno 2] No such file or directory: '../crypto_sign/sphincs-shake-256s-robust/clean/a...
FAILED test_license.py::test_license[clean implementation of sphincs-shake-256s-robust] - AssertionError: assert (False or False)
FAILED test_makefiles_present.py::test_makefile_present[clean implementation of sphincs-shake-256s-robust] - AssertionError: assert False
FAILED test_makefiles_present.py::test_microsoft_nmakefile_present[clean implementation of sphincs-shake-256s-robust] - TypeError: 'NoneType' object is not subscriptable
FAILED test_metadata.py::test_metadata[<Sign(sphincs-shake-256s-robust)>] - TypeError: argument of type 'NoneType' is not iterable
FAILED test_metadata_sizes.py::test_metadata_sizes[clean implementation of sphincs-shake-256s-robust] - AssertionError: Got unexpected return code 2
FAILED test_boolean.py::test_boolean[clean implementation of sphincs-shake-256s-robust] - TypeError: 'NoneType' object is not subscriptable
FAILED test_char.py::test_char[clean implementation of sphincs-shake-256s-robust] - TypeError: 'NoneType' object is not subscriptable
FAILED test_testvectors.py::test_testvectors[clean implementation of sphincs-shake-256s-robust] - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_compile_lib.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_dynamic_memory.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_functest.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_linter.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_makefile_dependencies.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_nistkat.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_symbol_namespace.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
ERROR test_valgrind.py - TypeError: 'NoneType' object is not subscriptable
===================== 9 failed, 1415 passed, 40 skipped, 160 errors in 89.20s (0:01:29) ===
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels