=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/rtmpdump", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for rtmpdump-2.6.0.0.20240301nb2 --- librtmp/librtmp.la --- --- rtmpdump.o --- --- rtmpgw.o --- --- thread.o --- --- rtmpdump.o --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpdump.c --- rtmpgw.o --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpgw.c --- librtmp/librtmp.la --- --- rtmp.o --- /tmp/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c --- thread.o --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c thread.c --- rtmpsrv.o --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpsrv.c --- librtmp/librtmp.la --- libtool: compile: gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c rtmp.c -fPIC -DPIC -o .libs/rtmp.o --- 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 --- In file included from rtmp.c:153: handshake.h: In function 'InitRC4Encryption': handshake.h:49:33: error: 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:95: 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: /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:29: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest'; expected 2, have 3 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:70: 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); | ^~~~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/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, | ^~~~~~~~~~~~~~~~~~ handshake.h:49:33: error: 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:95: 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); | ^~~~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:29: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest'; expected 2, have 3 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:70: 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); | ^~~~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/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, | ^~~~~~~~~~~~~~~~~~ handshake.h:126:16: warning: variable 'digestLen' set but not used [-Wunused-but-set-variable] 126 | unsigned int digestLen = 0; | ^~~~~~~~~ handshake.h: In function 'HMACsha256': handshake.h:49:33: error: 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:95: 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); | ^~~~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:154:29: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 154 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: error: too many arguments to function 'nettle_hmac_sha256_digest'; expected 2, have 3 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ handshake.h:55:70: 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); | ^~~~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/hmac.h:67:28: note: declared here 67 | #define hmac_sha256_digest nettle_hmac_sha256_digest | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/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: /tmp/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': rtmp.c:2603:35: 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:60: 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: /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2604:35: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2605:48: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: error: 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:48: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2606:11: note: in expansion of macro 'MD5_Final' 2606 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:21: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest'; expected 2, have 3 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:33: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2606:11: note: in expansion of macro 'MD5_Final' 2606 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /tmp/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:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2623:39: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2625:42: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2626:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: error: 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:48: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2627:11: note: in expansion of macro 'MD5_Final' 2627 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:21: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest'; expected 2, have 3 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:33: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2627:11: note: in expansion of macro 'MD5_Final' 2627 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /tmp/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, | ^~~~~~~~~~ --- rtmpsuck.o --- --- librtmp/librtmp.la --- rtmp.c:2769:35: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2770:31: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2770 | MD5_Update(&md5ctx, ":", 1); | ^~~ --- rtmpsuck.o --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -I/opt/pkg/include -c rtmpsuck.c --- librtmp/librtmp.la --- | | | char * rtmp.c:2494:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2771:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2772:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2773:48: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: error: 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:48: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2774:11: note: in expansion of macro 'MD5_Final' 2774 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:21: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest'; expected 2, have 3 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:33: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2774:11: note: in expansion of macro 'MD5_Final' 2774 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /tmp/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:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2789:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2790:37: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2792:33: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: error: 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:48: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2793:11: note: in expansion of macro 'MD5_Final' 2793 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:21: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest'; expected 2, have 3 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:33: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2793:11: note: in expansion of macro 'MD5_Final' 2793 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /tmp/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:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2802:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2803:36: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2804:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2805:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2806:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2807:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2808:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2809:31: warning: pointer targets in passing argument 3 of 'nettle_md5_update' differ in signedness [-Wpointer-sign] 2809 | MD5_Update(&md5ctx, qop, sizeof(qop)-1); --- 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 --- --- amf.o --- --- rtmp.o --- | ^~~ | | | const char * rtmp.c:2494:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2810:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:2811:31: 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:60: note: in definition of macro 'MD5_Update' 2494 | #define MD5_Update(ctx,data,len) md5_update(ctx,len,data) | ^~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:69:27: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 69 | const uint8_t *data); | ~~~~~~~~~~~~~~~^~~~ rtmp.c:57:27: error: 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:48: note: in expansion of macro 'MD5_DIGEST_LENGTH' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~~~~~~~~ rtmp.c:2812:11: note: in expansion of macro 'MD5_Final' 2812 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:73:21: note: expected 'uint8_t *' {aka 'unsigned char *'} but argument is of type 'int' 73 | uint8_t *digest); | ~~~~~~~~~^~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: error: too many arguments to function 'nettle_md5_digest'; expected 2, have 3 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ rtmp.c:2495:33: note: in expansion of macro 'md5_digest' 2495 | #define MD5_Final(dig,ctx) md5_digest(ctx,MD5_DIGEST_LENGTH,dig) | ^~~~~~~~~~ rtmp.c:2812:11: note: in expansion of macro 'MD5_Final' 2812 | MD5_Final(md5sum_val, &md5ctx); | ^~~~~~~~~ /tmp/work/net/rtmpdump/work/.buildlink/include/nettle/md5.h:46:20: note: declared here 46 | #define md5_digest nettle_md5_digest | ^~~~~~~~~~~~~~~~~ /tmp/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: 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 bmake[1]: stopped making "all" in /tmp/work/net/rtmpdump/work/rtmpdump/librtmp --- amf.o --- /tmp/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c --- log.o --- /tmp/work/net/rtmpdump/work/.cwrapper/bin/libtool --mode=compile --tag=CC gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c libtool: compile: gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -fPIC -DPIC -o .libs/log.o --- amf.o --- libtool: compile: gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -fPIC -DPIC -o .libs/amf.o In file included from amf.c:33: bytes.h:68:2: warning: #warning "Byte order not defined on your system, assuming little endian!" [-Wcpp] 68 | #warning "Byte order not defined on your system, assuming little endian!" | ^~~~~~~ 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!" | ^~~~~~~ --- log.o --- libtool: compile: gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c log.c -o log.o >/dev/null 2>&1 --- amf.o --- libtool: compile: gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/tmp/work/net/rtmpdump/work/.buildlink/include -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_GNUTLS -fPIC -c amf.c -o amf.o >/dev/null 2>&1 bmake[1]: 1 error bmake[1]: stopped making "all" in /tmp/work/net/rtmpdump/work/rtmpdump/librtmp *** [librtmp/librtmp.la] Error code 2 bmake: stopped making "all" in /tmp/work/net/rtmpdump/work/rtmpdump bmake: 1 error bmake: stopped making "all" in /tmp/work/net/rtmpdump/work/rtmpdump *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rtmpdump *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/rtmpdump