Topic: Problem with py27-cryptography and libressl
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: FreeBSD 11.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? nope
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi all,
When I recently tried to recompile the py27-cryptography package, I received the error below and the package did not compile. It only compiled after I renamed the /usr/local/include/openssl directory to /usr/local/include/openssl-bkp.
What seems to be that there is some problem with libressl and py27-cryptography.
creating build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/build
creating build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7
cc -DNDEBUG -O2 -pipe -I/usr/local/include -fstack-protector -fno-strict-aliasing -fPIC -I/usr/local/include/python2.7 -c build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c -o build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2202:25: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
return session->master_key_length;
~~~~~~ ~~~~~~~~~^~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2204:27: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
outlen = session->master_key_length;
~ ~~~~~~~~~^~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2345:6: error: conflicting types for 'X509_get0_signature'
void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
^
/usr/local/include/openssl/x509.h:919:6: note: previous declaration is here
void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2479:7: error: redefinition of 'X509_VERIFY_PARAM_set1_host' as different kind of symbol
int (*X509_VERIFY_PARAM_set1_host)(X509_VERIFY_PARAM *, const char *,
^
/usr/local/include/openssl/x509_vfy.h:564:5: note: previous definition is here
int X509_VERIFY_PARAM_set1_host(X509_VERIFY_PARAM *param, const char *name,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2481:7: error: redefinition of 'X509_VERIFY_PARAM_set1_email' as different kind of symbol
int (*X509_VERIFY_PARAM_set1_email)(X509_VERIFY_PARAM *, const char *,
^
/usr/local/include/openssl/x509_vfy.h:571:5: note: previous definition is here
int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param, const char *email,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2483:7: error: redefinition of 'X509_VERIFY_PARAM_set1_ip' as different kind of symbol
int (*X509_VERIFY_PARAM_set1_ip)(X509_VERIFY_PARAM *, const unsigned char *,
^
/usr/local/include/openssl/x509_vfy.h:573:5: note: previous definition is here
int X509_VERIFY_PARAM_set1_ip(X509_VERIFY_PARAM *param, const unsigned char *ip,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2485:7: error: redefinition of 'X509_VERIFY_PARAM_set1_ip_asc' as different kind of symbol
int (*X509_VERIFY_PARAM_set1_ip_asc)(X509_VERIFY_PARAM *, const char *) = NULL;
^
/usr/local/include/openssl/x509_vfy.h:575:5: note: previous definition is here
int X509_VERIFY_PARAM_set1_ip_asc(X509_VERIFY_PARAM *param, const char *ipasc);
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2486:8: error: redefinition of 'X509_VERIFY_PARAM_set_hostflags' as different kind of symbol
void (*X509_VERIFY_PARAM_set_hostflags)(X509_VERIFY_PARAM *,
^
/usr/local/include/openssl/x509_vfy.h:568:6: note: previous definition is here
void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2525:7: error: conflicting types for 'X509_OBJECT_get0_X509'
X509 *X509_OBJECT_get0_X509(X509_OBJECT *x) {
^
/usr/local/include/openssl/x509_vfy.h:430:7: note: previous declaration is here
X509 *X509_OBJECT_get0_X509(const X509_OBJECT *xo);
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2622:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
_ssl_locks_count = CRYPTO_num_locks();
~ ^~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:2655:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
memcpy(buf, st->password, st->length);
~~~~~~ ~~~~^~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47710:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_add_extra_chain_cert(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1200:2: note: expanded from macro 'SSL_CTX_add_extra_chain_cert'
SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47750:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_add_extra_chain_cert(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1200:2: note: expanded from macro 'SSL_CTX_add_extra_chain_cert'
SSL_CTX_ctrl(ctx,SSL_CTRL_EXTRA_CHAIN_CERT,0,(char *)x509)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47799:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_clear_options(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:573:2: note: expanded from macro 'SSL_CTX_clear_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47799:36: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_CTX_clear_options(x0, x1);
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:573:45: note: expanded from macro 'SSL_CTX_clear_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47832:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_clear_options(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:573:2: note: expanded from macro 'SSL_CTX_clear_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:47832:40: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_CTX_clear_options(x0, x1); }
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:573:45: note: expanded from macro 'SSL_CTX_clear_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48084:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_get_mode(x0);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:588:2: note: expanded from macro 'SSL_CTX_get_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48107:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_get_mode(x0); }
~ ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:588:2: note: expanded from macro 'SSL_CTX_get_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48120:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_get_options(x0);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:575:2: note: expanded from macro 'SSL_CTX_get_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48143:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_get_options(x0); }
~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:575:2: note: expanded from macro 'SSL_CTX_get_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48156:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_get_session_cache_mode(x0);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1521:2: note: expanded from macro 'SSL_CTX_get_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:48179:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_get_session_cache_mode(x0); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1521:2: note: expanded from macro 'SSL_CTX_get_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_GET_SESS_CACHE_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49640:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_set_mode(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:584:2: note: expanded from macro 'SSL_CTX_set_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49640:31: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_CTX_set_mode(x0, x1);
~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:584:36: note: expanded from macro 'SSL_CTX_set_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49673:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_set_mode(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:584:2: note: expanded from macro 'SSL_CTX_set_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49673:35: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_CTX_set_mode(x0, x1); }
~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:584:36: note: expanded from macro 'SSL_CTX_set_mode'
SSL_CTX_ctrl((ctx),SSL_CTRL_MODE,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49804:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_set_options(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:571:2: note: expanded from macro 'SSL_CTX_set_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49804:34: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_CTX_set_options(x0, x1);
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:571:39: note: expanded from macro 'SSL_CTX_set_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49837:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_set_options(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:571:2: note: expanded from macro 'SSL_CTX_set_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49837:38: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_CTX_set_options(x0, x1); }
~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:571:39: note: expanded from macro 'SSL_CTX_set_options'
SSL_CTX_ctrl((ctx),SSL_CTRL_OPTIONS,(op),NULL)
~~~~~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49850:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_set_session_cache_mode(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1519:2: note: expanded from macro 'SSL_CTX_set_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49850:45: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_CTX_set_session_cache_mode(x0, x1);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:1519:48: note: expanded from macro 'SSL_CTX_set_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
~~~~~~~~~~~~ ^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49883:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_set_session_cache_mode(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1519:2: note: expanded from macro 'SSL_CTX_set_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:49883:49: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_CTX_set_session_cache_mode(x0, x1); }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:1519:48: note: expanded from macro 'SSL_CTX_set_session_cache_mode'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_SESS_CACHE_MODE,m,NULL)
~~~~~~~~~~~~ ^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:50199:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_set_tmp_dh(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1152:2: note: expanded from macro 'SSL_CTX_set_tmp_dh'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)dh)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:50239:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_set_tmp_dh(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1152:2: note: expanded from macro 'SSL_CTX_set_tmp_dh'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)dh)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:50252:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_CTX_set_tmp_ecdh(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1154:2: note: expanded from macro 'SSL_CTX_set_tmp_ecdh'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:50292:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_CTX_set_tmp_ecdh(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:1154:2: note: expanded from macro 'SSL_CTX_set_tmp_ecdh'
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_ECDH,0,(char *)ecdh)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:52096:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_get_mode(x0);
~~~~~~ ^~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:594:9: note: expanded from macro 'SSL_get_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:52119:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_get_mode(x0); }
~ ^~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:594:9: note: expanded from macro 'SSL_get_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:52132:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_get_options(x0);
~~~~~~ ^~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:581:9: note: expanded from macro 'SSL_get_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:52155:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_get_options(x0); }
~ ^~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:581:9: note: expanded from macro 'SSL_get_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53820:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_set_mode(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:592:2: note: expanded from macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53820:27: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_set_mode(x0, x1);
~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:592:32: note: expanded from macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53853:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_set_mode(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:592:2: note: expanded from macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53853:31: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_set_mode(x0, x1); }
~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:592:32: note: expanded from macro 'SSL_set_mode'
SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53866:10: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
return SSL_set_options(x0, x1);
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:577:2: note: expanded from macro 'SSL_set_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53866:30: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
return SSL_set_options(x0, x1);
~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:577:35: note: expanded from macro 'SSL_set_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53899:14: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
{ result = SSL_set_options(x0, x1); }
~ ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/openssl/ssl.h:577:2: note: expanded from macro 'SSL_set_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:53899:34: warning: implicit conversion changes signedness: 'unsigned long' to 'long' [-Wsign-conversion]
{ result = SSL_set_options(x0, x1); }
~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/openssl/ssl.h:577:35: note: expanded from macro 'SSL_set_options'
SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
~~~~~~~~ ^~
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:62265:23: warning: passing 'ASN1_OCTET_STRING **' (aka 'struct asn1_string_st **') to parameter of type 'const ASN1_BIT_STRING **' (aka 'const struct asn1_string_st **') discards
qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
X509_get0_signature(x0, x1, x2);
^~
/usr/local/include/openssl/x509.h:919:50: note: passing argument to parameter 'psig' here
void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:62265:27: warning: passing 'X509_ALGOR **' (aka 'struct X509_algor_st **') to parameter of type 'const X509_ALGOR **' (aka 'const struct X509_algor_st **') discards qualifiers in
nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
X509_get0_signature(x0, x1, x2);
^~
/usr/local/include/openssl/x509.h:920:24: note: passing argument to parameter 'palg' here
const X509_ALGOR **palg, const X509 *x);
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:62317:25: warning: passing 'ASN1_OCTET_STRING **' (aka 'struct asn1_string_st **') to parameter of type 'const ASN1_BIT_STRING **' (aka 'const struct asn1_string_st **') discards
qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
{ X509_get0_signature(x0, x1, x2); }
^~
/usr/local/include/openssl/x509.h:919:50: note: passing argument to parameter 'psig' here
void X509_get0_signature(const ASN1_BIT_STRING **psig,
^
build/temp.freebsd-11.1-RELEASE-p10-amd64-2.7/_openssl.c:62317:29: warning: passing 'X509_ALGOR **' (aka 'struct X509_algor_st **') to parameter of type 'const X509_ALGOR **' (aka 'const struct X509_algor_st **') discards qualifiers in
nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
{ X509_get0_signature(x0, x1, x2); }
^~
/usr/local/include/openssl/x509.h:920:24: note: passing argument to parameter 'palg' here
const X509_ALGOR **palg, const X509 *x);
^
48 warnings and 7 errors generated.
error: command 'cc' failed with exit status 1
*** Error code 1
Stop.
make: stopped in /usr/ports/security/py-cryptography
===>>> make build failed for security/py-cryptography@py27
===>>> Aborting update
===>>> You can restart from the point of failure with this command line:
portmaster <flags> security/py-cryptography@py27
This command has been saved to /tmp/portmasterfail.txt
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.