=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 openvmps-1.3nb2 --- all --- /opt/pkg/bin/bmake all-am --- vmpsd-vmpsd.o --- --- vmpsd-daemon.o --- --- vmpsd-data.o --- --- vmpsd-log.o --- --- vmpsd-parser.o --- --- vmpsd-vqp.o --- --- vmpsd-external.o --- --- vmpsd-vmpsd.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-vmpsd.o -MD -MP -MF ".deps/vmpsd-vmpsd.Tpo" -c -o vmpsd-vmpsd.o `test -f 'vmpsd.c' || echo './'`vmpsd.c; then mv -f ".deps/vmpsd-vmpsd.Tpo" ".deps/vmpsd-vmpsd.Po"; else rm -f ".deps/vmpsd-vmpsd.Tpo"; exit 1; fi --- vmpsd-daemon.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-daemon.o -MD -MP -MF ".deps/vmpsd-daemon.Tpo" -c -o vmpsd-daemon.o `test -f 'daemon.c' || echo './'`daemon.c; then mv -f ".deps/vmpsd-daemon.Tpo" ".deps/vmpsd-daemon.Po"; else rm -f ".deps/vmpsd-daemon.Tpo"; exit 1; fi --- vmpsd-data.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-data.o -MD -MP -MF ".deps/vmpsd-data.Tpo" -c -o vmpsd-data.o `test -f 'data.c' || echo './'`data.c; then mv -f ".deps/vmpsd-data.Tpo" ".deps/vmpsd-data.Po"; else rm -f ".deps/vmpsd-data.Tpo"; exit 1; fi --- vmpsd-log.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-log.o -MD -MP -MF ".deps/vmpsd-log.Tpo" -c -o vmpsd-log.o `test -f 'log.c' || echo './'`log.c; then mv -f ".deps/vmpsd-log.Tpo" ".deps/vmpsd-log.Po"; else rm -f ".deps/vmpsd-log.Tpo"; exit 1; fi --- vmpsd-external.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-external.o -MD -MP -MF ".deps/vmpsd-external.Tpo" -c -o vmpsd-external.o `test -f 'external.c' || echo './'`external.c; then mv -f ".deps/vmpsd-external.Tpo" ".deps/vmpsd-external.Po"; else rm -f ".deps/vmpsd-external.Tpo"; exit 1; fi --- vmpsd-vqp.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-vqp.o -MD -MP -MF ".deps/vmpsd-vqp.Tpo" -c -o vmpsd-vqp.o `test -f 'vqp.c' || echo './'`vqp.c; then mv -f ".deps/vmpsd-vqp.Tpo" ".deps/vmpsd-vqp.Po"; else rm -f ".deps/vmpsd-vqp.Tpo"; exit 1; fi --- vmpsd-parser.o --- if clang -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR="\"/opt/pkg/etc\"" -O2 -MT vmpsd-parser.o -MD -MP -MF ".deps/vmpsd-parser.Tpo" -c -o vmpsd-parser.o `test -f 'parser.c' || echo './'`parser.c; then mv -f ".deps/vmpsd-parser.Tpo" ".deps/vmpsd-parser.Po"; else rm -f ".deps/vmpsd-parser.Tpo"; exit 1; fi --- vmpsd-vqp.o --- vqp.c:25:71: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = recvfrom(sock, buf, MAX_PACKET_SIZE, 0, (struct sockaddr *)&cli, &addr_len); ^~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/socket.h:712:27: note: passing argument to parameter here socklen_t * __restrict) __DARWIN_ALIAS_C(recvfrom); ^ vqp.c:43:2: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration] memcpy( (void *) &auxli, (void *) p, 4 ); ^ vqp.c:43:2: note: include the header or explicitly provide a declaration for 'memcpy' vqp.c:48:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(r->port, ""); ^ vqp.c:48:2: note: include the header or explicitly provide a declaration for 'strcpy' --- vmpsd-parser.o --- parser.c:27:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ --- vmpsd-vqp.o --- vqp.c:51:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero((void *)r->mac, ETH_ALEN); ^ --- vmpsd-parser.o --- parser.c:27:2: note: include the header or explicitly provide a declaration for 'exit' --- vmpsd-vqp.o --- vqp.c:51:2: note: include the header or explicitly provide a declaration for 'bzero' --- vmpsd-parser.o --- parser.c:74:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( c = get_char() ) { ~~^~~~~~~~~~~~ parser.c:74:13: note: place parentheses around the assignment to silence this warning while ( c = get_char() ) { ^ ( ) parser.c:74:13: note: use '==' to turn this assignment into an equality comparison while ( c = get_char() ) { ^ == parser.c:83:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( c = get_char() ) { ~~^~~~~~~~~~~~ parser.c:83:13: note: place parentheses around the assignment to silence this warning while ( c = get_char() ) { ^ ( ) parser.c:83:13: note: use '==' to turn this assignment into an equality comparison while ( c = get_char() ) { ^ == --- vmpsd-daemon.o --- daemon.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] daemon_start(ignsigcld) ^ daemon.c:65:13: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] childpid = fork(); ^ daemon.c:68:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ daemon.c:68:3: note: include the header or explicitly provide a declaration for 'exit' daemon.c:87:7: warning: implicit declaration of function 'setpgrp' is invalid in C99 [-Wimplicit-function-declaration] if ( setpgrp() == -1 ) { ^ daemon.c:104:2: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration] umask(0); ^ daemon.c:113:10: error: use of undeclared identifier 'SIGCLD' signal(SIGCLD,SIG_IGN); ^ 5 warnings and 1 error generated. --- vmpsd-vqp.o --- vqp.c:154:20: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] data_len = htons(strlen(vlan_name)); ^ vqp.c:154:20: note: include the header or explicitly provide a declaration for 'strlen' vqp.c:181:1: warning: non-void function does not return a value [-Wreturn-type] } ^ vqp.c:217:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if ( strcmp(domain,"") && vmps_no_domain_req ) return 1; ^ vqp.c:217:7: note: include the header or explicitly provide a declaration for 'strcmp' vqp.c:218:13: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] else if ( !strcasecmp(vmps_domain, domain) ) return 1; ^ vqp.c:218:13: note: include the header or explicitly provide a declaration for 'strcasecmp' --- vmpsd-vmpsd.o --- vmpsd.c:40:5: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(external_prog, optarg, 255); ^ vmpsd.c:40:5: note: include the header or explicitly provide a declaration for 'strncpy' vmpsd.c:51:10: warning: implicitly declaring library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)' [-Wimplicit-function-declaration] if ( sscanf(optarg,"%x",&log_level) != 1) return 0; ^ vmpsd.c:51:10: note: include the header or explicitly provide a declaration for 'sscanf' --- vmpsd-external.o --- external.c:28:79: warning: implicitly declaring library function 'strerror' with type 'char *(int)' [-Wimplicit-function-declaration] vmps_log(SYSTEM|FATAL, "Cannot send TERM signal to external program (%s).", strerror(errno)); ^ external.c:28:79: note: include the header or explicitly provide a declaration for 'strerror' external.c:29:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ external.c:29:3: note: include the header or explicitly provide a declaration for 'exit' --- vmpsd-vmpsd.o --- vmpsd.c:70:2: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] printf("\n"); ^ vmpsd.c:70:2: note: include the header or explicitly provide a declaration for 'printf' vmpsd.c:95:2: warning: implicit declaration of function 'parse_db_file' is invalid in C99 [-Wimplicit-function-declaration] parse_db_file(db_fname); ^ --- vmpsd-external.o --- external.c:116:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] --- vmpsd-vmpsd.o --- vmpsd.c:107:2: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcat(db_fname,"/vlan.db"); ^ vmpsd.c:107:2: note: include the header or explicitly provide a declaration for 'strcat' --- vmpsd-external.o --- } ^ --- vmpsd-vmpsd.o --- vmpsd.c:114:16: warning: implicit declaration of function 'daemon_start' is invalid in C99 [-Wimplicit-function-declaration] if ( !debug ) daemon_start(1); ^ vmpsd.c:117:3: warning: implicit declaration of function 'spawn_external' is invalid in C99 [-Wimplicit-function-declaration] spawn_external(); ^ vmpsd.c:119:3: warning: implicit declaration of function 'parse_db_file' is invalid in C99 [-Wimplicit-function-declaration] parse_db_file(db_fname); ^ vmpsd.c:127:2: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero( (char *) &serv_addr, sizeof(serv_addr) ); ^ vmpsd.c:127:2: note: include the header or explicitly provide a declaration for 'bzero' --- vmpsd-external.o --- external.c:182:23: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] write(tocli[1], str, strlen(str)); ^ external.c:182:23: note: include the header or explicitly provide a declaration for 'strlen' external.c:186:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] strncpy(vlan_name,vname,VLAN_NAME_MAX); ^ external.c:186:2: note: include the header or explicitly provide a declaration for 'strncpy' external.c:188:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if ( strcmp(retcode,"ALLOW") ) { strcpy(vlan_name,""); } ^ external.c:188:7: note: include the header or explicitly provide a declaration for 'strcmp' --- vmpsd-daemon.o --- *** [vmpsd-daemon.o] Error code 1 bmake[1]: stopped in /opt/work/net/openvmps/work/vmpsd --- vmpsd-external.o --- external.c:188:35: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] if ( strcmp(retcode,"ALLOW") ) { strcpy(vlan_name,""); } ^ external.c:188:35: note: include the header or explicitly provide a declaration for 'strcpy' external.c:207:4: warning: implicit declaration of function 'send_response' is invalid in C99 [-Wimplicit-function-declaration] send_response(sock, VQP_RSP_DENY, r, NULL); ^ external.c:208:4: warning: implicit declaration of function 'print_action' is invalid in C99 [-Wimplicit-function-declaration] print_action(r,"DENY",vlan_name); ^ --- vmpsd-data.o --- data.c:509:1: warning: non-void function does not return a value [-Wreturn-type] } ^ data.c:519:1: warning: non-void function does not return a value [-Wreturn-type] } ^ data.c:613:3: warning: implicit declaration of function 'parse_error' is invalid in C99 [-Wimplicit-function-declaration] parse_error(device); ^ --- vmpsd-vmpsd.o --- 9 warnings generated. --- vmpsd-external.o --- 9 warnings generated. --- vmpsd-vqp.o --- 8 warnings generated. --- vmpsd-parser.o --- 3 warnings generated. --- vmpsd-data.o --- 3 warnings generated. 1 error bmake[1]: stopped in /opt/work/net/openvmps/work/vmpsd *** [all] Error code 2 bmake: stopped in /opt/work/net/openvmps/work/vmpsd 1 error bmake: stopped in /opt/work/net/openvmps/work/vmpsd *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/openvmps *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/openvmps