=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for rtmpdump-2.4nb3 --- librtmp/librtmp.la --- --- rtmpdump.o --- --- rtmpgw.o --- --- thread.o --- --- rtmpsrv.o --- --- rtmpsuck.o --- gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/include -c rtmpsuck.c --- librtmp/librtmp.la --- --- rtmp.o --- --- log.o --- --- amf.o --- --- hashswf.o --- --- parseurl.o --- --- rtmp.o --- /data/scratch/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c rtmp.c --- amf.o --- /data/scratch/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c amf.c --- rtmpgw.o --- gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/include -c rtmpgw.c --- librtmp/librtmp.la --- --- parseurl.o --- /data/scratch/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c parseurl.c --- log.o --- /data/scratch/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c log.c --- rtmpdump.o --- gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/include -c rtmpdump.c --- librtmp/librtmp.la --- --- hashswf.o --- /data/scratch/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c hashswf.c --- rtmpsuck.o --- rtmpsuck.c:127:1: warning: unused variable 'av_fpad' [-Wunused-const-variable] SAVC(fpad); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :79:1: note: expanded from here av_fpad ^ rtmpsuck.c:128:1: warning: unused variable 'av_capabilities' [-Wunused-const-variable] SAVC(capabilities); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :81:1: note: expanded from here av_capabilities ^ rtmpsuck.c:131:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable] SAVC(videoFunction); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :87:1: note: expanded from here av_videoFunction ^ rtmpsuck.c:133:1: warning: unused variable 'av__result' [-Wunused-const-variable] SAVC(_result); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :91:1: note: expanded from here av__result ^ rtmpsuck.c:134:1: warning: unused variable 'av_createStream' [-Wunused-const-variable] SAVC(createStream); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :93:1: note: expanded from here av_createStream ^ rtmpsuck.c:137:1: warning: unused variable 'av_fmsVer' [-Wunused-const-variable] SAVC(fmsVer); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :99:1: note: expanded from here av_fmsVer ^ rtmpsuck.c:138:1: warning: unused variable 'av_mode' [-Wunused-const-variable] SAVC(mode); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :101:1: note: expanded from here av_mode ^ rtmpsuck.c:141:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable] SAVC(secureToken); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :107:1: note: expanded from here av_secureToken ^ --- rtmpsrv.o --- gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/include -c rtmpsrv.c --- thread.o --- gcc -Wall -O2 -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/include -c thread.c --- rtmpdump.o --- rtmpdump.c:334:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (prevTagSize < 0 || prevTagSize > size - 4 - 13) ~~~~~~~~~~~ ^ ~ rtmpdump.c:397:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (*dSeek < 0) ~~~~~~ ^ ~ --- librtmp/librtmp.la --- --- log.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c log.c -fPIC -DPIC -o .libs/log.o --- hashswf.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c hashswf.c -fPIC -DPIC -o .libs/hashswf.o --- rtmp.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c rtmp.c -fPIC -DPIC -o .libs/rtmp.o --- log.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c log.c -o log.o >/dev/null 2>&1 --- rtmpdump.o --- 2 warnings generated. --- rtmpsrv.o --- rtmpsrv.c:150:1: warning: unused variable 'av_fpad' [-Wunused-const-variable] SAVC(fpad); ^ rtmpsrv.c:142:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :85:1: note: expanded from here av_fpad ^ rtmpsrv.c:154:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable] SAVC(videoFunction); ^ rtmpsrv.c:142:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :93:1: note: expanded from here av_videoFunction ^ rtmpsrv.c:165:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable] SAVC(secureToken); ^ rtmpsrv.c:142:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :115:1: note: expanded from here av_secureToken ^ --- rtmpsuck.o --- 8 warnings generated. --- librtmp/librtmp.la --- --- hashswf.o --- hashswf.c:292:12: error: field has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ hashswf.c:396:14: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*n)) ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ hashswf.c:585:3: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^ hashswf.c:60:35: note: expanded from macro 'HMAC_setup' #define HMAC_setup(ctx, key, len) HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, (unsigned char *)key, len, EVP_sha256(), 0) ^ hashswf.c:651:3: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_close(in.ctx); ^ hashswf.c:63:25: note: expanded from macro 'HMAC_close' #define HMAC_close(ctx) HMAC_CTX_cleanup(&ctx) ^ 3 warnings and 1 error generated. *** [hashswf.o] Error code 1 make[1]: stopped in /data/scratch/net/rtmpdump/work/rtmpdump/librtmp --- amf.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c amf.c -fPIC -DPIC -o .libs/amf.o --- parseurl.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c parseurl.c -fPIC -DPIC -o .libs/parseurl.o --- rtmpsrv.o --- 3 warnings generated. --- librtmp/librtmp.la --- --- rtmp.o --- In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:214:12: error: incomplete definition of type 'struct dh_st' MP_new(dh->g); ~~^ ./dh.h:129:19: note: expanded from macro 'MP_new' #define MP_new(m) m = BN_new() ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:216:10: error: incomplete definition of type 'struct dh_st' if (!dh->g) ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:219:15: error: incomplete definition of type 'struct dh_st' MP_gethex(dh->p, P1024, res); /* prime P1024, see dhgroups.h */ ~~^ ./dh.h:137:49: note: expanded from macro 'MP_gethex' #define MP_gethex(u, hex, res) res = BN_hex2bn(&u, hex) ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:225:14: error: incomplete definition of type 'struct dh_st' MP_set_w(dh->g, 2); /* base 2 */ ~~^ ./dh.h:130:38: note: expanded from macro 'MP_set_w' #define MP_set_w(mpi, w) BN_set_word(mpi, w) ^~~ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:227:5: error: incomplete definition of type 'struct dh_st' dh->length = nKeyBits; ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:254:32: error: incomplete definition of type 'struct dh_st' res = isValidPublicKey(dh->pub_key, dh->p, q1); ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:254:45: error: incomplete definition of type 'struct dh_st' res = isValidPublicKey(dh->pub_key, dh->p, q1); ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:257:14: error: incomplete definition of type 'struct dh_st' MP_free(dh->pub_key); ~~^ ./dh.h:136:30: note: expanded from macro 'MP_free' #define MP_free(mpi) BN_free(mpi) ^~~ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:258:14: error: incomplete definition of type 'struct dh_st' MP_free(dh->priv_key); ~~^ ./dh.h:136:30: note: expanded from macro 'MP_free' #define MP_free(mpi) BN_free(mpi) ^~~ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:259:6: error: incomplete definition of type 'struct dh_st' dh->pub_key = dh->priv_key = 0; ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:259:20: error: incomplete definition of type 'struct dh_st' dh->pub_key = dh->priv_key = 0; ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:275:17: error: incomplete definition of type 'struct dh_st' if (!dh || !dh->pub_key) ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:278:20: error: incomplete definition of type 'struct dh_st' len = MP_bytes(dh->pub_key); ~~^ ./dh.h:138:34: note: expanded from macro 'MP_bytes' #define MP_bytes(u) BN_num_bytes(u) ^ /usr/include/openssl/bn.h:142:40: note: expanded from macro 'BN_num_bytes' # define BN_num_bytes(a) ((BN_num_bits(a)+7)/8) ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:283:15: error: incomplete definition of type 'struct dh_st' MP_setbin(dh->pub_key, pubkey + (nPubkeyLen - len), len); ~~^ ./dh.h:139:40: note: expanded from macro 'MP_setbin' #define MP_setbin(u,buf,len) BN_bn2bin(u,buf) ^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: In file included from ./handshake.h:83: ./dh.h:325:36: error: incomplete definition of type 'struct dh_st' if (isValidPublicKey(pubkeyBn, dh->p, q1)) ~~^ /usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of 'struct dh_st' typedef struct dh_st DH; ^ In file included from rtmp.c:126: ./handshake.h:117:12: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ In file included from rtmp.c:126: ./handshake.h:122:3: warning: implicit declaration of function 'HMAC_CTX_init' is invalid in C99 [-Wimplicit-function-declaration] HMAC_setup(ctx, secretKey, 128); ^ ./handshake.h:69:35: note: expanded from macro 'HMAC_setup' #define HMAC_setup(ctx, key, len) HMAC_CTX_init(&ctx); HMAC_Init_ex(&ctx, key, len, EVP_sha256(), 0) ^ ./handshake.h:124:3: warning: implicit declaration of function 'HMAC_CTX_cleanup' is invalid in C99 [-Wimplicit-function-declaration] HMAC_finish(ctx, digest, digestLen); ^ ./handshake.h:71:67: note: expanded from macro 'HMAC_finish' #define HMAC_finish(ctx, dig, dlen) HMAC_Final(&ctx, dig, &dlen); HMAC_CTX_cleanup(&ctx) ^ ./handshake.h:266:12: error: variable has incomplete type 'HMAC_CTX' (aka 'struct hmac_ctx_st') HMAC_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:102:16: note: forward declaration of 'struct hmac_ctx_st' typedef struct hmac_ctx_st HMAC_CTX; ^ --- amf.o --- In file included from amf.c:33: --- rtmp.o --- 2 warnings and 17 errors generated. --- amf.o --- ./bytes.h:74:2: warning: "Float word order not defined, assuming the same as byte order!" [-W#warnings] #warning "Float word order not defined, assuming the same as byte order!" ^ --- rtmp.o --- *** [rtmp.o] Error code 1 make[1]: stopped in /data/scratch/net/rtmpdump/work/rtmpdump/librtmp --- amf.o --- 1 warning generated. libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c amf.c -o amf.o >/dev/null 2>&1 --- parseurl.o --- libtool: compile: gcc -Wall -O2 -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c parseurl.c -o parseurl.o >/dev/null 2>&1 2 errors make[1]: stopped in /data/scratch/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 make: stopped in /data/scratch/net/rtmpdump/work/rtmpdump 1 error make: stopped in /data/scratch/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/rtmpdump *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/rtmpdump