------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/openssl-1.1.1d,1.txz SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pvk-20070406 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pvk-20070406 for building => SHA256 Checksum OK for pvksrc.tgz.bin. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pvk-20070406 for building ===> Extracting for pvk-20070406 => SHA256 Checksum OK for pvksrc.tgz.bin. Extracted Memory Use: 0.06M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/lib/libcrypto.so.11 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> pvk-20070406 depends on file: /usr/local/lib/libcrypto.so.11 - found ===> Configuring for pvk-20070406 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 --- pvkerr.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvkerr.c --- pvkwrite.o --- cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -Wall -c pvkwrite.c 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 --- 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); ^~~~~~~~~~~~~~~~~~~~~ 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 FAILED 00:00:00