=> Building security/py-pow@py27 Started : Tuesday, 4 FEB 2020 at 10:22:48 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1284.g34ca1-DEVELOPMENT #20: Fri Jan 17 02:50:51 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for py27-pow-0.7_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/construction/security/py-pow XDG_CONFIG_HOME=/construction/security/py-pow HOME=/construction/security/py-pow TMPDIR="/tmp" PATH=/construction/security/py-pow/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/security/py-pow XDG_CONFIG_HOME=/construction/security/py-pow HOME=/construction/security/py-pow TMPDIR="/tmp" PATH=/construction/security/py-pow/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/security/py-pow/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PYTHON_INCLUDEDIR=include/python2.7 PYTHON_LIBDIR=lib/python2.7 PYTHON_PLATFORM=dragonfly5 PYTHON_SITELIBDIR=lib/python2.7/site-packages PYTHON_SUFFIX=27 PYTHON_VER=2.7 PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pow" EXAMPLESDIR="share/examples/pow" DATADIR="share/pow" WWWDIR="www/pow" ETCDIR="etc/pow" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pow DOCSDIR=/usr/local/share/doc/pow EXAMPLESDIR=/usr/local/share/examples/pow WWWDIR=/usr/local/www/pow ETCDIR=/usr/local/etc/pow -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The pow port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unmaintained, uses EOLed python27. It is scheduled to be removed on or after 2020-01-27. -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> py27-pow-0.7_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.12.0_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... done ===> py27-pow-0.7_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of py27-pow-0.7_2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The pow port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unmaintained, uses EOLed python27. It is scheduled to be removed on or after 2020-01-27. ===> Fetching all distfiles required by py27-pow-0.7_2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The pow port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unmaintained, uses EOLed python27. It is scheduled to be removed on or after 2020-01-27. ===> Fetching all distfiles required by py27-pow-0.7_2 for building => SHA256 Checksum OK for POW-0.7.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The pow port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Unmaintained, uses EOLed python27. It is scheduled to be removed on or after 2020-01-27. ===> Fetching all distfiles required by py27-pow-0.7_2 for building ===> Extracting for py27-pow-0.7_2 => SHA256 Checksum OK for POW-0.7.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for py27-pow-0.7_2 ===> Applying ports patches for py27-pow-0.7_2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> py27-pow-0.7_2 depends on package: py27-setuptools>0 - not found ===> Installing existing package /packages/All/py27-setuptools-44.0.0.txz Installing py27-setuptools-44.0.0... `-- Installing python27-2.7.17_1... | `-- Installing expat-2.2.8... | `-- Extracting expat-2.2.8: .......... done | `-- Installing gettext-runtime-0.20.1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: . done | `-- Extracting gettext-runtime-0.20.1: .......... done | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing ncurses-6.1.20190525... | `-- Extracting ncurses-6.1.20190525: .......... done | `-- Installing openssl-1.1.1d,1... | `-- Extracting openssl-1.1.1d,1: .......... done | `-- Installing readline-8.0.1... | `-- Extracting readline-8.0.1: .......... done `-- Extracting python27-2.7.17_1: .......... done Extracting py27-setuptools-44.0.0: .......... done ===== Message from python27-2.7.17_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter ===== Message from py27-setuptools-44.0.0: -- Only /usr/local/bin/easy_install-2.7 script has been installed since Python 2.7 is not the default Python version. ===> py27-pow-0.7_2 depends on package: py27-setuptools>0 - found ===> Returning to build of py27-pow-0.7_2 ===> py27-pow-0.7_2 depends on file: /usr/local/bin/python2.7 - found ===> py27-pow-0.7_2 depends on file: /usr/local/lib/libcrypto.so.11 - found -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for py27-pow-0.7_2 parsing configuration file writing object module writing oid module running config -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for py27-pow-0.7_2 cd /construction/security/py-pow/POW-0.7 && /usr/local/bin/python2.7 setup.py build_ext -D NO_RC5_32_12_16 build parsing configuration file writing object module writing oid module running build_ext building 'POW._POW' extension creating build creating build/temp.dragonfly-5.7-SYNTH-x86_64-2.7 cc -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -DNDEBUG -fPIC -DNO_RC5_32_12_16=1 -I/usr/local/include -I/usr/local/include/python2.7 -c POW.c -o build/temp.dragonfly-5.7-SYNTH-x86_64-2.7/POW.o POW.c:240:19: error: field 'cipher_ctx' has incomplete type EVP_CIPHER_CTX cipher_ctx; ^~~~~~~~~~ POW.c:246:15: error: field 'digest_ctx' has incomplete type EVP_MD_CTX digest_ctx; ^~~~~~~~~~ POW.c:252:13: error: field 'hmac_ctx' has incomplete type HMAC_CTX hmac_ctx; ^~~~~~~~ POW.c: In function 'evp_cipher_factory': POW.c:326:53: warning: implicit declaration of function 'EVP_idea_ecb'; did you mean 'EVP_des_ecb'? [-Wimplicit-function-declaration] case IDEA_ECB: return (EVP_CIPHER *) EVP_idea_ecb(); ^~~~~~~~~~~~ EVP_des_ecb POW.c:326:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case IDEA_ECB: return (EVP_CIPHER *) EVP_idea_ecb(); ^ POW.c:327:53: warning: implicit declaration of function 'EVP_idea_cfb'; did you mean 'EVP_des_cfb'? [-Wimplicit-function-declaration] case IDEA_CFB: return (EVP_CIPHER *) EVP_idea_cfb(); ^~~~~~~~~~~~ EVP_des_cfb POW.c:327:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case IDEA_CFB: return (EVP_CIPHER *) EVP_idea_cfb(); ^ POW.c:328:53: warning: implicit declaration of function 'EVP_idea_ofb'; did you mean 'EVP_des_ofb'? [-Wimplicit-function-declaration] case IDEA_OFB: return (EVP_CIPHER *) EVP_idea_ofb(); ^~~~~~~~~~~~ EVP_des_ofb POW.c:328:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case IDEA_OFB: return (EVP_CIPHER *) EVP_idea_ofb(); ^ POW.c:329:53: warning: implicit declaration of function 'EVP_idea_cbc'; did you mean 'EVP_des_cbc'? [-Wimplicit-function-declaration] case IDEA_CBC: return (EVP_CIPHER *) EVP_idea_cbc(); ^~~~~~~~~~~~ EVP_des_cbc POW.c:329:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] case IDEA_CBC: return (EVP_CIPHER *) EVP_idea_cbc(); ^ POW.c: In function 'X509_object_helper_get_name': POW.c:468:16: error: dereferencing pointer to incomplete type 'X509_NAME_ENTRY' {aka 'struct X509_name_entry_st'} if (entry->value->length + 1 > value_len) ^~ POW.c: In function 'X509_object_sign': POW.c:809:43: warning: implicit declaration of function 'EVP_sha'; did you mean 'EVP_sha1'? [-Wimplicit-function-declaration] if (!X509_sign(self->x509, pkey, EVP_sha() ) ) ^~~~~~~ EVP_sha1 POW.c:809:43: warning: passing argument 3 of 'X509_sign' makes pointer from integer without a cast [-Wint-conversion] if (!X509_sign(self->x509, pkey, EVP_sha() ) ) ^~~~~~~~~ In file included from POW.c:42: /usr/local/include/openssl/x509.h:367:54: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); ~~~~~~~~~~~~~~^~ POW.c: In function 'X509_object_get_not_before': POW.c:1211:40: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} return Py_BuildValue("s", self->x509->cert_info->validity->notBefore->data); ^~ POW.c: In function 'X509_object_add_extension': POW.c:1372:25: warning: implicit declaration of function 'M_ASN1_OCTET_STRING_new'; did you mean 'ASN1_OCTET_STRING_new'? [-Wimplicit-function-declaration] if ( !(octetString = M_ASN1_OCTET_STRING_new() ) ) ^~~~~~~~~~~~~~~~~~~~~~~ ASN1_OCTET_STRING_new POW.c:1372:23: warning: assignment to 'ASN1_OCTET_STRING *' {aka 'struct asn1_string_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ( !(octetString = M_ASN1_OCTET_STRING_new() ) ) ^ POW.c: In function 'X509_object_get_extension': POW.c:1509:48: error: dereferencing pointer to incomplete type 'X509_EXTENSION' {aka 'struct X509_extension_st'} if ( NID_undef == (ext_nid = OBJ_obj2nid(ext->object) ) ) ^~ POW.c: In function 'x509_store_object_verify': POW.c:1739:19: error: storage size of 'csc' isn't known X509_STORE_CTX csc; ^~~ POW.c: In function 'x509_store_object_verify_chain': POW.c:1793:19: error: storage size of 'csc' isn't known X509_STORE_CTX csc; ^~~ POW.c: In function 'x509_crl_object_get_version': POW.c:2087:47: error: dereferencing pointer to incomplete type 'X509_CRL' {aka 'struct X509_crl_st'} if ( (version = ASN1_INTEGER_get( self->crl->crl->version ) ) == -1 ) ^~ POW.c: In function 'X509_crl_object_add_extension': POW.c:2644:23: warning: assignment to 'ASN1_OCTET_STRING *' {aka 'struct asn1_string_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ( !(octetString = M_ASN1_OCTET_STRING_new() ) ) ^ POW.c: In function 'x509_crl_object_sign': POW.c:2849:46: warning: passing argument 3 of 'X509_CRL_sign' makes pointer from integer without a cast [-Wint-conversion] if (!X509_CRL_sign(self->crl, pkey, EVP_sha() ) ) ^~~~~~~~~ In file included from POW.c:42: /usr/local/include/openssl/x509.h:374:62: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); ~~~~~~~~~~~~~~^~ POW.c: In function 'x509_revoked_object_set_serial': POW.c:3200:40: error: dereferencing pointer to incomplete type 'X509_REVOKED' {aka 'struct x509_revoked_st'} if (!ASN1_INTEGER_set( self->revoked->serialNumber, serial ) ) ^~ POW.c: In function 'X509_revoked_object_add_extension': POW.c:3356:23: warning: assignment to 'ASN1_OCTET_STRING *' {aka 'struct asn1_string_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] if ( !(octetString = M_ASN1_OCTET_STRING_new() ) ) ^ POW.c: In function 'newssl_object': POW.c:4406:43: warning: implicit declaration of function 'SSLv2_server_method'; did you mean 'SSLv23_server_method'? [-Wimplicit-function-declaration] case SSLV2_SERVER_METHOD: method = SSLv2_server_method(); break; ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method POW.c:4406:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV2_SERVER_METHOD: method = SSLv2_server_method(); break; ^ POW.c:4407:43: warning: implicit declaration of function 'SSLv2_client_method'; did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration] case SSLV2_CLIENT_METHOD: method = SSLv2_client_method(); break; ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method POW.c:4407:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV2_CLIENT_METHOD: method = SSLv2_client_method(); break; ^ POW.c:4408:43: warning: implicit declaration of function 'SSLv2_method'; did you mean 'SSLv23_method'? [-Wimplicit-function-declaration] case SSLV2_METHOD: method = SSLv2_method(); break; ^~~~~~~~~~~~ SSLv23_method POW.c:4408:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV2_METHOD: method = SSLv2_method(); break; ^ POW.c:4409:43: warning: implicit declaration of function 'SSLv3_server_method'; did you mean 'SSLv23_server_method'? [-Wimplicit-function-declaration] case SSLV3_SERVER_METHOD: method = SSLv3_server_method(); break; ^~~~~~~~~~~~~~~~~~~ SSLv23_server_method POW.c:4409:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV3_SERVER_METHOD: method = SSLv3_server_method(); break; ^ POW.c:4410:43: warning: implicit declaration of function 'SSLv3_client_method'; did you mean 'SSLv23_client_method'? [-Wimplicit-function-declaration] case SSLV3_CLIENT_METHOD: method = SSLv3_client_method(); break; ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method POW.c:4410:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV3_CLIENT_METHOD: method = SSLv3_client_method(); break; ^ POW.c:4411:43: warning: implicit declaration of function 'SSLv3_method'; did you mean 'SSLv23_method'? [-Wimplicit-function-declaration] case SSLV3_METHOD: method = SSLv3_method(); break; ^~~~~~~~~~~~ SSLv23_method POW.c:4411:41: warning: assignment to 'SSL_METHOD *' {aka 'struct ssl_method_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] case SSLV3_METHOD: method = SSLv3_method(); break; ^ POW.c:4412:7: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] case TLSV1_SERVER_METHOD: method = TLSv1_server_method(); break; ^~~~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from POW.c:39: /usr/local/include/openssl/ssl.h:1878:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/ssl.h:1878:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^~~~~~~~~~~~~~~~~~ POW.c:4412:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case TLSV1_SERVER_METHOD: method = TLSv1_server_method(); break; ^ POW.c:4413:7: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] case TLSV1_CLIENT_METHOD: method = TLSv1_client_method(); break; ^~~~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from POW.c:39: /usr/local/include/openssl/ssl.h:1879:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/ssl.h:1879:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ POW.c:4413:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case TLSV1_CLIENT_METHOD: method = TLSv1_client_method(); break; ^ POW.c:4414:7: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] case TLSV1_METHOD: method = TLSv1_method(); break; ^~~~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from POW.c:39: /usr/local/include/openssl/ssl.h:1877:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/ssl.h:1877:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ POW.c:4414:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case TLSV1_METHOD: method = TLSv1_method(); break; ^ POW.c:4415:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case SSLV23_SERVER_METHOD: method = SSLv23_server_method(); break; ^ POW.c:4416:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case SSLV23_CLIENT_METHOD: method = SSLv23_client_method(); break; ^ POW.c:4417:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] case SSLV23_METHOD: method = SSLv23_method(); break; ^ POW.c: In function 'asymmetric_object_new': POW.c:4508:4: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if ( !(self->cipher = RSA_generate_key(key_size,RSA_F4,NULL,NULL) ) ) ^~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from POW.c:39: /usr/local/include/openssl/rsa.h:234:25: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/rsa.h:234:1: note: in expansion of macro 'DEPRECATEDIN_0_9_8' DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ POW.c: In function 'digest_object_new': POW.c:5553:79: warning: passing argument 2 of 'EVP_DigestInit' makes pointer from integer without a cast [-Wint-conversion] { self->digest_type = SHA_DIGEST; EVP_DigestInit( &self->digest_ctx, EVP_sha() ); break; } ^~~~~~~~~ In file included from /usr/local/include/openssl/x509.h:18, from POW.c:42: /usr/local/include/openssl/evp.h:559:58: note: expected 'const EVP_MD *' {aka 'const struct evp_md_st *'} but argument is of type 'int' __owur int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type); ~~~~~~~~~~~~~~^~~~ POW.c: In function 'digest_object_copy': POW.c:5629:56: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'} memcpy( &new->digest_ctx, &self->digest_ctx, sizeof(EVP_MD_CTX) ); ^~~~~~~~~~ POW.c: In function 'digest_object_digest': POW.c:5666:36: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'} if ( !(md_copy = malloc( sizeof(EVP_MD_CTX) ) ) ) ^~~~~~~~~~ POW.c:5668:47: error: invalid application of 'sizeof' to incomplete type 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'} memcpy( md_copy, &self->digest_ctx, sizeof(EVP_MD_CTX) ); ^~~~~~~~~~ POW.c: In function 'hmac_object_new': POW.c:5769:15: warning: assignment to 'const EVP_MD *' {aka 'const struct evp_md_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] { md = EVP_sha(); break; } ^ POW.c:5778:4: warning: 'HMAC_Init' is deprecated [-Wdeprecated-declarations] HMAC_Init( &self->hmac_ctx, key, key_len, md ); ^~~~~~~~~ In file included from /usr/local/include/openssl/e_os2.h:13, from /usr/local/include/openssl/crypto.h:17, from POW.c:39: /usr/local/include/openssl/hmac.h:30:31: note: declared here DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~ /usr/local/include/openssl/opensslconf.h:133:37: note: in definition of macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ /usr/local/include/openssl/hmac.h:30:1: note: in expansion of macro 'DEPRECATEDIN_1_1_0' DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, ^~~~~~~~~~~~~~~~~~ POW.c: In function 'hmac_object_copy': POW.c:5846:52: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} memcpy( &new->hmac_ctx, &self->hmac_ctx, sizeof(HMAC_CTX) ); ^~~~~~~~ POW.c: In function 'hmac_object_mac': POW.c:5883:38: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} if ( !(hmac_copy = malloc( sizeof(HMAC_CTX) ) ) ) ^~~~~~~~ POW.c:5886:47: error: invalid application of 'sizeof' to incomplete type 'HMAC_CTX' {aka 'struct hmac_ctx_st'} memcpy( hmac_copy, &self->hmac_ctx, sizeof(HMAC_CTX) ); ^~~~~~~~ error: command 'cc' failed with exit status 1 *** Error code 1 Stop. make: stopped in /xports/security/py-pow -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Tuesday, 4 FEB 2020 at 10:23:11 UTC Duration: 00:00:22