=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/mt-daapd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mt-daapd-0.2.4.2nb5 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2' Making all in src gmake[2]: Entering directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT uici.o -MD -MP -MF ".deps/uici.Tpo" -c -o uici.o uici.c; \ then mv -f ".deps/uici.Tpo" ".deps/uici.Po"; else rm -f ".deps/uici.Tpo"; exit 1; fi uici.c:143:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 143 | accept(fd, (struct sockaddr *)(&netclient), &len)) == -1) && | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:708:73: note: passing argument to parameter here 708 | int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ 1 warning generated. main.c:679:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 679 | if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:679:13: note: place parentheses around the assignment to silence this warning 679 | if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { | ^ | ( ) main.c:679:13: note: use '==' to turn this assignment into an equality comparison 679 | if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { | ^ | == if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT webserver.o -MD -MP -MF ".deps/webserver.Tpo" -c -o webserver.o webserver.c; \ then mv -f ".deps/webserver.Tpo" ".deps/webserver.Po"; else rm -f ".deps/webserver.Tpo"; exit 1; fi 1 warning generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; \ then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi webserver.c:467:5: warning: call to undeclared function 'config_set_status'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 467 | config_set_status(pwsc, 0, NULL); | ^ webserver.c:1436:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1436 | pin=base64; | ^~~~~~~ webserver.c:1483:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1483 | *username = decodebuffer; | ^ ~~~~~~~~~~~~ configfile.c:821:38: warning: call to undeclared function 'db_get_song_count'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 821 | ws_writefd(pwsc," %d\n",db_get_song_count()); | ^ configfile.c:832:35: warning: call to undeclared function 'db_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 832 | ws_writefd(pwsc," %d\n",db_version()); | ^ 3 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT err.o -MD -MP -MF ".deps/err.Tpo" -c -o err.o err.c; \ then mv -f ".deps/err.Tpo" ".deps/err.Po"; else rm -f ".deps/err.Tpo"; exit 1; fi 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT restart.o -MD -MP -MF ".deps/restart.Tpo" -c -o restart.o restart.c; \ then mv -f ".deps/restart.Tpo" ".deps/restart.Po"; else rm -f ".deps/restart.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT daap-proto.o -MD -MP -MF ".deps/daap-proto.Tpo" -c -o daap-proto.o daap-proto.c; \ then mv -f ".deps/daap-proto.Tpo" ".deps/daap-proto.Po"; else rm -f ".deps/daap-proto.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT daap.o -MD -MP -MF ".deps/daap.Tpo" -c -o daap.o daap.c; \ then mv -f ".deps/daap.Tpo" ".deps/daap.Po"; else rm -f ".deps/daap.Tpo"; exit 1; fi daap-proto.c:107:18: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 107 | strm.next_in = gz->in; | ^ ~~~~~~ daap-proto.c:109:19: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 109 | strm.next_out = gz->out; | ^ ~~~~~~~ 2 warnings generated. daap.c:178:4: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 178 | g=(int)daap_add_string(mdcl,"mcnm",tag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:205:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 205 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:238:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 238 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:440:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 440 | g = (int)daap_add_int(root,"mif clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT db-gdbm.o -MD -MP -MF ".deps/db-gdbm.Tpo" -c -o db-gdbm.o db-gdbm.c; \ then mv -f ".deps/db-gdbm.Tpo" ".deps/db-gdbm.Po"; else rm -f ".deps/db-gdbm.Tpo"; exit 1; fi stt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:633:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 633 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:664:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 664 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:734:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 734 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:791:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 791 | g = (int)daap_add_int(root,"mstt",200); /* result */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daap.c:892:6: warning: cast to smaller integer type 'int' from 'DAAP_BLOCK *' (aka 'struct daap_block_tag *') [-Wpointer-to-int-cast] 892 | g = (int)daap_add_int(root,"mstt",200); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT mp3-scanner.o -MD -MP -MF ".deps/mp3-scanner.Tpo" -c -o mp3-scanner.o mp3-scanner.c; \ then mv -f ".deps/mp3-scanner.Tpo" ".deps/mp3-scanner.Po"; else rm -f ".deps/mp3-scanner.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT playlist.o -MD -MP -MF ".deps/playlist.Tpo" -c -o playlist.o playlist.c; \ then mv -f ".deps/playlist.Tpo" ".deps/playlist.Po"; else rm -f ".deps/playlist.Tpo"; exit 1; fi mp3-scanner.c:629:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 629 | atom_offset = aac_drilltoatom(fin, "moov:udta:meta:ilst", &atom_length); | ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 76 | extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); | ^ mp3-scanner.c:799:12: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] 799 | utf8_text=id3_ucs4_utf8duplicate(native_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mp3-scanner.c:804:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 804 | pmp3->title = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:808:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 808 | pmp3->artist = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:812:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 812 | pmp3->album = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:816:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 816 | pmp3->composer = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:820:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 820 | pmp3->grouping = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:824:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 824 | pmp3->orchestra = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:828:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 828 | pmp3->conductor = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:832:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 832 | pmp3->genre = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:856:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 856 | pmp3->comment = utf8_text; | ^ ~~~~~~~~~ mp3-scanner.c:875:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 875 | pmp3->year = atoi(utf8_text); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ mp3-scanner.c:878:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 878 | pmp3->song_length = atoi(utf8_text); /* now in ms */ | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ mp3-scanner.c:881:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 881 | pmp3->bpm = atoi(utf8_text); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ mp3-scanner.c:884:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 884 | pmp3->compilation = (char)atoi(utf8_text); | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:150:23: note: passing argument to parameter here 150 | int atoi(const char *); | ^ mp3-scanner.c:907:12: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] 907 | utf8_text=id3_ucs4_utf8duplicate(native_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mp3-scanner.c:908:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 908 | if((utf8_text) && (strncasecmp(utf8_text,"iTun",4) != 0)) { | ^~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_strings.h:82:52: note: passing argument to parameter here 82 | int strncasecmp(const char *_LIBC_UNSAFE_INDEXABLE, const char *_LIBC_UNSAFE_INDEXABLE, size_t); | ^ mp3-scanner.c:917:13: warning: assigning to 'unsigned char *' from 'id3_utf8_t *' (aka 'signed char *') converts between pointers to integer types with different sign [-Wpointer-sign] 917 | utf8_text=id3_ucs4_utf8duplicate(native_text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mp3-scanner.c:919:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 919 | pmp3->comment=utf8_text; | ^~~~~~~~~~ mp3-scanner.c:1030:68: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1030 | atom_offset = scan_aac_findatom(aac_fp, file_size, atom_name, atom_length); | ^~~~~~~~~~~ mp3-scanner.c:575:75: note: passing argument to parameter 'atom_size' here 575 | long scan_aac_findatom(FILE *fin, long max_offset, char *which_atom, int *atom_size) { | ^ mp3-scanner.c:1141:56: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1141 | atom_offset = aac_drilltoatom(infile, "moov:mvhd", &atom_length); | ^~~~~~~~~~~~ mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here 1004 | off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length) | ^ mp3-scanner.c:1175:81: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1175 | atom_offset = aac_drilltoatom(infile, "moov:trak:mdia:minf:stbl:stsd:mp4a", &atom_length); | ^~~~~~~~~~~~ mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here 1004 | off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length) | ^ mp3-scanner.c:1212:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1212 | atom_offset=aac_drilltoatom(infile,"mdat",&atom_length); | ^~~~~~~~~~~~ mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here 1004 | off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length) | ^ mp3-scanner.c:1557:16: warning: passing 'unsigned char[3]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1557 | if(strncmp(pid3->id,"ID3",3)==0) { | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ mp3-scanner.c:1613:30: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1613 | if(!scan_decode_mp3_frame(frame_buffer,&fi)) { | ^~~~~~~~~~~~ mp3-scanner.c:1233:42: note: passing argument to parameter 'frame' here 1233 | int scan_decode_mp3_frame(unsigned char *frame, SCAN_FRAMEINFO *pfi) { | ^ playlist.c:355:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 355 | r_arg=(int)strcasestr(cval,pnode->arg2.cval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 warnings generated. 1 warning generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT lexer.o -MD -MP -MF ".deps/lexer.Tpo" -c -o lexer.o lexer.c; \ then mv -f ".deps/lexer.Tpo" ".deps/lexer.Po"; else rm -f ".deps/lexer.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT parser.o -MD -MP -MF ".deps/parser.Tpo" -c -o parser.o parser.c; \ then mv -f ".deps/parser.Tpo" ".deps/parser.Po"; else rm -f ".deps/parser.Tpo"; exit 1; fi parser.c:1394:16: warning: call to undeclared function 'yylex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1394 | yychar = YYLEX; | ^ parser.c:750:16: note: expanded from macro 'YYLEX' 750 | # define YYLEX yylex () | ^ parser.y:154:22: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | { (yyval.ival) = time(NULL) - (yyvsp[(1) - (2)].ival); } | ^ 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT strcasestr.o -MD -MP -MF ".deps/strcasestr.Tpo" -c -o strcasestr.o strcasestr.c; \ then mv -f ".deps/strcasestr.Tpo" ".deps/strcasestr.Po"; else rm -f ".deps/strcasestr.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT strsep.o -MD -MP -MF ".deps/strsep.Tpo" -c -o strsep.o strsep.c; \ then mv -f ".deps/strsep.Tpo" ".deps/strsep.Po"; else rm -f ".deps/strsep.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT redblack.o -MD -MP -MF ".deps/redblack.Tpo" -c -o redblack.o redblack.c; \ then mv -f ".deps/redblack.Tpo" ".deps/redblack.Po"; else rm -f ".deps/redblack.Tpo"; exit 1; fi if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT dynamic-art.o -MD -MP -MF ".deps/dynamic-art.Tpo" -c -o dynamic-art.o dynamic-art.c; \ then mv -f ".deps/dynamic-art.Tpo" ".deps/dynamic-art.Po"; else rm -f ".deps/dynamic-art.Tpo"; exit 1; fi dynamic-art.c:84:13: warning: passing 'unsigned char[255]' 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] 84 | strncpy(buffer,filename,255); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' 128 | __builtin___strncpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) | ^~~~ dynamic-art.c:85:24: warning: passing 'unsigned char[255]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 85 | path_end = strrchr(buffer,'/'); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:108:41: note: passing argument to parameter '__s' here 108 | char *_LIBC_CSTR strrchr(const char *__s, int __c); | ^ dynamic-art.c:87:15: warning: passing 'unsigned char[255]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 87 | fd = open(buffer,O_RDONLY); | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/fcntl.h:602:26: note: passing argument to parameter here 602 | int open(const char *, int, ...) __DARWIN_ALIAS_C(open); | ^ dynamic-art.c:108:18: warning: passing 'unsigned char[10]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 108 | if ( strncmp(buffer,"ID3", 3) == 0 ) { | ^~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:101:49: note: passing argument to parameter '__s1' here 101 | int strncmp(const char *_LIBC_UNSAFE_INDEXABLE __s1, | ^ dynamic-art.c:225:7: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 225 | &atom_length); | ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 76 | extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); | ^ dynamic-art.c:235:2: warning: call to undeclared function 'fcopyblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | fcopyblock(aac_fp, out_fd, cur_pos - old_pos); | ^ dynamic-art.c:302:19: warning: call to undeclared function 'scan_aac_findatom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 302 | atom_offset = scan_aac_findatom(aac_fp, file_size, "moov", &atom_length); | ^ dynamic-art.c:310:6: warning: call to undeclared function 'fcopyblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | fcopyblock(aac_fp, out_fd, cur_pos - old_pos); | ^ dynamic-art.c:470:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 470 | &atom_length); | ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 76 | extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); | ^ dynamic-art.c:472:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 472 | &atom_length); | ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 76 | extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); | ^ dynamic-art.c:473:48: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 473 | last_pos = aac_drilltoatom(aac_fp, "mdat", &atom_length); | ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 76 | extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); | ^ dynamic-art.c:489:16: warning: call to undeclared function 'scan_aac_findatom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | last_pos = scan_aac_findatom(aac_fp, file_size, "moov", &atom_length); | ^ dynamic-art.c:493:2: warning: call to undeclared function 'fcopyblock'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 493 | fcopyblock(aac_fp, out_fd, last_pos); | ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT query.o -MD -MP -MF ".deps/query.Tpo" -c -o query.o query.c; \ then mv -f ".deps/query.Tpo" ".deps/query.Po"; else rm -f ".deps/query.Tpo"; exit 1; fi 13 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT rend-osx.o -MD -MP -MF ".deps/rend-osx.Tpo" -c -o rend-osx.o rend-osx.c; \ then mv -f ".deps/rend-osx.Tpo" ".deps/rend-osx.Po"; else rm -f ".deps/rend-osx.Tpo"; exit 1; fi query.c:250:9: warning: call to undeclared library function 'isalpha' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 250 | if(!isalpha(*cursor)) | ^ query.c:250:9: note: include the header or explicitly provide a declaration for 'isalpha' query.c:295:12: warning: 16 enumeration values not handled in switch: 'qot_empty', 'qot_and', 'qot_or'... [-Wswitch] 295 | switch(field->type) | ^~~~~~~~~~~ query.c:295:12: note: add missing switch cases 295 | switch(field->type) | ^ 296 | { 297 | case qft_i32: 298 | node->right.i32 = strtol(*pcursor, (char**) pcursor, 10); 299 | break; 300 | case qft_i64: 301 | node->right.i64 = strtoll(*pcursor, (char**) pcursor, 10); 302 | break; 303 | } query.c:389:12: warning: 4 enumeration values not handled in switch: 'qot_empty', 'qft_i32', 'qft_i64'... [-Wswitch] 389 | switch(query->type) | ^~~~~~~~~~~ query.c:389:12: note: add missing switch cases 389 | switch(query->type) | ^ 390 | { 391 | /* conjunction */ 392 | case qot_and: query.c:425:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 425 | } | ^ query.c:580:9: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 580 | return (int) strcasestr(ts, query->right.str); /* returns null if not found */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ query.c:642:31: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] 642 | fprintf(fp, "%*s(%s %s %q)\n", | ~~^ query.c:644:32: warning: data argument not used by format string [-Wformat-extra-args] 642 | fprintf(fp, "%*s(%s %s %q)\n", | ~~~~~~~~~~~~~~~~~ 643 | depth, "", labels[query->type], 644 | query->left.field->name, query->right.i64); | ^ query.c:614:12: warning: 4 enumeration values not handled in switch: 'qot_empty', 'qft_i32', 'qft_i64'... [-Wswitch] 614 | switch(query->type) | ^~~~~~~~~~~ query.c:614:12: note: add missing switch cases 614 | switch(query->type) | ^ 615 | { 616 | case qot_and: query.c:678:6: warning: call to undeclared library function 'isdigit' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 678 | if(isdigit(*src)) | ^ query.c:678:6: note: include the header or explicitly provide a declaration for 'isdigit' query.c:681:24: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | val = val * 16 + tolower(*src) - 'a' + 10; | ^ query.c:681:24: note: include the header or explicitly provide a declaration for 'tolower' 10 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin27"' -no-cpp-precomp -DMAC -pipe -Os -I/opt/pkg/include -MT rend-unix.o -MD -MP -MF ".deps/rend-unix.Tpo" -c -o rend-unix.o rend-unix.c; \ then mv -f ".deps/rend-unix.Tpo" ".deps/rend-unix.Po"; else rm -f ".deps/rend-unix.Tpo"; exit 1; fi rend-osx.c:34:10: fatal error: 'DNSServiceDiscovery/DNSServiceDiscovery.h' file not found 34 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. rend-unix.c:117:5: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | umask(0); | ^ gmake[3]: *** [Makefile:330: rend-osx.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... 1 warning generated. gmake[3]: Leaving directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' gmake[2]: *** [Makefile:230: all] Error 2 gmake[2]: Leaving directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' gmake[1]: *** [Makefile:251: all-recursive] Error 1 gmake[1]: Leaving directory '/var/tmp/work/audio/mt-daapd/work/mt-daapd-0.2.4.2' gmake: *** [Makefile:189: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/mt-daapd *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/audio/mt-daapd