[MacPorts] #63936: opensc fails to build due to openssl3
MacPorts
noreply at macports.org
Fri Nov 12 22:01:05 UTC 2021
#63936: opensc fails to build due to openssl3
-------------------------------+--------------------
Reporter: michael-j-oconnor | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-------------------------------+--------------------
My sense is that opensc will need some explicit dependency on openssl
1.1.x based on these sorts of errors I see in compilation:
{{{
:info:build pkcs15-westcos.c:251:7: error: 'i2d_RSAPublicKey_bio' is
deprecated [-Werror,-Wdeprecated-declarations]
:info:build if(!i2d_RSAPublicKey_bio(mem, rsa))
:info:build ^
:info:build /opt/local/include/openssl/x509.h:619:1: note:
'i2d_RSAPublicKey_bio' has been explicitly marked deprecated here
:info:build OSSL_DEPRECATEDIN_3_0 int i2d_RSAPublicKey_bio(BIO *bp, const
RSA *rsa);
: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 pkcs15-westcos.c:268:6: error: 'i2d_RSAPrivateKey_bio' is
deprecated [-Werror,-Wdeprecated-declarations]
:info:build if(!i2d_RSAPrivateKey_bio(mem, rsa))
:info:build ^
:info:build /opt/local/include/openssl/x509.h:617:1: note:
'i2d_RSAPrivateKey_bio' has been explicitly marked deprecated here
:info:build OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const
RSA *rsa);
: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 pkcs15-westcos.c:303:3: error: 'RSA_free' is deprecated
[-Werror,-Wdeprecated-declarations]
:info:build RSA_free(rsa);
:info:build ^
:info:build /opt/local/include/openssl/rsa.h:293:1: note: 'RSA_free' has
been explicitly marked deprecated here
:info:build OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
: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 7 errors generated.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63936>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list