=> 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.6.0.0.20240301nb2 --- 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 -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpdump.c -o rtmpdump.o --- rtmpgw.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpgw.c -o rtmpgw.o --- thread.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c thread.c -o thread.o --- rtmpsrv.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpsrv.c -o rtmpsrv.o --- rtmpsuck.o --- gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -I/usr/pkg/include -I/usr/include -Dz_off_t=long -c rtmpsuck.c -o rtmpsuck.o --- librtmp/librtmp.la --- --- rtmp.o --- --- log.o --- --- amf.o --- --- rtmp.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -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 -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c --- amf.o --- /pbulk/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -O2 -I/usr/pkg/include -I/usr/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c --- rtmp.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -fPIC -DPIC -o .libs/rtmp.o --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -fPIC -DPIC -o .libs/amf.o --- rtmpsuck.o --- rtmpsuck.c:119:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:141:1: note: in expansion of macro 'SAVC' 141 | SAVC(secureToken); | ^~~~ rtmpsuck.c:119:35: warning: 'av_mode' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:138:1: note: in expansion of macro 'SAVC' 138 | SAVC(mode); | ^~~~ rtmpsuck.c:119:35: warning: 'av_fmsVer' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:137:1: note: in expansion of macro 'SAVC' 137 | SAVC(fmsVer); | ^~~~ rtmpsuck.c:119:35: warning: 'av_createStream' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:134:1: note: in expansion of macro 'SAVC' 134 | SAVC(createStream); | ^~~~ rtmpsuck.c:119:35: warning: 'av__result' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:133:1: note: in expansion of macro 'SAVC' 133 | SAVC(_result); | ^~~~ rtmpsuck.c:119:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:131:1: note: in expansion of macro 'SAVC' 131 | SAVC(videoFunction); | ^~~~ rtmpsuck.c:119:35: warning: 'av_capabilities' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:128:1: note: in expansion of macro 'SAVC' 128 | SAVC(capabilities); | ^~~~ rtmpsuck.c:119:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] 119 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsuck.c:127:1: note: in expansion of macro 'SAVC' 127 | SAVC(fpad); | ^~~~ --- librtmp/librtmp.la --- --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -fPIC -DPIC -o .libs/log.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 -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c --- rtmpsrv.o --- rtmpsrv.c:147:35: warning: 'av_secureToken' defined but not used [-Wunused-const-variable=] 147 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsrv.c:170:1: note: in expansion of macro 'SAVC' 170 | SAVC(secureToken); | ^~~~ rtmpsrv.c:147:35: warning: 'av_videoFunction' defined but not used [-Wunused-const-variable=] 147 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsrv.c:159:1: note: in expansion of macro 'SAVC' 159 | SAVC(videoFunction); | ^~~~ rtmpsrv.c:147:35: warning: 'av_fpad' defined but not used [-Wunused-const-variable=] 147 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmpsrv.c:155:1: note: in expansion of macro 'SAVC' 155 | SAVC(fpad); | ^~~~ --- librtmp/librtmp.la --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c hashswf.c -fPIC -DPIC -o .libs/hashswf.o --- rtmp.o --- In file included from rtmp.c:153: handshake.h: In function 'InitRC4Encryption': handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] 49 | #define SHA256_DIGEST_LENGTH 32 | ^~ | | | int handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro 'HMAC_finish' 134 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ In file included from handshake.h:46, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:15: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~ handshake.h:134:3: note: in expansion of macro 'HMAC_finish' 134 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' 153 | hmac_sha256_digest(struct hmac_sha256_ctx *ctx, | ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153: handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] 49 | #define SHA256_DIGEST_LENGTH 32 | ^~ | | | int handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~~~ handshake.h:143:3: note: in expansion of macro 'HMAC_finish' 143 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ In file included from handshake.h:46, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:15: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~ handshake.h:143:3: note: in expansion of macro 'HMAC_finish' 143 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' 153 | hmac_sha256_digest(struct hmac_sha256_ctx *ctx, | ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153: handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] 126 | unsigned int digestLen = 0; | ^~~~~~~~~ --- amf.o --- In file included from amf.c:33: bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!" [-Wcpp] 74 | #warning "Float word order not defined, assuming the same as byte order!" | ^~~~~~~ --- rtmp.o --- In file included from rtmp.c:153: handshake.h: In function 'HMACsha256': handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] 49 | #define SHA256_DIGEST_LENGTH 32 | ^~ | | | int handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~~~ handshake.h:280:3: note: in expansion of macro 'HMAC_finish' 280 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ In file included from handshake.h:46, from rtmp.c:153: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:15: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' 55 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~ handshake.h:280:3: note: in expansion of macro 'HMAC_finish' 280 | HMAC_finish(ctx, digest, digestLen); | ^~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' 153 | hmac_sha256_digest(struct hmac_sha256_ctx *ctx, | ^~~~~~~~~~~~~~~~~~ rtmp.c: In function 'RTMP_TLS_AllocServerContext': rtmp.c:281:3: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] 281 | gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c: In function 'b64enc': rtmp.c:2456:23: warning: pointer targets in passing argument 1 of 'nettle_base64_encode_raw' differ in signedness [-Wpointer-sign] 2456 | base64_encode_raw((uint8_t*) output, length, input); | ^~~~~~~~~~~~~~~~~ | | | uint8_t * {aka unsigned char *} In file included from rtmp.c:58: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:116:25: note: expected 'char *' but argument is of type 'uint8_t *' {aka 'unsigned char *'} 116 | base64_encode_raw(char *dst, size_t length, const uint8_t *src); | ~~~~~~^~~ rtmp.c: In function 'PublisherAuth': --- hashswf.o --- In file included from /usr/include/ctype.h:100, from hashswf.c:26: hashswf.c: In function 'make_unix_time': hashswf.c:414:22: warning: array subscript has type 'char' [-Wchar-subscripts] 414 | while (isspace(*n)) | ^ --- rtmp.o --- rtmp.c:2603:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2603 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ --- hashswf.o --- hashswf.c: In function 'RTMP_HashSWF': hashswf.c:604:22: warning: pointer targets in passing argument 3 of 'nettle_hmac_sha256_set_key' differ in signedness [-Wpointer-sign] 604 | HMAC_setup(in.ctx, "Genuine Adobe Flash Player 001", 30); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * hashswf.c:52:66: note: in definition of macro 'HMAC_setup' 52 | #define HMAC_setup(ctx, key, len) hmac_sha256_set_key(&ctx, len, key) | ^~~ In file included from hashswf.c:46: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:146:41: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 146 | size_t key_length, const uint8_t *key); | ~~~~~~~~~~~~~~~^~~ hashswf.c:48:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] 48 | #define SHA256_DIGEST_LENGTH 32 | ^~ | | | int hashswf.c:54:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' 54 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~~~ hashswf.c:659:4: note: in expansion of macro 'HMAC_finish' 659 | HMAC_finish(in.ctx, hash, hlen); | ^~~~~~~~~~~ In file included from hashswf.c:46: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:15: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ hashswf.c:54:66: note: in expansion of macro 'hmac_sha256_digest' 54 | #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) | ^~~~~~~~~~~~~~~~~~ hashswf.c:659:4: note: in expansion of macro 'HMAC_finish' 659 | HMAC_finish(in.ctx, hash, hlen); | ^~~~~~~~~~~ --- rtmp.o --- rtmp.c:2604:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2604 | MD5_Update(&md5ctx, salt.av_val, salt.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ --- hashswf.o --- /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' 153 | hmac_sha256_digest(struct hmac_sha256_ctx *ctx, | ^~~~~~~~~~~~~~~~~~ --- rtmp.o --- rtmp.c:2605:41: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2605 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] 57 | #define MD5_DIGEST_LENGTH 16 | ^~ | | | int rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' 2606 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:14: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' 2606 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 72 | md5_digest(struct md5_ctx *ctx, | ^~~~~~~~~~ rtmp.c:2620:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2620 | MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); | ^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ --- hashswf.o --- *** [hashswf.o] Error code 1 make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp --- rtmp.o --- rtmp.c:2623:32: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2623 | MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2625:35: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2625 | MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); | ~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2626:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2626 | MD5_Update(&md5ctx, challenge2, B64INT_LEN); | ^~~~~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] 57 | #define MD5_DIGEST_LENGTH 16 | ^~ | | | int rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' 2627 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:14: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' 2627 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 72 | md5_digest(struct md5_ctx *ctx, | ^~~~~~~~~~ rtmp.c:2769:28: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2769 | MD5_Update(&md5ctx, user.av_val, user.av_len); | ~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2770:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2770 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2771:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2771 | MD5_Update(&md5ctx, realm, sizeof(realm)-1); | ^~~~~ | | | const char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2772:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2772 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2773:41: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2773 | MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); | ~~~~~~~~~~~~~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] 57 | #define MD5_DIGEST_LENGTH 16 | ^~ | | | int rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' 2774 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:14: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' 2774 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 72 | md5_digest(struct md5_ctx *ctx, | ^~~~~~~~~~ rtmp.c:2788:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2788 | MD5_Update(&md5ctx, method, sizeof(method)-1); | ^~~~~~ | | | const char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2789:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2789 | MD5_Update(&md5ctx, ":/", 2); | ^~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2790:30: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2790 | MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); | ~~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2792:26: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2792 | MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); | ^~~~~~~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] 57 | #define MD5_DIGEST_LENGTH 16 | ^~ | | | int rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' 2793 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:14: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' 2793 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 72 | md5_digest(struct md5_ctx *ctx, | ^~~~~~~~~~ rtmp.c:2801:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2801 | MD5_Update(&md5ctx, hash1, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2802:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2802 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2803:29: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2803 | MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); | ~~~~~^~~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2804:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2804 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2805:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2805 | MD5_Update(&md5ctx, nchex, sizeof(nchex)-1); | ^~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2806:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2806 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2807:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2807 | MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1); | ^~~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2808:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2808 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2809:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2809 | MD5_Update(&md5ctx, qop, sizeof(qop)-1); | ^~~ | | | const char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2810:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2810 | MD5_Update(&md5ctx, ":", 1); | ^~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2811:24: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2811 | MD5_Update(&md5ctx, hash2, HEXHASH_LEN); | ^~~~~ | | | char * rtmp.c:2494:53: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] 57 | #define MD5_DIGEST_LENGTH 16 | ^~ | | | int rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' 2812 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ In file included from rtmp.c:59: /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:14: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' 2812 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /pbulk/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 72 | md5_digest(struct md5_ctx *ctx, | ^~~~~~~~~~ --- log.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -o log.o >/dev/null 2>&1 --- rtmp.o --- At top level: rtmp.c:2908:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=] 2908 | static const AVal av_NetConnection_Connect_Rejected = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1560:35: warning: 'av_record' defined but not used [-Wunused-const-variable=] 1560 | #define SAVC(x) static const AVal av_##x = AVC(#x) | ^~~ rtmp.c:1906:1: note: in expansion of macro 'SAVC' 1906 | SAVC(record); | ^~~~ *** [rtmp.o] Error code 1 make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp --- amf.o --- libtool: compile: gcc -Wall -O2 -I/pbulk/work/net/rtmpdump/work/.buildlink/include -Dz_off_t=long -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -o amf.o >/dev/null 2>&1 2 errors make[1]: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 make: stopped in /pbulk/work/net/rtmpdump/work/rtmpdump 1 error 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