=> 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 --- --- 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 --- 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 --- 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 --- librtmp/librtmp.la --- --- rtmp.o --- /tmp/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 libtool: compile: gcc -Wall -O2 -I/tmp/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 --- 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 --- librtmp/librtmp.la --- In file included from rtmp.c:153:0: 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] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153:0: handshake.h:49:30: warning: passing argument 2 of 'nettle_hmac_sha256_digest' makes pointer from integer without a cast [-Wint-conversion] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ In file included from rtmp.c:153:0: handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] unsigned int digestLen = 0; ^~~~~~~~~ In file included from rtmp.c:153:0: 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] #define SHA256_DIGEST_LENGTH 32 ^ handshake.h:55:91: note: in expansion of macro 'SHA256_DIGEST_LENGTH' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ In file included from handshake.h:46:0, from rtmp.c:153: /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^~~~~~~~~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ handshake.h:55:66: note: in expansion of macro 'hmac_sha256_digest' #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' HMAC_finish(ctx, digest, digestLen); ^~~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here #define hmac_sha256_digest nettle_hmac_sha256_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: in expansion of macro 'hmac_sha256_digest' 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] gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- 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 --- 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] base64_encode_raw((uint8_t*) output, length, input); ^ In file included from rtmp.c:58:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/base64.h:116: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:2603: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, salt.av_val, salt.av_len); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2605: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2606:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 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] MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2623: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2625: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2626: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2627:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(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, user.av_val, user.av_len); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, realm, sizeof(realm)-1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2773: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2774:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 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] MD5_Update(&md5ctx, method, sizeof(method)-1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":/", 2); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2790: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2792: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2793:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' 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] MD5_Update(&md5ctx, hash1, HEXHASH_LEN); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, nonce.av_val, nonce.av_len); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, nchex, sizeof(nchex)-1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, cnonce, sizeof(cnonce)-1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, qop, sizeof(qop)-1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67: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, ":", 1); ^ rtmp.c:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:2811: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:2494: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:59:0: /tmp/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 ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:67:1: note: in expansion of macro 'md5_update' md5_update(struct md5_ctx *ctx, ^~~~~~~~~~ rtmp.c:57:27: warning: passing argument 2 of 'nettle_md5_digest' makes pointer from integer without a cast [-Wint-conversion] #define MD5_DIGEST_LENGTH 16 ^ rtmp.c:2495:43: note: in expansion of macro 'MD5_DIGEST_LENGTH' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ In file included from rtmp.c:59:0: /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'int' #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2495:28: note: in expansion of macro 'md5_digest' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ^~~~~~~~~~ rtmp.c:2812:4: note: in expansion of macro 'MD5_Final' MD5_Final(md5sum_val, &md5ctx); ^~~~~~~~~ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here #define md5_digest nettle_md5_digest ^ /tmp/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: in expansion of macro 'md5_digest' md5_digest(struct md5_ctx *ctx, ^~~~~~~~~~ At top level: rtmp.c:2908:19: warning: 'av_NetConnection_Connect_Rejected' defined but not used [-Wunused-const-variable=] static const AVal av_NetConnection_Connect_Rejected = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:1560:35: warning: 'av_record' defined but not used [-Wunused-const-variable=] #define SAVC(x) static const AVal av_##x = AVC(#x) ^ rtmp.c:1906:1: note: in expansion of macro 'SAVC' SAVC(record); ^~~~ *** [rtmp.o] Error code 1 make[1]: stopped in /tmp/net/rtmpdump/work/rtmpdump/librtmp 1 error make[1]: stopped in /tmp/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 make: stopped in /tmp/net/rtmpdump/work/rtmpdump 1 error make: stopped in /tmp/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/rtmpdump *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/rtmpdump