+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shairport-sync-3.3.9nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/shairport-sync-3.3.9nb6/work.log ===> Building for shairport-sync-3.3.9nb6 --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in man --- shairport.o --- --- rtsp.o --- --- mdns.o --- --- shairport.o --- depbase=`echo shairport.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -DCOMPILE_FOR_LINUX_AND_FREEBSD_AND_CYGWIN_AND_OPENBSD=1 -I/opt/local/include -I/usr/include -fno-common -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"/opt/local/etc\" -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT shairport.o -MD -MP -MF $depbase.Tpo -c -o shairport.o shairport.c && mv -f $depbase.Tpo $depbase.Po --- mdns.o --- depbase=`echo mdns.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -DCOMPILE_FOR_LINUX_AND_FREEBSD_AND_CYGWIN_AND_OPENBSD=1 -I/opt/local/include -I/usr/include -fno-common -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"/opt/local/etc\" -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT mdns.o -MD -MP -MF $depbase.Tpo -c -o mdns.o mdns.c && mv -f $depbase.Tpo $depbase.Po --- rtsp.o --- depbase=`echo rtsp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I. -DCOMPILE_FOR_LINUX_AND_FREEBSD_AND_CYGWIN_AND_OPENBSD=1 -I/opt/local/include -I/usr/include -fno-common -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread -DSYSCONFDIR=\"/opt/local/etc\" -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -MT rtsp.o -MD -MP -MF $depbase.Tpo -c -o rtsp.o rtsp.c && mv -f $depbase.Tpo $depbase.Po --- shairport.o --- shairport.c: In function 'parse_options': shairport.c:325:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 325 | if (strcmp(argv[j], "--") == 0) | ^~~~~~ shairport.c:102:1: note: include '<string.h>' or provide a declaration of 'strcmp' 101 | #include <soxr.h> +++ |+#include <string.h> 102 | #endif shairport.c:527:13: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 527 | if (strcasecmp(str, "basic") == 0) | ^~~~~~~~~~ shairport.c:748:28: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 748 | config.interface = strdup(str); | ^~~~~~ shairport.c:748:28: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] shairport.c:783:26: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 783 | config.regtype = strdup(str); | ^~~~~~ shairport.c:1232:32: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1232 | config.metadata_pipename = strdup("/tmp/shairport-sync-metadata"); | ^~~~~~ shairport.c:1237:22: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1237 | config.regtype = strdup("_raop._tcp"); | ^~~~~~ shairport.c:1248:10: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1248 | i0 = strdup("%H"); // this is the default it the Service Name wasn't specified | ^~~~~~ --- rtsp.o --- rtsp.c: In function 'metadata_create_multicast_socket': --- shairport.o --- shairport.c:1250:10: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1250 | i0 = strdup(raw_service_name); | ^~~~~~ --- rtsp.o --- rtsp.c:1328:7: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 1328 | bzero((char *)&metadata_sockaddr, sizeof(metadata_sockaddr)); | ^~~~~ rtsp.c:1328:7: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] --- shairport.o --- shairport.c:1288:30: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1288 | config.computed_piddir = strdup(use_this_pid_dir); | ^~~~~~ shairport.c: In function 'main': shairport.c:1467:17: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] 1467 | char *basec = strdup(argv[0]); | ^~~~~~ --- rtsp.o --- rtsp.c: In function 'metadata_init': --- shairport.o --- shairport.c:1514:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 1514 | strncpy(first_backend_name, first_backend->name, sizeof(first_backend_name) - 1); | ^~~~~~~ shairport.c:1514:5: note: include '<string.h>' or provide a declaration of 'strncpy' shairport.c:1514:5: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] shairport.c:1514:5: note: include '<string.h>' or provide a declaration of 'strncpy' --- rtsp.o --- rtsp.c:1655:7: warning: unused variable 'ret' [-Wunused-variable] 1655 | int ret; | ^~~ --- shairport.o --- shairport.c:1518:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 1518 | strcpy(configuration_file_path, SYSCONFDIR); | ^~~~~~ shairport.c:1518:3: note: include '<string.h>' or provide a declaration of 'strcpy' shairport.c:1518:3: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] shairport.c:1518:3: note: include '<string.h>' or provide a declaration of 'strcpy' shairport.c:1521:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 1521 | strcat(configuration_file_path, "/"); | ^~~~~~ shairport.c:1521:3: note: include '<string.h>' or provide a declaration of 'strcat' shairport.c:1521:3: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] shairport.c:1521:3: note: include '<string.h>' or provide a declaration of 'strcat' shairport.c:1575:68: warning: implicit declaration of function 'strerror'; did you mean 'soxr_error'? [-Wimplicit-function-declaration] 1575 | daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); | ^~~~~~~~ | soxr_error shairport.c:1575:64: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 1575 | daemon_log(LOG_ERR, "Failed to reset all signal handlers: %s", strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | | int | char * | %d --- mdns.o --- mdns.c: In function 'mdns_register': mdns.c:67:29: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 67 | char *mdns_service_name = alloca(strlen(config.service_name) + 14); | ^~~~~~ mdns.c:67:29: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] --- shairport.o --- shairport.c:1581:58: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 1581 | daemon_log(LOG_ERR, "Failed to unblock all signals: %s", strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | | int | char * | %d shairport.c:1612:63: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 1612 | daemon_log(LOG_WARNING, "Failed to kill %s daemon: \"%s\", errno %u.", config.appName, | ~^ | | | char * | %d 1613 | strerror(errno), errno); | ~~~~~~~~~~~~~~~ | | | int shairport.c:1620:78: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] 1620 | "killed the %s daemon, but cannot remove old PID file: \"%s\", errno %u.", | ~^ | | | char * | %d 1621 | config.appName, strerror(errno), errno); | ~~~~~~~~~~~~~~~ | | | int --- rtsp.o --- rtsp.c: In function 'rtsp_auth': --- shairport.o --- shairport.c:1659:83: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 1659 | daemon_log(LOG_ERR, "Could not receive return value from daemon process: %s", | ~^ | | | char * | %d 1660 | strerror(errno)); | ~~~~~~~~~~~~~~~ | | | int --- rtsp.o --- rtsp.c:2392:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2392 | MD5_Init(&ctx); | ^~~~~~~~ In file included from rtsp.c:50: /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ --- shairport.o --- shairport.c:1692:69: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 1692 | daemon_log(LOG_ERR, "Failed to close all file descriptors: %s", strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | | int | char * | %d --- rtsp.o --- rtsp.c:2393:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2393 | MD5_Update(&ctx, username, strlen(username)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2394:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2394 | MD5_Update(&ctx, ":", 1); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ --- shairport.o --- shairport.c:1714:60: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] 1714 | daemon_log(LOG_ERR, "Could not create PID file (%s).", strerror(errno)); | ~^ ~~~~~~~~~~~~~~~ | | | | | int | char * | %d --- rtsp.o --- rtsp.c:2395:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2395 | MD5_Update(&ctx, realm, strlen(realm)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2396:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2396 | MD5_Update(&ctx, ":", 1); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2397:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2397 | MD5_Update(&ctx, config.password, strlen(config.password)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2398:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2398 | MD5_Final(digest_urp, &ctx); | ^~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ rtsp.c:2399:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2399 | MD5_Init(&ctx); | ^~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ --- shairport.o --- shairport.c:1928:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1928 | MD5_Init(&ctx); | ^~~~~~~~ In file included from shairport.c:56: /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ --- rtsp.o --- rtsp.c:2400:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2400 | MD5_Update(&ctx, req->method, strlen(req->method)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ --- shairport.o --- shairport.c:1929:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1929 | MD5_Update(&ctx, config.service_name, strlen(config.service_name)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ --- rtsp.o --- rtsp.c:2401:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2401 | MD5_Update(&ctx, ":", 1); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ --- shairport.o --- shairport.c:1930:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1930 | MD5_Final(ap_md5, &ctx); | ^~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ --- rtsp.o --- rtsp.c:2402:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2402 | MD5_Update(&ctx, uri, strlen(uri)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2403:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2403 | MD5_Final(digest_mu, &ctx); | ^~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ rtsp.c:2462:3: warning: 'MD5_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2462 | MD5_Init(&ctx); | ^~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^~~~~~~~ rtsp.c:2463:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2463 | MD5_Update(&ctx, buf, 32); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2464:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2464 | MD5_Update(&ctx, ":", 1); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2465:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2465 | MD5_Update(&ctx, *nonce, strlen(*nonce)); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2466:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2466 | MD5_Update(&ctx, ":", 1); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2469:3: warning: 'MD5_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2469 | MD5_Update(&ctx, buf, 32); | ^~~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int MD5_Update(MD5_CTX *c, const void *data, size_t len); | ^~~~~~~~~~ rtsp.c:2470:3: warning: 'MD5_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2470 | MD5_Final(digest_total, &ctx); | ^~~~~~~~~ /home/pbulk/build/audio/shairport-sync/work/.buildlink/include/openssl/md5.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c); | ^~~~~~~~~ rtsp.c: In function 'rtsp_listen_loop': rtsp.c:2993:13: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 2993 | u_int16_t tport = ntohs(sa6->sin6_port); | ^~~~~~~~~ | uint16_t rtsp.c:2997:13: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 2997 | u_int16_t rport = ntohs(sa6->sin6_port); | ^~~~~~~~~ | uint16_t *** [rtsp.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/audio/shairport-sync/work/shairport-sync-3.3.9 bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/audio/shairport-sync/work/shairport-sync-3.3.9 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/audio/shairport-sync/work/shairport-sync-3.3.9 bmake: stopped making "all" in /home/pbulk/build/audio/shairport-sync/work/shairport-sync-3.3.9 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/audio/shairport-sync *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-trunk-x86_64/audio/shairport-sync