=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for rtmpdump-2.4.0.0.fa8646daeb19dfd12c181f7d19de708d623704c0nb12 --- librtmp/librtmp.la --- --- rtmpdump.o --- --- rtmpgw.o --- --- thread.o --- --- rtmpsrv.o --- --- rtmpsuck.o --- --- rtmpdump.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -c rtmpdump.c --- rtmpgw.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -c rtmpgw.c --- rtmpsrv.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -c rtmpsrv.c --- thread.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -c thread.c --- rtmpsuck.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -c rtmpsuck.c --- librtmp/librtmp.la --- --- rtmp.o --- --- log.o --- --- amf.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c --- rtmp.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c --- log.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c --- rtmpsuck.o --- rtmpsuck.c:119:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:141:1: note: in expansion of macro 'SAVC' SAVC(secureToken); ^~~~ rtmpsuck.c:119:35: warning: 'av_mode' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:138:1: note: in expansion of macro 'SAVC' SAVC(mode); ^~~~ rtmpsuck.c:119:35: warning: 'av_fmsVer' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:137:1: note: in expansion of macro 'SAVC' SAVC(fmsVer); ^~~~ rtmpsuck.c:119:35: warning: 'av_createStream' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:134:1: note: in expansion of macro 'SAVC' SAVC(createStream); ^~~~ rtmpsuck.c:119:35: warning: 'av__result' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:133:1: note: in expansion of macro 'SAVC' SAVC(_result); ^~~~ rtmpsuck.c:119:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:131:1: note: in expansion of macro 'SAVC' SAVC(videoFunction); ^~~~ rtmpsuck.c:119:35: warning: 'av_capabilities' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:128:1: note: in expansion of macro 'SAVC' SAVC(capabilities); ^~~~ rtmpsuck.c:119:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsuck.c:127:1: note: in expansion of macro 'SAVC' SAVC(fpad); ^~~~ --- rtmpsrv.o --- rtmpsrv.c:147:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:170:1: note: in expansion of macro 'SAVC' SAVC(secureToken); ^~~~ rtmpsrv.c:147:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:159:1: note: in expansion of macro 'SAVC' SAVC(videoFunction); ^~~~ rtmpsrv.c:147:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmpsrv.c:155:1: note: in expansion of macro 'SAVC' SAVC(fpad); ^~~~ --- librtmp/librtmp.la --- --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -fPIC -DPIC -o .libs/amf.o --- hashswf.o --- --- rtmp.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -fPIC -DPIC -o .libs/rtmp.o --- hashswf.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -fPIC -DPIC -o .libs/log.o --- rtmp.o --- In file included from rtmp.c:152:0: handshake.h: In function 'InitRC4Encryption': handshake.h:119:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] unsigned int digestLen = 0; ^~~~~~~~~ --- amf.o --- In file included from amf.c:33:0: bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!" [-Wcpp] #warning "Float word order not defined, assuming the same as byte order!" ^~~~~~~ --- parseurl.o --- --- rtmp.o --- rtmp.c: In function 'RTMP_TLS_AllocServerContext': rtmp.c:280:3: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- parseurl.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c parseurl.c --- rtmp.o --- rtmp.c: In function 'b64enc': rtmp.c:2455:23: warning: pointer targets in passing argument 1 of 'nettle_base64_encode_raw' differ in signedness [-Wpointer-sign] base64_encode_raw((uint8_t*) output, length, input); ^ In file included from rtmp.c:57:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:49:27: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}' #define base64_encode_raw nettle_base64_encode_raw ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:117:1: note: in expansion of macro 'base64_encode_raw' base64_encode_raw(char *dst, size_t length, const uint8_t *src); ^~~~~~~~~~~~~~~~~ rtmp.c: In function 'PublisherAuth': rtmp.c:2602:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2603:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, salt.av_val, salt.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2604:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2619:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2622:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2624:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2625:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, challenge2, B64INT_LEN); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2768:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2769:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2770:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, realm, sizeof(realm)-1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2771:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2772:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2787:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, method, sizeof(method)-1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2788:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":/", 2); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2789:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2791:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2800:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, hash1, HEXHASH_LEN); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2801:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2802:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2803:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2804:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, nchex, sizeof(nchex)-1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2805:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2806:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2807:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2808:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, qop, sizeof(qop)-1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'const char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2809:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2810:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] MD5_Update(&md5ctx, hash2, HEXHASH_LEN); ^ rtmp.c:2493:53: note: in definition of macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ In file included from rtmp.c:58:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:45:20: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define md5_update nettle_md5_update ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c: In function 'RTMP_ReadPacket': rtmp.c:3555:7: warning: variable 'didAlloc' set but not used [-Wunused-but-set-variable] int didAlloc = FALSE; ^~~~~~~~ At top level: rtmp.c:2907:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1559:35: warning: 'av_record' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmp.c:1905:1: note: in expansion of macro 'SAVC' SAVC(record); ^~~~ --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -o log.o >/dev/null 2>&1 --- hashswf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c -fPIC -DPIC -o .libs/hashswf.o --- parseurl.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c parseurl.c -fPIC -DPIC -o .libs/parseurl.o --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -o amf.o >/dev/null 2>&1 --- hashswf.o --- hashswf.c: In function 'RTMP_HashSWF': hashswf.c:585:22: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_set_key' differ in signedness [-Wpointer-sign] HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); ^ hashswf.c:51:66: note: in definition of macro 'HMAC_setup' #define HMAC_setup(ctx, key, len) hmac_sha256_set_key(&ctx, len, key) ^~~ In file included from hashswf.c:45:0: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:66:29: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' #define hmac_sha256_set_key nettle_hmac_sha256_set_key ^ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:171:1: note: in expansion of macro 'hmac_sha256_set_key' hmac_sha256_set_key(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c -o hashswf.o >/dev/null 2>&1 --- parseurl.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c parseurl.c -o parseurl.o >/dev/null 2>&1 --- rtmp.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -o rtmp.o >/dev/null 2>&1 --- librtmp.la --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=link --tag=CC gcc -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o librtmp.la rtmp.lo log.lo amf.lo hashswf.lo parseurl.lo -rpath /usr/pkg/lib libtool: link: gcc -shared -fPIC -DPIC .libs/rtmp.o .libs/log.o .libs/amf.o .libs/hashswf.o .libs/parseurl.o -L/pbulk/work/net/rtmpdump/work/.buildlink/lib -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,librtmp.so.0 -o .libs/librtmp.so.0.0.0 libtool: link: (cd ".libs" && rm -f "librtmp.so.0" && ln -s "librtmp.so.0.0.0" "librtmp.so.0") libtool: link: (cd ".libs" && rm -f "librtmp.so" && ln -s "librtmp.so.0.0.0" "librtmp.so") libtool: link: ar cr .libs/librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o libtool: link: ranlib .libs/librtmp.a libtool: link: ( cd ".libs" && rm -f "librtmp.la" && ln -s "../librtmp.la" "librtmp.la" ) --- rtmpdump --- --- rtmpgw --- --- rtmpsrv --- --- rtmpsuck --- --- rtmpdump --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --tag=CC --mode=link gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib librtmp/librtmp.la rtmpdump.o -o rtmpdump -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz --- rtmpgw --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --tag=CC --mode=link gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib librtmp/librtmp.la rtmpgw.o thread.o -o rtmpgw -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz --- rtmpsrv --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --tag=CC --mode=link gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib librtmp/librtmp.la rtmpsrv.o thread.o -o rtmpsrv -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz --- rtmpsuck --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --tag=CC --mode=link gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib librtmp/librtmp.la rtmpsuck.o thread.o -o rtmpsuck -lpthread -Llibrtmp -lrtmp -lgnutls -lhogweed -lnettle -lgmp -lz --- rtmpdump --- libtool: link: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib rtmpdump.o -o .libs/rtmpdump -pie -L/pbulk/work/net/rtmpdump/work/.buildlink/lib -Llibrtmp -Llibrtmp/.libs -lrtmp -lgnutls -lintl -lp11-kit -lunistring -lpthread -ltasn1 -lhogweed -lnettle -lgmp -lz -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/pbulk/work/net/rtmpdump/work/.buildlink/lib --- rtmpsuck --- libtool: link: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib rtmpsuck.o thread.o -o .libs/rtmpsuck -pie -L/pbulk/work/net/rtmpdump/work/.buildlink/lib -Llibrtmp -Llibrtmp/.libs -lrtmp -lgnutls -lintl -lp11-kit -lunistring -lpthread -ltasn1 -lhogweed -lnettle -lgmp -lz -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/pbulk/work/net/rtmpdump/work/.buildlink/lib --- rtmpgw --- libtool: link: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib rtmpgw.o thread.o -o .libs/rtmpgw -pie -L/pbulk/work/net/rtmpdump/work/.buildlink/lib -Llibrtmp -Llibrtmp/.libs -lrtmp -lgnutls -lintl -lp11-kit -lunistring -lpthread -ltasn1 -lhogweed -lnettle -lgmp -lz -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/pbulk/work/net/rtmpdump/work/.buildlink/lib --- rtmpdump --- ld: cannot find -lp11-kit --- rtmpsuck --- ld: cannot find -lp11-kit --- rtmpsrv --- libtool: link: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -Wall -Wl,-zrelro -Wl,-rpath -Wl,/usr/pkg/lib rtmpsrv.o thread.o -o .libs/rtmpsrv -pie -L/pbulk/work/net/rtmpdump/work/.buildlink/lib -Llibrtmp -Llibrtmp/.libs -lrtmp -lgnutls -lintl -lp11-kit -lunistring -lpthread -ltasn1 -lhogweed -lnettle -lgmp -lz -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/pbulk/work/net/rtmpdump/work/.buildlink/lib --- rtmpgw --- ld: cannot find -lp11-kit --- rtmpdump --- *** [rtmpdump] Error code 1 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump --- rtmpsuck --- *** [rtmpsuck] Error code 1 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump --- rtmpsrv --- ld: cannot find -lp11-kit --- rtmpgw --- *** [rtmpgw] Error code 1 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump --- rtmpsrv --- *** [rtmpsrv] Error code 1 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump 4 errors make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/net/rtmpdump *** Error code 1 Stop. make: stopped in /usr/pkgsrc/net/rtmpdump