+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtunes-0.8nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rtunes-0.8nb2/work.log ===> Building for rtunes-0.8nb2 --- parse.c --- --- rtunes.o --- --- cipher.o --- --- mp4.o --- --- parse.c --- yacc -d parse.y mv y.tab.c parse.c --- mp4.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wstrict-prototypes -ansi -I/opt/pkg/include -c mp4.c --- rtunes.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wstrict-prototypes -ansi -I/opt/pkg/include -c rtunes.c --- cipher.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wstrict-prototypes -ansi -I/opt/pkg/include -c cipher.c --- rtsp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -Wstrict-prototypes -ansi -I/opt/pkg/include -c rtsp.c --- mp4.o --- mp4.c: In function 'mp4_seek_box': mp4.c:65:20: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 65 | boxes[0] = strdup("moov"); | ^~~~~~ | strcmp mp4.c:65:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 65 | boxes[0] = strdup("moov"); | ^ mp4.c:66:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 66 | boxes[1] = strdup("trak"); | ^ mp4.c:67:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 67 | boxes[2] = strdup("mdia"); | ^ mp4.c:68:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 68 | boxes[3] = strdup("minf"); | ^ mp4.c:69:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 69 | boxes[4] = strdup("stbl"); | ^ mp4.c:70:18: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 70 | boxes[5] = strdup(type); | ^ --- rtunes.o --- rtunes.c: In function 'main': rtunes.c:192:22: warning: implicit declaration of function 'getopt'; did you mean 'gettxt'? [-Wimplicit-function-declaration] 192 | while ((ch = getopt(argc, argv, "46f:h:p:y")) != -1) { | ^~~~~~ | gettxt rtunes.c:205:35: error: 'optarg' undeclared (first use in this function) 205 | cfgfile = optarg; | ^~~~~~ rtunes.c:205:35: note: each undeclared identifier is reported only once for each function it appears in rtunes.c:227:22: error: 'optind' undeclared (first use in this function) 227 | if (!(argc - optind)) | ^~~~~~ *** [rtunes.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/audio/rtunes/work/rtunes-0.8/rtunes --- cipher.o --- cipher.c: In function 'cipher_aes_sendsample': cipher.c:76:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 76 | AES_cbc_encrypt(buf + 16, buf + 16, len_encrypt, &aeskey, aesiv_copy, | ^~~~~~~~~~~~~~~ In file included from extern.h:21, from cipher.c:26: /home/pbulk/build/audio/rtunes/work/.buildlink/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ cipher.c: In function 'cipher_rsa_encrypt_aeskey': cipher.c:120:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | key = RSA_new(); | ^~~ In file included from cipher.c:22: /home/pbulk/build/audio/rtunes/work/.buildlink/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ cipher.c:121:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 121 | RSA_set0_key(key, | ^~~~~~~~~~~~ /home/pbulk/build/audio/rtunes/work/.buildlink/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ cipher.c:128:9: warning: 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 128 | if (RSA_public_encrypt(16, aeskey, to, key, RSA_PKCS1_OAEP_PADDING) < 1) | ^~ /home/pbulk/build/audio/rtunes/work/.buildlink/include/openssl/rsa.h:293:5: note: declared here 293 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ --- rtsp.o --- rtsp.c: In function 'rtsp_generate_sid': rtsp.c:52:9: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] 52 | snprintf(buf, len, "%d", i); | ^~~~~~~~ rtsp.c:27:1: note: 'snprintf' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'? 26 | #include "proto.h" +++ |+#include <stdio.h> 27 | rtsp.c: In function 'rtsp_conn': rtsp.c:92:9: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] 92 | strlcpy(session, resp->session, sizeof(session)); | ^~~~~~~ | strncpy rtsp.c: In function 'rtsp_Announce': rtsp.c:176:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 176 | if (AES_set_encrypt_key(tmp_aeskey, 128, &aeskey) != 0) | ^~ In file included from extern.h:21, from rtsp.c:25: /home/pbulk/build/audio/rtunes/work/.buildlink/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ rtsp.c:218:9: warning: implicit declaration of function 'strlcat'; did you mean 'strncat'? [-Wimplicit-function-declaration] 218 | strlcat(entity, body, len); | ^~~~~~~ | strncat rtsp.c: In function 'rtsp_parse_token': rtsp.c:393:13: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] 393 | s = strdup(string); | ^~~~~~ | strcmp rtsp.c:393:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 393 | s = strdup(string); | ^ rtsp.c:396:21: warning: implicit declaration of function 'strsep'; did you mean 'strstr'? [-Wimplicit-function-declaration] 396 | while ((p = strsep(&s, ";"))) { | ^~~~~~ | strstr rtsp.c:396:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 396 | while ((p = strsep(&s, ";"))) { | ^ rtsp.c: In function 'rtsp_parse_response': rtsp.c:471:22: warning: implicit declaration of function 'strcasecmp'; did you mean 'strncmp'? [-Wimplicit-function-declaration] 471 | if (!strcasecmp(option, "CSeq:")) { | ^~~~~~~~~~ | strncmp bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/audio/rtunes/work/rtunes-0.8/rtunes *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/rtunes *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/rtunes