=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/w3c-httpd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for w3c-httpd-3.0Anb1 ./BUILD ________________________________________________________________ WWW build for machine type: darwin ------ Building W3C Reference Library ------ Object files of libwww will go to directory Library/darwin - creating echo Include files generated from hypertext. Include files generated from hypertext. if [ ! -r ../.. ] ; then mkdir ../..; else echo OK ; fi OK if [ ! -r ../../Library ] ; then mkdir ../../Library; else echo OK ; fi OK if [ ! -r ../../Library/freebsd ] ; then mkdir ../../Library/freebsd; else echo OK ; fi touch ../../Library/freebsd/.created clang -c -o ../../Library/freebsd/HTParse.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTParse.c clang -c -o ../../Library/freebsd/HTAccess.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAccess.c ../../Library/Implementation/HTAccess.c:207:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | PUBLIC BOOL HTRegisterProtocol(protocol) | ^ ../../Library/Implementation/HTAccess.c:885:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | PRIVATE char hex(i) | ^ 2 warnings generated. clang -c -o ../../Library/freebsd/HTTP.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTP.c ../../Library/Implementation/HTTP.c:171:20: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | if ((status = NETCLOSE(http->sockfd)) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTTP.c:312:19: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | if ((status = NETWRITE(http->sockfd, command->data, command->size-1))<0) { | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTTP.c:552:16: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 552 | int status = NETWRITE(http->sockfd, buf, i); | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTTP.c:737:21: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | if ((status = NETCLOSE(http->sockfd)) < 0) { | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ 4 warnings generated. clang -c -o ../../Library/freebsd/HTFile.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFile.c ../../Library/Implementation/HTFile.c:563:15: warning: call to undeclared function 'getgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 563 | ngroups = getgroups(NGROUPS, groups); /* Groups to which I belong */ | ^ ../../Library/Implementation/HTFile.c:564:13: warning: call to undeclared function 'geteuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | myUid = geteuid(); /* Get my user identifier */ | ^ 2 warnings generated. clang -c -o ../../Library/freebsd/HTBTree.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTBTree.c clang -c -o ../../Library/freebsd/HTFTP.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFTP.c ../../Library/Implementation/HTFTP.c:904:15: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 904 | int status = NETWRITE(ctrl->sockfd, command, | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:1011:20: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1011 | if ((status = NETCLOSE(data->sockfd)) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:1043:20: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1043 | if ((status = NETCLOSE(ctrl->sockfd)) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:1096:20: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1096 | if ((status = NETCLOSE(ctrl->sockfd)) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:1464:17: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1464 | &local_addr, &addr_size) < 0) { | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ../../Library/Implementation/HTFTP.c:1506:4: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1506 | &addr_size) < 0) { | ^~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ../../Library/Implementation/HTFTP.c:1549:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1549 | NETCLOSE(data->sockfd); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:1979:19: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1979 | if ((status = NETCLOSE(data->sockfd)) < 0) { | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:2033:5: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2033 | sleep(1); | ^ ../../Library/Implementation/HTFTP.c:2496:11: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2496 | if (NETCLOSE(data->sockfd) < 0) { | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTFTP.c:2765:11: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2765 | if (NETCLOSE(data->sockfd) < 0) { | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ 11 warnings generated. clang -c -o ../../Library/freebsd/HTTCP.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTCP.c ../../Library/Implementation/HTTCP.c:544:33: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 544 | if (getpeername(soc, &addr, &len) < 0) | ^~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ ../../Library/Implementation/HTTCP.c:769:18: warning: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 769 | if (!fqdn && gethostname(name, MAXHOSTNAMELEN) == 0) { | ^ ../../Library/Implementation/HTTCP.c:805:6: warning: call to undeclared function 'getdomainname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 805 | if (getdomainname(name, MAXHOSTNAMELEN)) { | ^ ../../Library/Implementation/HTTCP.c:903:27: warning: call to undeclared function 'getlogin'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 903 | if ((login = (char *) getlogin()) == NULL) { | ^ ../../Library/Implementation/HTTCP.c:903:18: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 903 | if ((login = (char *) getlogin()) == NULL) { | ^~~~~~~~~~~~~~~~~~~ ../../Library/Implementation/HTTCP.c:905:26: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 905 | if ((pw_info = getpwuid(getuid())) == NULL) { | ^ ../../Library/Implementation/HTTCP.c:1020:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1020 | if (NETCLOSE(net->sockfd) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTTCP.c:1030:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1030 | if (NETCLOSE(net->sockfd) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTTCP.c:1095:9: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1095 | &soc_addrlen)) >= 0) { | ^~~~~~~~~~~~ /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) | ^ ../../Library/Implementation/HTTCP.c:1102:2: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1102 | sleep(1); | ^ 10 warnings generated. clang -c -o ../../Library/freebsd/SGML.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/SGML.c clang -c -o ../../Library/freebsd/HTML.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTML.c clang -c -o ../../Library/freebsd/HTMLPDTD.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMLPDTD.c clang -c -o ../../Library/freebsd/HTChunk.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTChunk.c clang -c -o ../../Library/freebsd/HTPlain.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTPlain.c clang -c -o ../../Library/freebsd/HTWriter.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTWriter.c ../../Library/Implementation/HTWriter.c:52:11: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | status = NETWRITE(me->soc, read_pointer, write_pointer - read_pointer); | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTWriter.c:124:16: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | status = NETWRITE(me->soc, read_pointer, | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTWriter.c:155:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | NETCLOSE(me->soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ 3 warnings generated. clang -c -o ../../Library/freebsd/HTFWriter.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFWriter.c ../../Library/Implementation/HTFWriter.c:172:32: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | sprintf(pidstr, "-%d", (int) getpid()); | ^ ../../Library/Implementation/HTFWriter.c:288:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | unlink(me->filename); | ^ ../../Library/Implementation/HTFWriter.c:310:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | unlink(me->filename); | ^ ../../Library/Implementation/HTFWriter.c:517:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 517 | unlink(item->filename); | ^ 4 warnings generated. clang -c -o ../../Library/freebsd/HTMLGen.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMLGen.c clang -c -o ../../Library/freebsd/HTTee.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTee.c clang -c -o ../../Library/freebsd/HTAtom.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAtom.c clang -c -o ../../Library/freebsd/HTAnchor.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAnchor.c ../../Library/Implementation/HTAnchor.c:115:22: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 115 | (void*)child, (int)tag ? tag : (CONST char *)"" , (void*)parent); /* int for apollo */ | ^~~~~~~~ 1 warning generated. clang -c -o ../../Library/freebsd/HTStyle.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTStyle.c clang -c -o ../../Library/freebsd/HTList.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTList.c clang -c -o ../../Library/freebsd/HTString.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ -DVC=\"2.17\" ../../Library/Implementation/HTString.c clang -c -o ../../Library/freebsd/HTAlert.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAlert.c ../../Library/Implementation/HTAlert.c:52:8: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | if ((strcmp(Reply,"YES")==0) || (strcmp(Reply,"Y")==0)) | ^ ../../Library/Implementation/HTAlert.c:52:8: note: include the header or explicitly provide a declaration for 'strcmp' ../../Library/Implementation/HTAlert.c:68:9: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | Tmp[strlen(Tmp)-1] = (char)0; /* Overwrite newline */ | ^ ../../Library/Implementation/HTAlert.c:68:9: note: include the header or explicitly provide a declaration for 'strlen' ../../Library/Implementation/HTAlert.c:84:19: warning: call to undeclared function 'getpass'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | pw = (char *) getpass(Msg ? Msg : "Password: "); | ^ ../../Library/Implementation/HTAlert.c:84:10: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 84 | pw = (char *) getpass(Msg ? Msg : "Password: "); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -c -o ../../Library/freebsd/HTRules.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTRules.c clang -c -o ../../Library/freebsd/HTFormat.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTFormat.c ../../Library/Implementation/HTFormat.c:477:19: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | int status = NETREAD( | ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' 49 | #define NETREAD read /* Routine to read from a TCP-IP socket */ | ^ ../../Library/Implementation/HTFormat.c:510:15: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 510 | int status = NETREAD(isoc->input_file_number, | ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' 49 | #define NETREAD read /* Routine to read from a TCP-IP socket */ | ^ ../../Library/Implementation/HTFormat.c:541:11: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 541 | status = NETREAD(isoc->input_file_number, | ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' 49 | #define NETREAD read /* Routine to read from a TCP-IP socket */ | ^ ../../Library/Implementation/HTFormat.c:734:19: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 734 | int status = NETREAD( | ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' 49 | #define NETREAD read /* Routine to read from a TCP-IP socket */ | ^ ../../Library/Implementation/HTFormat.c:972:15: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | int status = NETREAD( | ^ ../../Library/Implementation/tcp.h:49:18: note: expanded from macro 'NETREAD' 49 | #define NETREAD read /* Routine to read from a TCP-IP socket */ | ^ 5 warnings generated. clang -c -o ../../Library/freebsd/HTInit.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTInit.c clang -c -o ../../Library/freebsd/HTMIME.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMIME.c clang -c -o ../../Library/freebsd/HTHistory.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTHistory.c clang -c -o ../../Library/freebsd/HTNews.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTNews.c ../../Library/Implementation/HTNews.c:207:18: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | status = NETWRITE(s, command, length); | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:212:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | NETCLOSE(s); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:238:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | NETCLOSE(s); /* End of file, close socket */ | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:352:62: warning: for loop has empty body [-Wempty-body] 352 | for(p=addr; *p && (*p!='>') && !WHITE(*p) && (*p!=','); p++); | ^ ../../Library/Implementation/HTNews.c:352:62: note: put the semicolon on a separate line to silence this warning ../../Library/Implementation/HTNews.c:400:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 400 | NETCLOSE(s); /* End of file, close socket */ | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:1060:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1060 | NETCLOSE(s); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:1087:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1087 | NETCLOSE(s); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ ../../Library/Implementation/HTNews.c:1119:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1119 | NETCLOSE(s); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ 8 warnings generated. clang -c -o ../../Library/freebsd/HTGopher.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTGopher.c ../../Library/Implementation/HTGopher.c:736:19: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 736 | if ((status = NETWRITE(gopher->sockfd, command, | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ ../../Library/Implementation/HTGopher.c:922:10: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 922 | if (NETCLOSE(gopher->sockfd) < 0) | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ 2 warnings generated. clang -c -o ../../Library/freebsd/HTTelnet.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTelnet.c clang -c -o ../../Library/freebsd/HTWSRC.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTWSRC.c clang -c -o ../../Library/freebsd/HTAAUtil.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAAUtil.c clang -c -o ../../Library/freebsd/HTAABrow.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAABrow.c clang -c -o ../../Library/freebsd/HTAssoc.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTAssoc.c clang -c -o ../../Library/freebsd/HTUU.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTUU.c clang -c -o ../../Library/freebsd/HTMulti.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTMulti.c ../../Library/Implementation/HTMulti.c:183:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 183 | if (!path || !*path) return NO; | ^~ ../../Library/Implementation/HTUtils.h:247:25: note: expanded from macro 'NO' 247 | #define NO (BOOL)0 | ^~~~~~~ ../../Library/Implementation/HTMulti.c:188:9: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 188 | return NO; | ^~ ../../Library/Implementation/HTUtils.h:247:25: note: expanded from macro 'NO' 247 | #define NO (BOOL)0 | ^~~~~~~ ../../Library/Implementation/HTMulti.c:213:7: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 213 | if (access(best->filename, R_OK) != -1) { | ^ 3 warnings generated. clang -c -o ../../Library/freebsd/HTTeXGen.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTTeXGen.c clang -c -o ../../Library/freebsd/HTDirBrw.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTDirBrw.c ../../Library/Implementation/HTDirBrw.c:921:12: warning: call to undeclared function 'readlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 921 | symend = readlink(pathname, nodekey->symlink, HT_MAX_PATH); | ^ 1 warning generated. clang -c -o ../../Library/freebsd/HTDescript.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTDescript.c clang -c -o ../../Library/freebsd/HTGuess.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTGuess.c clang -c -o ../../Library/freebsd/HTIcons.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTIcons.c clang -c -o ../../Library/freebsd/HTError.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTError.c clang -c -o ../../Library/freebsd/HTErrorMsg.o -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation/ ../../Library/Implementation/HTErrorMsg.c rm ../../Library/freebsd/libwww.a rm: ../../Library/freebsd/libwww.a: No such file or directory *** Error code 1 (ignored) ar r ../../Library/freebsd/libwww.a ../../Library/freebsd/HTParse.o ../../Library/freebsd/HTAccess.o ../../Library/freebsd/HTTP.o ../../Library/freebsd/HTFile.o ../../Library/freebsd/HTBTree.o ../../Library/freebsd/HTFTP.o ../../Library/freebsd/HTTCP.o ../../Library/freebsd/SGML.o ../../Library/freebsd/HTML.o ../../Library/freebsd/HTMLPDTD.o ../../Library/freebsd/HTChunk.o ../../Library/freebsd/HTPlain.o ../../Library/freebsd/HTWriter.o ../../Library/freebsd/HTFWriter.o ../../Library/freebsd/HTMLGen.o ../../Library/freebsd/HTTee.o ../../Library/freebsd/HTAtom.o ../../Library/freebsd/HTAnchor.o ../../Library/freebsd/HTStyle.o ../../Library/freebsd/HTList.o ../../Library/freebsd/HTString.o ../../Library/freebsd/HTAlert.o ../../Library/freebsd/HTRules.o ../../Library/freebsd/HTFormat.o ../../Library/freebsd/HTInit.o ../../Library/freebsd/HTMIME.o ../../Library/freebsd/HTHistory.o ../../Library/freebsd/HTNews.o ../../Library/freebsd/HTGopher.o ../../Library/freebsd/HTTelnet.o ../../Library/freebsd/HTWSRC.o ../../Library/freebsd/HTAAUtil.o ../../Library/freebsd/HTAABrow.o ../../Library/freebsd/HTAssoc.o ../../Library/freebsd/HTUU.o ../../Library/freebsd/HTMulti.o ../../Library/freebsd/HTTeXGen.o ../../Library/freebsd/HTDirBrw.o ../../Library/freebsd/HTDescript.o ../../Library/freebsd/HTGuess.o ../../Library/freebsd/HTIcons.o ../../Library/freebsd/HTError.o ../../Library/freebsd/HTErrorMsg.o ar: creating archive ../../Library/freebsd/libwww.a ranlib ../../Library/freebsd/libwww.a libwww compiled successfully and can be found in Library/darwin Have fun! If you have any problems with this software feel free to contact . Online documentation is available via the ------ Building W3C httpd, htadm, htimage, cgiparse, cgiutils ------ Object files and binaries will go to directory Daemon/darwin - creating echo "Include files generated from hypertext." Include files generated from hypertext. cp ../../Daemon/Implementation/HTDaemon.c HTDaemonDIR.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DDIR_OPTIONS -DVD=\"3.0A\" HTDaemonDIR.c HTDaemonDIR.c:399:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 399 | int n = write(sd, &b[*i], *c); | ^ HTDaemonDIR.c:419:13: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 419 | int n = read(sd, b, SSL_PROXY_BUFSIZE); | ^ HTDaemonDIR.c:508:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | NETCLOSE(sd1); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:762:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 762 | close(master_soc); | ^ HTDaemonDIR.c:772:9: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | chdir(sc.server_root); | ^ HTDaemonDIR.c:822:13: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 822 | NETCLOSE(com_soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:1714:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1714 | NETCLOSE(com_soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:1739:5: warning: call to undeclared function 'sleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1739 | sleep(5); | ^ HTDaemonDIR.c:1782:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1782 | START_TIMER(input_timed_out, sc.input_timeout); | ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' 1775 | #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } | ^ HTDaemonDIR.c:1787:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1787 | START_TIMER(output_timed_out, sc.output_timeout); | ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' 1775 | #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } | ^ HTDaemonDIR.c:1795:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1795 | START_TIMER(script_timed_out, sc.script_timeout); | ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' 1775 | #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } | ^ HTDaemonDIR.c:1800:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1800 | START_TIMER(cleanup_timed_out, DEFAULT_CLEANUP_TIMEOUT); | ^ HTDaemonDIR.c:1775:59: note: expanded from macro 'START_TIMER' 1775 | #define START_TIMER(f,t) { signal(SIGALRM,(void(*)()) f); alarm(t); } | ^ HTDaemonDIR.c:1806:5: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1806 | CANCEL_TIMER; | ^ HTDaemonDIR.c:1776:28: note: expanded from macro 'CANCEL_TIMER' 1776 | #define CANCEL_TIMER { alarm(0); signal(SIGALRM,SIG_IGN); } | ^ HTDaemonDIR.c:1954:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1954 | if (getuid() == 0) { | ^ HTDaemonDIR.c:1978:18: warning: call to undeclared function 'initgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1978 | else if (initgroups(pw->pw_name, gid) == -1) | ^ HTDaemonDIR.c:1982:13: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1982 | if (setgid(gid) == -1) | ^ HTDaemonDIR.c:1984:13: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1984 | if (setuid(uid) == -1) { | ^ HTDaemonDIR.c:2316:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2316 | if (getuid() == 0) { | ^ HTDaemonDIR.c:2320:13: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2320 | if (setgid(gid) == -1) | ^ HTDaemonDIR.c:2322:13: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2322 | if (setuid(uid) == -1) { | ^ HTDaemonDIR.c:2327:5: warning: call to undeclared function 'nice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2327 | nice(6); | ^ HTDaemonDIR.c:2399:26: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2399 | gc_pid = fork(); | ^ HTDaemonDIR.c:2417:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2417 | &soc_addr_len); | ^~~~~~~~~~~~~ /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) | ^ HTDaemonDIR.c:2438:19: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2438 | pid = fork(); | ^ HTDaemonDIR.c:2441:17: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2441 | NETCLOSE(com_soc); /* We can close this -- child handles it */ | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:2485:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2485 | getpeername(com_soc, (struct sockaddr*)&addr, &namelen); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ HTDaemonDIR.c:2518:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2518 | &server_soc_addr,&l) != -1) | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ HTDaemonDIR.c:2537:17: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2537 | NETCLOSE(com_soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:2646:30: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2646 | gc_pid = fork(); | ^ HTDaemonDIR.c:2691:41: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2691 | &soc_addr_len); | ^~~~~~~~~~~~~ /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) | ^ HTDaemonDIR.c:2745:31: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2745 | fork_status = fork(); | ^ HTDaemonDIR.c:2764:17: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2764 | NETCLOSE(com_soc); /* We can close this -- child handles it */ | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:2814:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2814 | getpeername(com_soc, (struct sockaddr*)&addr, &namelen); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:712:78: note: passing argument to parameter here 712 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ HTDaemonDIR.c:2851:26: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 2851 | &server_soc_addr,&l) != -1) | ^~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/socket.h:714:78: note: passing argument to parameter here 714 | int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) | ^ HTDaemonDIR.c:2873:25: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2873 | NETCLOSE(com_soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:2886:21: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2886 | NETCLOSE(com_soc); | ^ ../../Library/Implementation/tcp.h:48:18: note: expanded from macro 'NETCLOSE' 48 | #define NETCLOSE close /* Routine to close a TCP-IP socket */ | ^ HTDaemonDIR.c:2930:9: warning: call to undeclared function 'getppid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2930 | if (getppid() == 1) | ^ HTDaemonDIR.c:2936:21: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2936 | if ((childpid = fork()) < 0) | ^ HTDaemonDIR.c:2952:12: warning: call to undeclared function 'setpgrp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2952 | pgrp = setpgrp(0, getpid()); | ^ HTDaemonDIR.c:2952:23: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2952 | pgrp = setpgrp(0, getpid()); | ^ HTDaemonDIR.c:2956:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2956 | close(fd); | ^ HTDaemonDIR.c:2983:5: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2983 | chdir("/"); | ^ HTDaemonDIR.c:3402:9: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3402 | if (getuid() == 0 && sc.parent_uid) { | ^ HTDaemonDIR.c:3409:18: warning: call to undeclared function 'initgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3409 | else if (initgroups(pw->pw_name, pw->pw_gid) == -1) | ^ HTDaemonDIR.c:3424:17: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3424 | if (setgid(gid) == -1) | ^ HTDaemonDIR.c:3429:17: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3429 | if (setuid(pw->pw_uid) == -1) | ^ HTDaemonDIR.c:3484:40: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3484 | fprintf(fp,"%d\n",(int)getpid()); | ^ 47 warnings generated. rm HTDaemonDIR.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTRequest.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" ../../Daemon/Implementation/HTRetrieve.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ -DRULE_FILE=\""/usr/local/etc/httpd.conf"\" -DVD=\"3.0A\" ../../Daemon/Implementation/HTScript.c ../../Daemon/Implementation/HTScript.c:870:12: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | if (-1 == access(HTReqScript, X_OK)) { | ^ ../../Daemon/Implementation/HTScript.c:879:17: warning: call to undeclared function 'access'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 879 | else if (0==access(HTReqScript, X_OK)) { /* No suffix in URL nor filename*/ | ^ ../../Daemon/Implementation/HTScript.c:939:6: warning: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 939 | if (pipe(pin) < 0 || pipe(pout) < 0) { | ^ ../../Daemon/Implementation/HTScript.c:943:8: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 943 | pid = fork(); | ^ ../../Daemon/Implementation/HTScript.c:964:7: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 964 | dup2(pin[0], 0); | ^ ../../Daemon/Implementation/HTScript.c:965:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 965 | close(pin[0]); | ^ ../../Daemon/Implementation/HTScript.c:972:7: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 972 | dup2(HTSoc, 1); | ^ ../../Daemon/Implementation/HTScript.c:979:7: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 979 | dup2(pout[1], 1); | ^ ../../Daemon/Implementation/HTScript.c:980:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 980 | close(pout[1]); | ^ ../../Daemon/Implementation/HTScript.c:987:6: warning: call to undeclared function 'dup2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 987 | dup2(1, 2); /* Redirect stderr to stdout */ | ^ ../../Daemon/Implementation/HTScript.c:988:16: warning: call to undeclared function 'execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 988 | if (-1 == execve(HTReqScript, argv, envp)) { | ^ ../../Daemon/Implementation/HTScript.c:999:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 999 | close(pin[0]); | ^ ../../Daemon/Implementation/HTScript.c:1016:16: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1016 | int status = write(pin[1], buf, i); | ^ ../../Daemon/Implementation/HTScript.c:1038:6: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1038 | write(pin[1],"\r\n",2); | ^ 14 warnings generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLoad.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTCache.c ../../Daemon/Implementation/HTCache.c:152:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | unlink(lockfile); | ^ ../../Daemon/Implementation/HTCache.c:290:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 290 | while (cur = strrchr(host, '.')) { | ~~~~^~~~~~~~~~~~~~~~~~~~ ../../Daemon/Implementation/HTCache.c:290:13: note: place parentheses around the assignment to silence this warning 290 | while (cur = strrchr(host, '.')) { | ^ | ( ) ../../Daemon/Implementation/HTCache.c:290:13: note: use '==' to turn this assignment into an equality comparison 290 | while (cur = strrchr(host, '.')) { | ^ | == ../../Daemon/Implementation/HTCache.c:687:6: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 687 | unlink(lockfile); | ^ ../../Daemon/Implementation/HTCache.c:727:2: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | unlink(name); | ^ ../../Daemon/Implementation/HTCache.c:772:2: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | unlink(backup); | ^ ../../Daemon/Implementation/HTCache.c:1105:2: warning: call to undeclared function 'nice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1105 | nice(4); | ^ 6 warnings generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTCacheInfo.c ../../Daemon/Implementation/HTCacheInfo.c:111:2: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | unlink(cifn); | ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTConfig.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTWild.c clang -c -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTSInit.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTSUtils.c ../../Daemon/Implementation/HTSUtils.c:475:16: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 475 | return NETWRITE(soc, s, len); | ^ ../../Library/Implementation/tcp.h:50:18: note: expanded from macro 'NETWRITE' 50 | #define NETWRITE write /* Routine to write to a TCP-IP socket */ | ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTims.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTPasswd.c ../../Daemon/Implementation/HTPasswd.c:105:13: warning: passing arguments to 'crypt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | tmp = crypt((char*)chunk , salt); /*crypt() doesn't change its args*/ | ^ ../../Daemon/Implementation/HTPasswd.c:182:13: warning: passing arguments to 'crypt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | tmp = crypt((char*)chunk, salt); | ^ ../../Daemon/Implementation/HTPasswd.c:291:24: warning: address of array 'user' will always evaluate to 'true' [-Wpointer-bool-conversion] 291 | if (username && user && !strcmp(username,user)) { | ~~ ^~~~ 3 warnings generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAuth.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLex.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTGroup.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTACL.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAProt.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAServ.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTAAFile.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTLog.c ../../Daemon/Implementation/HTLog.c:90:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 90 | sprintf(result, filename); | ^~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ ../../Daemon/Implementation/HTLog.c:90:18: note: treat the string as an argument to avoid this 90 | sprintf(result, filename); | ^ | "%s", /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^ 1 warning generated. clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTgc.c ../../Daemon/Implementation/HTgc.c:435:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | unlink(fn); | ^ ../../Daemon/Implementation/HTgc.c:464:6: warning: call to undeclared function 'rmdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | rmdir(dir_info->dirname); | ^ ../../Daemon/Implementation/HTgc.c:542:7: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 542 | unlink(path); | ^ ../../Daemon/Implementation/HTgc.c:697:11: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | (int)getpid(), | ^ 4 warnings generated. clang -c -Dunix -pipe -Os -DDEBUG -D__BSD__ -I../../Library/Implementation ../../Daemon/Implementation/HTUserInit.c clang -c -I../../Library/Implementation -I../Implementation -Dunix -pipe -Os -DDEBUG -D__BSD__ ../../Daemon/Implementation/HTRFC931.c ../../Daemon/Implementation/HTRFC931.c:53:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 53 | extern char *inet_ntoa(); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/arpa/inet.h:79:20: note: conflicting prototype is here 79 | char *_LIBC_CSTR inet_ntoa(struct in_addr); | ^ ../../Daemon/Implementation/HTRFC931.c:89:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | close(s); | ^ ../../Daemon/Implementation/HTRFC931.c:115:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | PRIVATE void timeout(sig) | ^ ../../Daemon/Implementation/HTRFC931.c:157:6: warning: call to undeclared function 'alarm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | alarm(rfc931_timeout); | ^ 4 warnings generated. You must get and make the WWWLibrary product first! (cd ../../Library/freebsd && make) make[3]: no target to make. make[3]: stopped in /var/tmp/work/www/w3c-httpd/work/Library/freebsd *** Error code 2 Stop. make[2]: stopped making "everything" in /var/tmp/work/www/w3c-httpd/work/Daemon/darwin *** Error code 1 Stop. make[1]: stopped making "all" in /var/tmp/work/www/w3c-httpd/work/All/Implementation WWW build for darwin done. status = 1 *** Error code 1 Stop. bmake: stopped making "build-all" in /var/tmp/work/www/w3c-httpd/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/w3c-httpd *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/www/w3c-httpd