[MacPorts] #63893: git-crypt @0.6.0_3 fails to install with openssl 3
MacPorts
noreply at macports.org
Tue Nov 9 19:24:30 UTC 2021
#63893: git-crypt @0.6.0_3 fails to install with openssl 3
------------------------+-----------------------
Reporter: BenSjoberg | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: git-crypt
------------------------+-----------------------
As mentioned in https://trac.macports.org/ticket/63856, git-crypt seems to
have been broken by the move to openssl 3.0. I'm on Big Sur 11.6.1 using
Xcode 13.1 and I get this error when trying to install this port:
{{{
:info:build make: Entering directory `/opt/local/var/macports/build
/_Users_bsjoberg_projects_macports-ports_devel_git-crypt/git-crypt/work
/AGWA-git-crypt-0d7d882'
:info:build /usr/bin/clang++ -Os -stdlib=libc++ -arch x86_64 -std=c++11
-c -o crypto-openssl-10.o crypto-openssl-10.cpp
:info:build crypto-openssl-10.cpp:59:6: warning: 'AES_set_encrypt_key' is
deprecated [-Wdeprecated-declarations]
:info:build if (AES_set_encrypt_key(raw_key, KEY_LEN * 8,
&(impl->key)) != 0) {
:info:build ^
:info:build /opt/local/include/openssl/aes.h:50:1: note:
'AES_set_encrypt_key' has been explicitly marked deprecated here
:info:build OSSL_DEPRECATEDIN_3_0
:info:build ^
:info:build /opt/local/include/openssl/macros.h:182:49: note: expanded
from macro 'OSSL_DEPRECATEDIN_3_0'
:info:build # define OSSL_DEPRECATEDIN_3_0
OSSL_DEPRECATED(3.0)
:info:build ^
:info:build /opt/local/include/openssl/macros.h:62:52: note: expanded from
macro 'OSSL_DEPRECATED'
:info:build # define OSSL_DEPRECATED(since)
__attribute__((deprecated))
:info:build ^
:info:build crypto-openssl-10.cpp:74:2: warning: 'AES_encrypt' is
deprecated [-Wdeprecated-declarations]
:info:build AES_encrypt(plain, cipher, &(impl->key));
:info:build ^
:info:build /opt/local/include/openssl/aes.h:56:1: note: 'AES_encrypt' has
been explicitly marked deprecated here
:info:build OSSL_DEPRECATEDIN_3_0
:info:build ^
:info:build /opt/local/include/openssl/macros.h:182:49: note: expanded
from macro 'OSSL_DEPRECATEDIN_3_0'
:info:build # define OSSL_DEPRECATEDIN_3_0
OSSL_DEPRECATED(3.0)
:info:build ^
:info:build /opt/local/include/openssl/macros.h:62:52: note: expanded from
macro 'OSSL_DEPRECATED'
:info:build # define OSSL_DEPRECATED(since)
__attribute__((deprecated))
:info:build ^
:info:build crypto-openssl-10.cpp:78:11: error: field has incomplete type
'HMAC_CTX' (aka 'hmac_ctx_st')
:info:build HMAC_CTX ctx;
:info:build ^
:info:build /opt/local/include/openssl/types.h:132:16: note: forward
declaration of 'hmac_ctx_st'
:info:build typedef struct hmac_ctx_st HMAC_CTX;
:info:build ^
:info:build 2 warnings and 1 error generated.
:info:build make: *** [crypto-openssl-10.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build
/_Users_bsjoberg_projects_macports-ports_devel_git-crypt/git-crypt/work
/AGWA-git-crypt-0d7d882'
:info:build Command failed: cd "/opt/local/var/macports/build
/_Users_bsjoberg_projects_macports-ports_devel_git-crypt/git-crypt/work
/git-crypt-0.6.0" && /usr/bin/make -j16 -w all
:info:build Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63893>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list