=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rtmpdump", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for rtmpdump-2.6.0.0.20240301nb2 --- librtmp/librtmp.la --- --- rtmpdump.o --- --- rtmpgw.o --- --- rtmpdump.o --- gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpdump.c --- rtmpgw.o --- gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpgw.c --- librtmp/librtmp.la --- --- rtmp.o --- /var/tmp/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c libtool: compile: gcc -Wall -pipe -Os -I/var/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -fno-common -DPIC -o .libs/rtmp.o --- thread.o --- gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c thread.c --- rtmpsrv.o --- gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpsrv.c --- librtmp/librtmp.la --- In file included from rtmp.c:153: ./handshake.h:134:20: error: too many arguments to function call, expected 2, have 3 HMAC_finish(ctx, digest, digestLen); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./handshake.h:55:113: note: expanded from macro 'HMAC_finish' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ~~~~~~~~~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: 'nettle_hmac_sha256_digest' declared here hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expanded from macro 'hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ In file included from rtmp.c:153: ./handshake.h:143:20: error: too many arguments to function call, expected 2, have 3 HMAC_finish(ctx, digest, digestLen); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./handshake.h:55:113: note: expanded from macro 'HMAC_finish' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ~~~~~~~~~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: 'nettle_hmac_sha256_digest' declared here hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expanded from macro 'hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ In file included from rtmp.c:153: ./handshake.h:280:20: error: too many arguments to function call, expected 2, have 3 HMAC_finish(ctx, digest, digestLen); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./handshake.h:55:113: note: expanded from macro 'HMAC_finish' #define HMAC_finish(ctx, dig, dlen) dlen = SHA256_DIGEST_LENGTH; hmac_sha256_digest(&ctx, SHA256_DIGEST_LENGTH, dig) ~~~~~~~~~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:153:1: note: 'nettle_hmac_sha256_digest' declared here hmac_sha256_digest(struct hmac_sha256_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: expanded from macro 'hmac_sha256_digest' #define hmac_sha256_digest nettle_hmac_sha256_digest ^ --- rtmpsuck.o --- --- librtmp/librtmp.la --- rtmp.c:193:13: warning: result of comparison of constant 18446744073709551597 with expression of type 'uint32_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] if (nSize > SIZE_MAX - RTMP_MAX_HEADER_SIZE) ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:281:44: warning: 'gnutls_certificate_credentials' is deprecated [-Wdeprecated-declarations] gnutls_certificate_allocate_credentials((gnutls_certificate_credentials*) &ctx); ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/gnutls/compat.h:87:2: note: 'gnutls_certificate_credentials' has been explicitly marked deprecated here _GNUTLS_GCC_ATTR_DEPRECATED; ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/gnutls/compat.h:39:52: note: expanded from macro '_GNUTLS_GCC_ATTR_DEPRECATED' #define _GNUTLS_GCC_ATTR_DEPRECATED __attribute__((__deprecated__)) ^ --- rtmpsuck.o --- gcc -Wall -pipe -Os -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpsuck.c --- librtmp/librtmp.la --- rtmp.c:2456:23: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] base64_encode_raw((uint8_t*) output, length, input); ^~~~~~~~~~~~~~~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/base64.h:116:25: note: passing argument to parameter 'dst' here base64_encode_raw(char *dst, size_t length, const uint8_t *src); ^ rtmp.c:2603:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2604:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, salt.av_val, salt.av_len); ^~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2605:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2606:14: error: too many arguments to function call, expected 2, have 3 MD5_Final(md5sum_val, &md5ctx); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ rtmp.c:2495:61: note: expanded from macro 'MD5_Final' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: 'nettle_md5_digest' declared here md5_digest(struct md5_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expanded from macro 'md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2620:24: warning: passing 'char[56]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, salted2, B64DIGEST_LEN); ^~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2623:26: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, opaque.av_val, opaque.av_len); ^~~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2625:26: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, challenge.av_val, challenge.av_len); ^~~~~~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2626:24: warning: passing 'char[16]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, challenge2, B64INT_LEN); ^~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2627:14: error: too many arguments to function call, expected 2, have 3 MD5_Final(md5sum_val, &md5ctx); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ rtmp.c:2495:61: note: expanded from macro 'MD5_Final' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: 'nettle_md5_digest' declared here md5_digest(struct md5_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expanded from macro 'md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2769:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, user.av_val, user.av_len); ^~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2770:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2771:24: warning: passing 'const char[5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, realm, sizeof(realm)-1); ^~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2772:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2773:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, r->Link.pubPasswd.av_val, r->Link.pubPasswd.av_len); ^~~~~~~~~~~~~~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2774:14: error: too many arguments to function call, expected 2, have 3 MD5_Final(md5sum_val, &md5ctx); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ rtmp.c:2495:61: note: expanded from macro 'MD5_Final' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: 'nettle_md5_digest' declared here md5_digest(struct md5_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expanded from macro 'md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2788:24: warning: passing 'const char[8]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, method, sizeof(method)-1); ^~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2789:24: warning: passing 'char[3]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":/", 2); ^~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2790:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, apptmp.av_val, apptmp.av_len); ^~~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2792:26: warning: passing 'char[11]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, "/_definst_", sizeof("/_definst_") - 1); ^~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2793:14: error: too many arguments to function call, expected 2, have 3 MD5_Final(md5sum_val, &md5ctx); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ rtmp.c:2495:61: note: expanded from macro 'MD5_Final' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: 'nettle_md5_digest' declared here md5_digest(struct md5_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expanded from macro 'md5_digest' #define md5_digest nettle_md5_digest ^ rtmp.c:2801:24: warning: passing 'char[33]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, hash1, HEXHASH_LEN); ^~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2802:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2803:24: warning: passing 'char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, nonce.av_val, nonce.av_len); ^~~~~~~~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2804:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2805:24: warning: passing 'char[9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, nchex, sizeof(nchex)-1); ^~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2806:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2807:24: warning: passing 'char[9]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, cnonce, sizeof(cnonce)-1); ^~~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2808:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2809:24: warning: passing 'const char[5]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, qop, sizeof(qop)-1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2810:24: warning: passing 'char[2]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, ":", 1); ^~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2811:24: warning: passing 'char[33]' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MD5_Update(&md5ctx, hash2, HEXHASH_LEN); ^~~~~ rtmp.c:2494:53: note: expanded from macro 'MD5_Update' #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) ^~~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:20: note: passing argument to parameter 'data' here const uint8_t *data); ^ rtmp.c:2812:14: error: too many arguments to function call, expected 2, have 3 MD5_Final(md5sum_val, &md5ctx); ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ rtmp.c:2495:61: note: expanded from macro 'MD5_Final' #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) ~~~~~~~~~~ ^~~ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:72:1: note: 'nettle_md5_digest' declared here md5_digest(struct md5_ctx *ctx, ^ /var/tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: expanded from macro 'md5_digest' #define md5_digest nettle_md5_digest ^ 30 warnings and 8 errors generated. *** [rtmp.o] Error code 1 bmake[1]: stopped making "all" in /var/tmp/work/net/rtmpdump/work/rtmpdump/librtmp bmake[1]: 1 error bmake[1]: stopped making "all" in /var/tmp/work/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 bmake: stopped making "all" in /var/tmp/work/net/rtmpdump/work/rtmpdump --- rtmpsrv.o --- rtmpsrv.c:155:1: warning: unused variable 'av_fpad' [-Wunused-const-variable] SAVC(fpad); ^ rtmpsrv.c:147:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :50:1: note: expanded from here av_fpad ^ rtmpsrv.c:159:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable] SAVC(videoFunction); ^ rtmpsrv.c:147:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :58:1: note: expanded from here av_videoFunction ^ rtmpsrv.c:170:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable] SAVC(secureToken); ^ rtmpsrv.c:147:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :80:1: note: expanded from here av_secureToken ^ 3 warnings generated. --- rtmpsuck.o --- rtmpsuck.c:127:1: warning: unused variable 'av_fpad' [-Wunused-const-variable] SAVC(fpad); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :50:1: note: expanded from here av_fpad ^ rtmpsuck.c:128:1: warning: unused variable 'av_capabilities' [-Wunused-const-variable] SAVC(capabilities); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :52:1: note: expanded from here av_capabilities ^ rtmpsuck.c:131:1: warning: unused variable 'av_videoFunction' [-Wunused-const-variable] SAVC(videoFunction); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :58:1: note: expanded from here av_videoFunction ^ rtmpsuck.c:133:1: warning: unused variable 'av__result' [-Wunused-const-variable] SAVC(_result); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :62:1: note: expanded from here av__result ^ rtmpsuck.c:134:1: warning: unused variable 'av_createStream' [-Wunused-const-variable] SAVC(createStream); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :64:1: note: expanded from here av_createStream ^ rtmpsuck.c:137:1: warning: unused variable 'av_fmsVer' [-Wunused-const-variable] SAVC(fmsVer); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :70:1: note: expanded from here av_fmsVer ^ rtmpsuck.c:138:1: warning: unused variable 'av_mode' [-Wunused-const-variable] SAVC(mode); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :72:1: note: expanded from here av_mode ^ rtmpsuck.c:141:1: warning: unused variable 'av_secureToken' [-Wunused-const-variable] SAVC(secureToken); ^ rtmpsuck.c:119:35: note: expanded from macro 'SAVC' #define SAVC(x) static const AVal av_##x = AVC(#x) ^ :78:1: note: expanded from here av_secureToken ^ 8 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rtmpdump *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/rtmpdump