=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for mt-daapd-0.2.4.2nb5 /opt/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/opt/work/audio/mt-daapd/work/mt-daapd-0.2.4.2' Making all in src gmake[2]: Entering directory '/opt/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' /opt/pkg/bin/gmake all-am gmake[3]: Entering directory '/opt/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-darwin20"' -no-cpp-precomp -DMAC -O2 -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-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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-darwin20"' -no-cpp-precomp -DMAC -O2 -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-darwin20"' -no-cpp-precomp -DMAC -O2 -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 with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] strm.next_out = gz->out; ^ ~~~~~~~ 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] accept(fd, (struct sockaddr *)(&netclient), &len)) == -1) && ^~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:700:73: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict) ^ main.c:679:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:679:13: note: place parentheses around the assignment to silence this warning if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { ^ ( ) main.c:679:13: note: use '==' to turn this assignment into an equality comparison if(error=pthread_create(handler_tid, NULL, signal_handler, NULL)) { ^ == webserver.c:467:5: warning: implicit declaration of function 'config_set_status' is invalid in C99 [-Wimplicit-function-declaration] config_set_status(pwsc, 0, NULL); ^ configfile.c:821:38: warning: implicit declaration of function 'db_get_song_count' is invalid in C99 [-Wimplicit-function-declaration] ws_writefd(pwsc," %d\n",db_get_song_count()); ^ configfile.c:832:35: warning: implicit declaration of function 'db_version' is invalid in C99 [-Wimplicit-function-declaration] ws_writefd(pwsc," %d\n",db_version()); ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 webserver.c:1436:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] pin=base64; ^~~~~~~ webserver.c:1483:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *username = decodebuffer; ^ ~~~~~~~~~~~~ 1 warning generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 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] atom_offset = aac_drilltoatom(fin, "moov:udta:meta:ilst", &atom_length); ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 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] 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 with different sign [-Wpointer-sign] pmp3->title = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:808:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->artist = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:812:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->album = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:816:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 1 pmp3->composer = utf8_text; warning generated. ^ ~~~~~~~~~ mp3-scanner.c:820:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->grouping = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:824:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->orchestra = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:828:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->conductor = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:832:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] pmp3->genre = utf8_text; ^ ~~~~~~~~~ mp3-scanner.c:856:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] 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 with different sign [-Wpointer-sign] pmp3->year = atoi(utf8_text); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here 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 with different sign [-Wpointer-sign] pmp3->song_length = atoi(utf8_text); /* now in ms */ ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here 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 with different sign [-Wpointer-sign] pmp3->bpm = atoi(utf8_text); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here 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 with different sign [-Wpointer-sign] pmp3->compilation = (char)atoi(utf8_text); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:135:23: note: passing argument to parameter here 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] 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 with different sign [-Wpointer-sign] if((utf8_text) && (strncasecmp(utf8_text,"iTun",4) != 0)) { ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/strings.h:79:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, 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] 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 with different sign [-Wpointer-sign] 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] 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 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] atom_offset = aac_drilltoatom(infile, "moov:mvhd", &atom_length); ^~~~~~~~~~~~ mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here 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] 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 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] atom_offset=aac_drilltoatom(infile,"mdat",&atom_length); ^~~~~~~~~~~~ mp3-scanner.c:1004:68: note: passing argument to parameter 'atom_length' here 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 with different sign [-Wpointer-sign] if(strncmp(pid3->id,"ID3",3)==0) { ^~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ mp3-scanner.c:1613:30: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(!scan_decode_mp3_frame(frame_buffer,&fi)) { ^~~~~~~~~~~~ mp3-scanner.c:1233:42: note: passing argument to parameter 'frame' here int scan_decode_mp3_frame(unsigned char *frame, SCAN_FRAMEINFO *pfi) { ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 2 warnings generated. if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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-darwin20"' -no-cpp-precomp -DMAC -O2 -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-darwin20"' -no-cpp-precomp -DMAC -O2 -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 3 warnings generated. parser.c:1394:16: warning: implicit declaration of function 'yylex' is invalid in C99 [-Wimplicit-function-declaration] yychar = YYLEX; ^ parser.c:750:16: note: expanded from macro 'YYLEX' # define YYLEX yylex () ^ parser.y:154:22: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] { (yyval.ival) = time(NULL) - (yyvsp[(1) - (2)].ival); } ^ if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 if clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -g -DHOST='"aarch64-apple-darwin20"' -no-cpp-precomp -DMAC -O2 -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 dynamic-art.c:84:13: warning: passing 'unsigned char [255]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(buffer,filename,255); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_string.h:128:28: note: expanded from macro 'strncpy' __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 with different sign [-Wpointer-sign] path_end = strrchr(buffer,'/'); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:87:27: note: passing argument to parameter '__s' here char *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 with different sign [-Wpointer-sign] fd = open(buffer,O_RDONLY); ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/fcntl.h:554:26: note: passing argument to parameter here 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 with different sign [-Wpointer-sign] if ( strncmp(buffer,"ID3", 3) == 0 ) { ^~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here int strncmp(const char *__s1, const char *__s2, size_t __n); ^ 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] &atom_length); ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); ^ dynamic-art.c:235:2: warning: implicit declaration of function 'fcopyblock' is invalid in C99 [-Wimplicit-function-declaration] fcopyblock(aac_fp, out_fd, cur_pos - old_pos); ^ dynamic-art.c:302:19: warning: implicit declaration of function 'scan_aac_findatom' is invalid in C99 [-Wimplicit-function-declaration] atom_offset = scan_aac_findatom(aac_fp, file_size, "moov", &atom_length); ^ dynamic-art.c:310:6: warning: implicit declaration of function 'fcopyblock' is invalid in C99 [-Wimplicit-function-declaration] 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] &atom_length); ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 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] &atom_length); ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here 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] last_pos = aac_drilltoatom(aac_fp, "mdat", &atom_length); ^~~~~~~~~~~~ ./mp3-scanner.h:76:75: note: passing argument to parameter 'atom_length' here extern off_t aac_drilltoatom(FILE *aac_fp, char *atom_path, unsigned int *atom_length); ^ dynamic-art.c:489:16: warning: implicit declaration of function 'scan_aac_findatom' is invalid in C99 [-Wimplicit-function-declaration] last_pos = scan_aac_findatom(aac_fp, file_size, "moov", &atom_length); ^ dynamic-art.c:493:2: warning: implicit declaration of function 'fcopyblock' is invalid in C99 [-Wimplicit-function-declaration] fcopyblock(aac_fp, out_fd, last_pos); ^ query.c:250:9: warning: implicitly declaring library function 'isalpha' with type 'int (int)' [-Wimplicit-function-declaration] 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] switch(field->type) ^ query.c:295:12: note: add missing switch cases switch(field->type) ^ query.c:389:12: warning: 4 enumeration values not handled in switch: 'qot_empty', 'qft_i32', 'qft_i64'... [-Wswitch] switch(query->type) ^ query.c:389:12: note: add missing switch cases switch(query->type) ^ query.c:425:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ query.c:642:31: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] fprintf(fp, "%*s(%s %s %q)\n", ~~^ query.c:644:32: warning: data argument not used by format string [-Wformat-extra-args] 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] switch(query->type) ^ query.c:614:12: note: add missing switch cases switch(query->type) ^ query.c:678:6: warning: implicitly declaring library function 'isdigit' with type 'int (int)' [-Wimplicit-function-declaration] if(isdigit(*src)) ^ query.c:678:6: note: include the header or explicitly provide a declaration for 'isdigit' query.c:681:24: warning: implicitly declaring library function 'tolower' with type 'int (int)' [-Wimplicit-function-declaration] val = val * 16 + tolower(*src) - 'a' + 10; ^ query.c:681:24: note: include the header or explicitly provide a declaration for 'tolower' 2 warnings generated. 25 warnings generated. 13 warnings generated. rend-unix.c:117:5: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration] umask(0); ^ rend-osx.c:34:10: fatal error: 'DNSServiceDiscovery/DNSServiceDiscovery.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. gmake[3]: *** [Makefile:330: rend-osx.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... 1 warning generated. 9 warnings generated. gmake[3]: Leaving directory '/opt/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' gmake[2]: *** [Makefile:230: all] Error 2 gmake[2]: Leaving directory '/opt/work/audio/mt-daapd/work/mt-daapd-0.2.4.2/src' gmake[1]: *** [Makefile:251: all-recursive] Error 1 gmake[1]: Leaving directory '/opt/work/audio/mt-daapd/work/mt-daapd-0.2.4.2' gmake: *** [Makefile:189: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/audio/mt-daapd *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/audio/mt-daapd