Unable to Install Scrypt - MacOS 12.5 (ARM - m1)
Whenever I try install scrypt I get this error:
fatal error: 'openssl/aes.h' file not found #include <openssl/aes.h> ^~~~~~~~~~~~~~~ 1 error generated. error: command '/usr/bin/clang' failed with exit code 1
I have installed Openssl (via brew) & ran the folllowing commands:
$ export CFLAGS="-I$(brew --prefix openssl)/include $CFLAGS" $ export LDFLAGS="-L$(brew --prefix openssl)/lib $LDFLAGS"
I get the same error for MacOS 12.1 (ARM - m1)
Try:
export CFLAGS="-I$(brew --prefix openssl)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib -L/usr/local/opt/openssl/lib"
I was successful on an M1 Pro with the exports above and after
brew install openssl
For some reason, today, my Mac is again unable to install Scrypt.
(v4vapi-py3.9) bol@Dot v4vapi % poetry add scrypt
Using version ^0.8.20 for scrypt
Updating dependencies
Resolving dependencies... (1.0s)
Package operations: 2 installs, 0 updates, 0 removals
• Installing scrypt (0.8.20): Failed
ChefBuildError
Backend subprocess exited when trying to invoke build_wheel
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-13.1-arm64-cpython-39
creating build/lib.macosx-13.1-arm64-cpython-39/scrypt
copying scrypt/__init__.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt
copying scrypt/scrypt.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt
creating build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/__init__.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/test_scrypt_py2x.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/test_scrypt_py3x.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/test_scrypt_c_module.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/test_scrypt.py -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/ciphertexts.csv -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
copying scrypt/tests/hashvectors.csv -> build/lib.macosx-13.1-arm64-cpython-39/scrypt/tests
running build_ext
building '_scrypt' extension
creating build/temp.macosx-13.1-arm64-cpython-39
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/scryptenc
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/util
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/alg
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto
creating build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util
creating build/temp.macosx-13.1-arm64-cpython-39/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/crypto/crypto_scrypt.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/scryptenc/scryptenc.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/scryptenc/scryptenc.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/lib/util/memlimit.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/util/memlimit.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/alg/sha256.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/alg/sha256.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aes.o
scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:118:2: warning: 'AES_set_encrypt_key' is deprecated [-Wdeprecated-declarations]
AES_set_encrypt_key(key, (int)(len * 8), kexp);
^
/opt/homebrew/opt/openssl@3/include/openssl/aes.h:50:1: note: 'AES_set_encrypt_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/opt/openssl@3/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/opt/openssl@3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
scrypt-1.2.1/libcperciva/crypto/crypto_aes.c:146:2: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations]
AES_encrypt(in, out, (const void *)key);
^
/opt/homebrew/opt/openssl@3/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/opt/homebrew/opt/openssl@3/include/openssl/macros.h:193:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
# define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0)
^
/opt/homebrew/opt/openssl@3/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
# define OSSL_DEPRECATED(since) __attribute__((deprecated))
^
2 warnings generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/crypto/crypto_entropy.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_entropy.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/util/asprintf.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/asprintf.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/util/entropy.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/entropy.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/util/humansize.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/humansize.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/util/insecure_memzero.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/insecure_memzero.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c scrypt-1.2.1/libcperciva/util/warnp.c -o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/warnp.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include -DHAVE_CONFIG_H -DHAVE_POSIX_MEMALIGN=1 -DHAVE_SYSCTL_HW_USERMEM=1 -Iscrypt-1.2.1 -Iscrypt-1.2.1/lib -Iscrypt-1.2.1/lib/scryptenc -Iscrypt-1.2.1/lib/crypto -Iscrypt-1.2.1/lib/util -Iscrypt-1.2.1/libcperciva/cpusupport -Iscrypt-1.2.1/libcperciva/alg -Iscrypt-1.2.1/libcperciva/util -Iscrypt-1.2.1/libcperciva/crypto -I/var/folders/7x/pq0c94p16t92n1mbqhh882_h0000gn/T/tmpw9ci7viq/.venv/include -I/Users/bol/.pyenv/versions/3.9.16/include/python3.9 -c src/scrypt.c -o build/temp.macosx-13.1-arm64-cpython-39/src/scrypt.o
clang -bundle -undefined dynamic_lookup -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bol/.pyenv/versions/3.9.16/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/readline/lib -L/opt/homebrew/opt/readline/lib -L/Users/bol/.pyenv/versions/3.9.16/lib -L/opt/homebrew/lib -Wl,-rpath,/opt/homebrew/lib -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -L/opt/homebrew/opt/openssl@3/lib -ltdsodbc -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/openssl@3/include build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/crypto/crypto_scrypt_smix_sse2.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/scryptenc/scryptenc.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/scryptenc/scryptenc_cpuperf.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/lib/util/memlimit.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/alg/sha256.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aes.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aes_aesni.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_aesctr.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/crypto/crypto_entropy.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/asprintf.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/entropy.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/humansize.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/insecure_memzero.o build/temp.macosx-13.1-arm64-cpython-39/scrypt-1.2.1/libcperciva/util/warnp.o build/temp.macosx-13.1-arm64-cpython-39/src/scrypt.o -lcrypto -o build/lib.macosx-13.1-arm64-cpython-39/_scrypt.cpython-39-darwin.so
ld: can't link with bundle (MH_BUNDLE) only dylibs (MH_DYLIB) file '/opt/homebrew/lib/libtdsodbc.so' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command '/usr/bin/clang' failed with exit code 1
at ~/Library/Application Support/pypoetry/venv/lib/python3.11/site-packages/poetry/installation/chef.py:152 in _prepare
148│
149│ error = ChefBuildError("\n\n".join(message_parts))
150│
151│ if error is not None:
→ 152│ raise error from None
153│
154│ return path
155│
156│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
Note: This error originates from the build backend, and is likely not a problem with poetry but with scrypt (0.8.20) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "scrypt (==0.8.20)"'.
I swear I had this working in the past but suddenly now I can't install a project (which does use Beem from gitlab.syncad.com).
Does it work now?