=> Building security/pvk Started : Friday, 21 FEB 2020 at 09:28:33 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 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 -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/security/pvk XDG_CONFIG_HOME=/construction/security/pvk HOME=/construction/security/pvk TMPDIR="/tmp" PATH=/construction/security/pvk/.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/pvk XDG_CONFIG_HOME=/construction/security/pvk HOME=/construction/security/pvk TMPDIR="/tmp" PATH=/construction/security/pvk/.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 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -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/pvk/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/pvk" EXAMPLESDIR="share/examples/pvk" DATADIR="share/pvk" WWWDIR="www/pvk" ETCDIR="etc/pvk" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pvk DOCSDIR=/usr/local/share/doc/pvk EXAMPLESDIR=/usr/local/share/examples/pvk WWWDIR=/usr/local/www/pvk ETCDIR=/usr/local/etc/pvk -------------------------------------------------- -- /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 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> pvk-20070406 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 ===> pvk-20070406 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pvk-20070406 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pvk-20070406 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pvk-20070406 for building => SHA256 Checksum OK for pvksrc.tgz.bin. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by pvk-20070406 for building ===> Extracting for pvk-20070406 => SHA256 Checksum OK for pvksrc.tgz.bin. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for pvk-20070406 ===> Applying ports patches for pvk-20070406 /usr/bin/env WRKSRC=/construction/security/pvk/pvk-20070406 REWARNFILE=/construction/security/pvk/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's|\(-lcrypto\)|$(LDFLAGS) \1|g' /construction/security/pvk/pvk-20070406/Makefile -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/lib/libcrypto.so.11 - not found ===> Installing existing package /packages/All/openssl-1.1.1d,1.txz Installing openssl-1.1.1d,1... Extracting openssl-1.1.1d,1: .......... done ===> pvk-20070406 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Returning to build of pvk-20070406 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for pvk-20070406 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for pvk-20070406 --- pvk.o --- --- pvkread.o --- --- pvkwrite.o --- --- pvkerr.o --- --- pvk.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvk.c --- pvkread.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvkread.c --- pvkwrite.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvkwrite.c --- pvkerr.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvkerr.c --- pvkread.o --- In file included from /usr/local/include/openssl/pem.h:14, from pvkread.c:62: pvkread.c: In function 'scan_magic': /usr/local/include/openssl/bio.h:479:34: warning: value computed is not used [-Wunused-value] # define BIO_reset(b) (int)BIO_ctrl(b,BIO_CTRL_RESET,0,NULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pvkread.c:105:3: note: in expansion of macro 'BIO_reset' BIO_reset(in); ^~~~~~~~~ pvkread.c: In function 'pvk_read': pvkread.c:112:22: warning: pointer targets in passing argument 2 of 'scan_magic' differ in signedness [-Wpointer-sign] if( !scan_magic(in, &pvk->magic) || ^~~~~~~~~~~ pvkread.c:98:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int scan_magic(BIO *in, unsigned long *magic) ^~~~~~~~~~ pvkread.c:113:26: warning: pointer targets in passing argument 2 of 'read_dword' differ in signedness [-Wpointer-sign] !read_dword(in, &pvk->res) || ^~~~~~~~~ pvkread.c:80:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int read_dword(BIO *in, unsigned long *dat) ^~~~~~~~~~ pvkread.c:114:26: warning: pointer targets in passing argument 2 of 'read_dword' differ in signedness [-Wpointer-sign] !read_dword(in, &pvk->keytype) || ^~~~~~~~~~~~~ pvkread.c:80:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int read_dword(BIO *in, unsigned long *dat) ^~~~~~~~~~ pvkread.c:115:26: warning: pointer targets in passing argument 2 of 'read_dword' differ in signedness [-Wpointer-sign] !read_dword(in, &pvk->crypt) || ^~~~~~~~~~~ pvkread.c:80:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int read_dword(BIO *in, unsigned long *dat) ^~~~~~~~~~ pvkread.c:116:19: warning: pointer targets in passing argument 2 of 'read_dword' differ in signedness [-Wpointer-sign] !read_dword(in, &pvk->saltlen) || ^~~~~~~~~~~~~ pvkread.c:80:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int read_dword(BIO *in, unsigned long *dat) ^~~~~~~~~~ pvkread.c:117:19: warning: pointer targets in passing argument 2 of 'read_dword' differ in signedness [-Wpointer-sign] !read_dword(in, &pvk->keylen) ) { ^~~~~~~~~~~~ pvkread.c:80:12: note: expected 'long unsigned int *' but argument is of type 'long int *' static int read_dword(BIO *in, unsigned long *dat) ^~~~~~~~~~ pvkread.c: In function 'pvk_decrypt': pvkread.c:160:13: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; ^~~ pvkread.c:161:17: error: storage size of 'cctx' isn't known EVP_CIPHER_CTX cctx; ^~~~ pvkread.c:180:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(buf, "RSA2", 4)) { ^~~ In file included from pvkread.c:61: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ pvkread.c:186:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if(strncmp(buf, "RSA2", 4)) { ^~~ In file included from pvkread.c:61: /usr/include/string.h:117:6: note: expected 'const char *' but argument is of type 'unsigned char *' int strncmp(const char *, const char *, size_t) __pure; ^~~~~~~ pvkread.c:161:17: warning: unused variable 'cctx' [-Wunused-variable] EVP_CIPHER_CTX cctx; ^~~~ pvkread.c:160:13: warning: unused variable 'ctx' [-Wunused-variable] EVP_MD_CTX ctx; ^~~ pvkread.c: In function 'pvk2rsa': pvkread.c:219:10: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} if(!(rsa->e = BN_new ())) goto err; ^~ *** [pvkread.o] Error code 1 make[1]: stopped in /construction/security/pvk/pvk-20070406 --- pvk.o --- pvk.c: In function 'main': pvk.c:84:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (!strcmp (*args, "-topvk")) topvk = 1; ^~~~~~ pvk.c:136:25: warning: too many arguments for format [-Wformat-extra-args] BIO_printf (bio_err, "Error reading key\n", outfile); ^~~~~~~~~~~~~~~~~~~~~ pvk.c:141:25: warning: too many arguments for format [-Wformat-extra-args] BIO_printf (bio_err, "Error converting key\n", outfile); ^~~~~~~~~~~~~~~~~~~~~~~~ pvk.c:155:24: warning: too many arguments for format [-Wformat-extra-args] BIO_printf (bio_err, "Error reading key\n", outfile); ^~~~~~~~~~~~~~~~~~~~~ --- pvkwrite.o --- pvkwrite.c: In function 'pvk_encrypt': pvkwrite.c:128:13: error: storage size of 'ctx' isn't known EVP_MD_CTX ctx; ^~~ pvkwrite.c:129:17: error: storage size of 'cctx' isn't known EVP_CIPHER_CTX cctx; ^~~~ pvkwrite.c:129:17: warning: unused variable 'cctx' [-Wunused-variable] pvkwrite.c:128:13: warning: unused variable 'ctx' [-Wunused-variable] EVP_MD_CTX ctx; ^~~ In file included from /usr/local/include/openssl/asn1.h:23, from /usr/local/include/openssl/objects.h:15, from /usr/local/include/openssl/evp.h:28, from /usr/local/include/openssl/pem.h:16, from pvkwrite.c:62: pvkwrite.c: In function 'rsa2pvk': pvkwrite.c:205:30: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} numbytes = BN_num_bytes (rsa->n); ^~ /usr/local/include/openssl/bn.h:181:40: note: in definition of macro 'BN_num_bytes' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ *** [pvkwrite.o] Error code 1 make[1]: stopped in /construction/security/pvk/pvk-20070406 2 errors make[1]: stopped in /construction/security/pvk/pvk-20070406 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/security/pvk -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 21 FEB 2020 at 09:28:44 UTC Duration: 00:00:11