+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ucspi-udp-0.88.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ucspi-udp-0.88.1/work.log ===> Building for ucspi-udp-0.88.1 --- load --- --- compile --- --- choose --- --- systype --- --- load --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo exec "`head -1 conf-ld`" '-o "$main" "$main".o ${1+"$@"}' ) > load chmod 755 load --- compile --- ( cat warn-auto.sh; echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' ) > compile --- systype --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; cat find-systype.sh; ) | sh > systype --- choose --- cat warn-auto.sh choose.sh | sed s}HOME}"`head -1 conf-home`"}g > choose --- udpcat --- --- compile --- chmod 755 compile --- udpcat --- cat warn-auto.sh udpcat.sh | sed s}HOME}"`head -1 conf-home`"}g > udpcat --- rts --- --- udpcat --- chmod 755 udpcat --- rts --- cat warn-auto.sh rts.sh | sed s}HOME}"`head -1 conf-home`"}g > rts --- alloc.o --- --- choose --- chmod 755 choose --- alloc.o --- ./compile alloc.c --- alloc_re.o --- --- rts --- chmod 755 rts --- alloc_re.o --- ./compile alloc_re.c --- auto-str.o --- ./compile auto-str.c --- alloc.o --- alloc.c:3:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: 'malloc' is declared in header '<stdlib.h>' 2 | #include "error.h" +++ |+#include <stdlib.h> 3 | extern char *malloc(); --- auto-str.o --- auto-str.c:8:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 8 | void puts(char *s) | ^~~~ auto-str.c:4:1: note: 'puts' is declared in header '<stdio.h>' 3 | #include "exit.h" +++ |+#include <stdio.h> 4 | auto-str.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] 13 | main(int argc,char **argv) | ^~~~ --- buffer.o --- ./compile buffer.c --- buffer_0.o --- ./compile buffer_0.c --- buffer_1.o --- ./compile buffer_1.c --- buffer_2.o --- ./compile buffer_2.c --- buffer_copy.o --- ./compile buffer_copy.c --- buffer_get.o --- --- buffer_put.o --- ./compile buffer_put.c --- buffer_get.o --- ./compile buffer_get.c --- byte_chr.o --- ./compile byte_chr.c --- byte_copy.o --- ./compile byte_copy.c --- byte_cr.o --- ./compile byte_cr.c --- byte_diff.o --- ./compile byte_diff.c --- byte_rchr.o --- ./compile byte_rchr.c --- byte_zero.o --- ./compile byte_zero.c --- case_diffb.o --- ./compile case_diffb.c --- case_diffs.o --- --- chkshsgr.o --- --- case_diffs.o --- ./compile case_diffs.c --- chkshsgr.o --- ./compile chkshsgr.c chkshsgr.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] 3 | main() | ^~~~ chkshsgr.c: In function 'main': chkshsgr.c:8:7: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] 8 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ --- env.o --- --- chkshsgr.o --- chkshsgr.c:8:32: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] 8 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ --- env.o --- ./compile env.c --- error.o --- ./compile error.c --- error_str.o --- --- fd_copy.o --- --- error_str.o --- ./compile error_str.c --- fd_copy.o --- ./compile fd_copy.c --- fd_move.o --- ./compile fd_move.c --- fmt_ulong.o --- ./compile fmt_ulong.c --- fd_copy.o --- fd_copy.c: In function 'fd_copy': fd_copy.c:8:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 8 | close(to); | ^~~~~ --- fd_move.o --- fd_move.c: In function 'fd_move': fd_move.c:7:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 7 | close(from); | ^~~~~ --- getln.o --- ./compile getln.c --- getln2.o --- ./compile getln2.c --- hier.o --- ./compile hier.c --- install.o --- ./compile install.c --- instcheck.o --- --- hier.o --- hier.c: In function 'hier': hier.c:5:3: warning: implicit declaration of function 'h' [-Wimplicit-function-declaration] 5 | h(auto_home,-1,-1,02755); | ^ hier.c:6:3: warning: implicit declaration of function 'd' [-Wimplicit-function-declaration] 6 | d(auto_home,"bin",-1,-1,02755); | ^ hier.c:8:3: warning: implicit declaration of function 'c' [-Wimplicit-function-declaration] 8 | c(auto_home,"bin","udplisten",-1,-1,0755); | ^ --- instcheck.o --- ./compile instcheck.c --- install.o --- install.c: In function 'h': install.c:20:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^~~~~ install.c:23:7: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ install.c:25:7: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^~~~~ install.c: In function 'd': install.c:36:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function 'c': install.c:63:7: warning: implicit declaration of function 'fchdir' [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 88 | close(fdin); | ^~~~~ --- ip4_fmt.o --- --- install.o --- install.c:91:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] 140 | main() | ^~~~ install.c: In function 'main': install.c:146:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] 146 | umask(077); | ^~~~~ --- ip4_fmt.o --- ./compile ip4_fmt.c --- ip4_scan.o --- ./compile ip4_scan.c --- instcheck.o --- instcheck.c: In function 'd': instcheck.c:59:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^~~~~ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] 104 | main() | ^~~~ --- ndelay_off.o --- ./compile ndelay_off.c --- ndelay_on.o --- ./compile ndelay_on.c --- open_read.o --- ./compile open_read.c --- open_trunc.o --- ./compile open_trunc.c --- open_write.o --- ./compile open_write.c --- openreadclose.o --- ./compile openreadclose.c --- pathexec_env.o --- ./compile pathexec_env.c --- pathexec_run.o --- ./compile pathexec_run.c --- readclose.o --- ./compile readclose.c --- pathexec_run.o --- pathexec_run.c: In function 'pathexec_run': pathexec_run.c:16:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] 16 | execve(file,argv,envp); | ^~~~~~ --- scan_ulong.o --- --- readclose.o --- readclose.c: In function 'readclose_append': readclose.c:9:44: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 9 | if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } | ^~~~~ --- scan_ulong.o --- ./compile scan_ulong.c --- seek_set.o --- ./compile seek_set.c --- sgetopt.o --- --- sig.o --- --- sgetopt.o --- ./compile sgetopt.c --- sig.o --- ./compile sig.c --- socket.lib --- ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib --- seek_set.o --- seek_set.c: In function 'seek_set': seek_set.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ --- socket_accept.o --- ./compile socket_accept.c --- socket_bind.o --- ./compile socket_bind.c --- socket_conn.o --- ./compile socket_conn.c --- socket.lib --- rm -f trylsock.o trylsock --- socket_delay.o --- ./compile socket_delay.c --- socket_listen.o --- ./compile socket_listen.c --- socket_local.o --- ./compile socket_local.c --- socket_opts.o --- ./compile socket_opts.c --- socket_remote.o --- ./compile socket_remote.c --- socket_tcp.o --- --- socket_udp.o --- --- socket_tcp.o --- ./compile socket_tcp.c --- socket_udp.o --- ./compile socket_udp.c --- str_chr.o --- ./compile str_chr.c --- socket_tcp.o --- socket_tcp.c: In function 'socket_tcp': socket_tcp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 14 | if (ndelay_on(s) == -1) { close(s); return -1; } | ^~~~~ --- str_diff.o --- --- str_len.o --- --- socket_udp.o --- socket_udp.c: In function 'socket_udp': socket_udp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 14 | if (ndelay_on(s) == -1) { close(s); return -1; } | ^~~~~ --- str_diff.o --- ./compile str_diff.c --- str_len.o --- ./compile str_len.c --- str_start.o --- ./compile str_start.c --- stralloc_cat.o --- ./compile stralloc_cat.c --- stralloc_catb.o --- ./compile stralloc_catb.c --- stralloc_cats.o --- ./compile stralloc_cats.c --- stralloc_copy.o --- ./compile stralloc_copy.c --- stralloc_eady.o --- ./compile stralloc_eady.c --- stralloc_opyb.o --- ./compile stralloc_opyb.c --- stralloc_opys.o --- ./compile stralloc_opys.c --- stralloc_pend.o --- ./compile stralloc_pend.c --- strerr_die.o --- ./compile strerr_die.c --- strerr_sys.o --- --- subgetopt.o --- --- strerr_sys.o --- ./compile strerr_sys.c --- subgetopt.o --- ./compile subgetopt.c --- udprulescheck.o --- ./compile udprulescheck.c --- udppipe.o --- ./compile udppipe.c --- uint16_pack.o --- ./compile uint16_pack.c --- udprulescheck.o --- udprulescheck.c: In function 'found': udprulescheck.c:19:9: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 19 | _exit(0); | ^~~~~ udprulescheck.c:19:9: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] udprulescheck.c:31:3: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 31 | _exit(0); | ^~~~~ udprulescheck.c: At top level: udprulescheck.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | main(int argc,char **argv) | ^~~~ udprulescheck.c: In function 'main': udprulescheck.c:51:8: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] 51 | fd = open_read(fnrules); | ^~~~~~~~~ udprulescheck.c:56:3: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 56 | _exit(0); | ^~~~~ --- uint16_unpack.o --- ./compile uint16_unpack.c --- udppipe.o --- udppipe.c: In function 'main': udppipe.c:17:21: warning: implicit declaration of function 'scan_ulong' [-Wimplicit-function-declaration] 17 | case 't': scan_ulong(optarg,&timeout); | ^~~~~~~~~~ udppipe.c:30:12: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 30 | switch(fork()) { | ^~~~ udppipe.c:32:13: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 32 | close(fd[0]); | ^~~~~ udppipe.c:33:18: warning: implicit declaration of function 'fd_move' [-Wimplicit-function-declaration] 33 | if ((fd_move(0,fd[1]) == -1) || (fd_copy(1,0) == -1)) | ^~~~~~~ udppipe.c:33:46: warning: implicit declaration of function 'fd_copy' [-Wimplicit-function-declaration] 33 | if ((fd_move(0,fd[1]) == -1) || (fd_copy(1,0) == -1)) | ^~~~~~~ udppipe.c:53:26: warning: implicit declaration of function 'read'; did you mean 'readv'? [-Wimplicit-function-declaration] 53 | int nbytes = read(fd[0],buf,sizeof(buf)); | ^~~~ | readv udppipe.c:59:27: warning: implicit declaration of function 'write'; did you mean 'writev'? [-Wimplicit-function-declaration] 59 | if (nbytes>0) write(fd[0],buf,nbytes); | ^~~~~ | writev --- uint32.h --- ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h --- hassgact.h --- ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h --- hassgprm.h --- ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h --- haswaitp.h --- ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h --- iopause.h --- --- uint32.h --- rm -f tryulong32.o tryulong32 --- iopause.h --- ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h --- select.h --- ./choose c trysysel select.h1 select.h2 > select.h --- uint64.h --- ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h --- makelib --- ( cat warn-auto.sh; echo 'main="$1"; shift'; echo 'rm -f "$main"'; echo 'ar cr "$main" ${1+"$@"}'; case "`cat systype`" in sunos-5.*) ;; unix_sv*) ;; irix64-*) ;; irix-*) ;; dgux-*) ;; hp-ux-*) ;; sco*) ;; *) echo 'ranlib "$main"' ;; esac ) > makelib chmod 755 makelib --- chkshsgr --- --- sig_catch.o --- --- chkshsgr --- ./load chkshsgr --- sig_catch.o --- ./compile sig_catch.c --- cdb.o --- ./compile cdb.c --- cdb_hash.o --- ./compile cdb_hash.c --- cdb_make.o --- ./compile cdb_make.c --- rules.o --- ./compile rules.c --- udprules.o --- ./compile udprules.c udprules.c: In function 'getnum': udprules.c:50:15: warning: implicit declaration of function 'scan_ulong' [-Wimplicit-function-declaration] 50 | if (sanum.s[scan_ulong(sanum.s,u)]) die_bad(); | ^~~~~~~~~~ udprules.c: At top level: udprules.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] 90 | main(int argc,char **argv) | ^~~~ udprules.c: In function 'main': udprules.c:104:8: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] 104 | fd = open_trunc(fntemp); | ^~~~~~~~~~ udprules.c:169:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] 169 | if (fsync(fd) == -1) die_write(); | ^~~~~ udprules.c:170:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 170 | if (close(fd) == -1) die_write(); /* NFS stupidity */ | ^~~~~ udprules.c:171:7: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] 171 | if (rename(fntemp,fn)) | ^~~~~~ --- uint32_pack.o --- ./compile uint32_pack.c --- uint32_unpack.o --- ./compile uint32_unpack.c --- sig_block.o --- ./compile sig_block.c --- sig_pause.o --- ./compile sig_pause.c --- wait_nohang.o --- ./compile wait_nohang.c --- wait_pid.o --- ./compile wait_pid.c --- hasshsgr.h --- ./chkshsgr || ( cat warn-shsgr; exit 1 ) --- dns_dfd.o --- --- hasshsgr.h --- ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h --- dns_dfd.o --- ./compile dns_dfd.c --- dns_domain.o --- ./compile dns_domain.c --- dns_dtda.o --- ./compile dns_dtda.c --- dns_ip.o --- ./compile dns_ip.c --- dns_ipq.o --- ./compile dns_ipq.c --- dns_name.o --- ./compile dns_name.c --- dns_nd.o --- --- dns_packet.o --- --- dns_nd.o --- ./compile dns_nd.c --- dns_random.o --- --- dns_packet.o --- ./compile dns_packet.c --- dns_random.o --- ./compile dns_random.c --- dns_rcip.o --- ./compile dns_rcip.c --- dns_random.o --- dns_random.c: In function 'dns_random_init': dns_random.c:46:11: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 46 | in[8] = getpid(); | ^~~~~~ dns_random.c:47:11: warning: implicit declaration of function 'getppid' [-Wimplicit-function-declaration] 47 | in[9] = getppid(); | ^~~~~~~ --- dns_rcrw.o --- ./compile dns_rcrw.c --- dns_resolve.o --- --- dns_sortip.o --- --- dns_resolve.o --- ./compile dns_resolve.c --- dns_sortip.o --- ./compile dns_sortip.c --- dns_rcrw.o --- dns_rcrw.c: In function 'init': dns_rcrw.c:92:7: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] 92 | if (gethostname(host,sizeof host) == -1) return -1; | ^~~~~~~~~~~ --- dns_transmit.o --- ./compile dns_transmit.c --- dns_txt.o --- ./compile dns_txt.c --- iopause.o --- ./compile iopause.c --- dns_transmit.o --- dns_transmit.c: In function 'socketfree': dns_transmit.c:70:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 70 | close(d->s1 - 1); | ^~~~~ dns_transmit.c: In function 'thisudp': dns_transmit.c:113:15: warning: implicit declaration of function 'send' [-Wimplicit-function-declaration] 113 | if (send(d->s1 - 1,d->query + 2,d->querylen - 2,0) == d->querylen - 2) { | ^~~~ dns_transmit.c: In function 'dns_transmit_get': dns_transmit.c:261:9: warning: implicit declaration of function 'recv' [-Wimplicit-function-declaration] 261 | r = recv(fd,udpbuf,sizeof udpbuf,0); | ^~~~ --- recordio.o --- ./compile recordio.c --- remoteinfo.o --- ./compile remoteinfo.c --- tai_pack.o --- ./compile tai_pack.c --- recordio.o --- recordio.c: In function 'doit': recordio.c:103:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 103 | close(fdleft); | ^~~~~ recordio.c: At top level: recordio.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] 144 | main(int argc,char **argv,char **envp) | ^~~~ recordio.c: In function 'main': recordio.c:149:21: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 149 | pid[fmt_ulong(pid,getpid())] = 0; | ^~~~~~ recordio.c:154:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 154 | if (pipe(piin) == -1) | ^~~~ recordio.c:159:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 159 | switch(fork()) { | ^~~~ recordio.c:171:7: warning: implicit declaration of function 'fd_move' [-Wimplicit-function-declaration] 171 | if (fd_move(0,piin[0]) == -1) | ^~~~~~~ --- taia_add.o --- ./compile taia_add.c --- remoteinfo.o --- remoteinfo.c: In function 'mywrite': remoteinfo.c:27:10: warning: implicit declaration of function 'write'; did you mean 'mywrite'? [-Wimplicit-function-declaration] 27 | return write(fd,buf,len); | ^~~~~ | mywrite remoteinfo.c: In function 'myread': remoteinfo.c:45:10: warning: implicit declaration of function 'read'; did you mean 'myread'? [-Wimplicit-function-declaration] 45 | return read(fd,buf,len); | ^~~~ | myread remoteinfo.c: In function 'remoteinfo': remoteinfo.c:96:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 96 | close(s); | ^~~~~ --- taia_approx.o --- ./compile taia_approx.c --- taia_frac.o --- ./compile taia_frac.c --- taia_less.o --- ./compile taia_less.c --- taia_now.o --- ./compile taia_now.c --- taia_pack.o --- --- taia_sub.o --- --- taia_pack.o --- ./compile taia_pack.c --- taia_sub.o --- ./compile taia_sub.c --- taia_uint.o --- ./compile taia_uint.c --- timeoutconn.o --- ./compile timeoutconn.c --- udpconnect.o --- ./compile udpconnect.c --- udplisten.o --- ./compile udplisten.c --- cdb.a --- ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o --- byte.a --- ./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o byte_rchr.o byte_zero.o case_diffb.o case_diffs.o fmt_ulong.o ip4_fmt.o ip4_scan.o scan_ulong.o str_chr.o str_diff.o str_len.o str_start.o uint16_pack.o uint16_unpack.o uint32_pack.o uint32_unpack.o --- prot.o --- --- udpconnect.o --- udpconnect.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] 75 | main(int argc,char **argv) | ^~~~ --- prot.o --- ./compile prot.c --- udpconnect.o --- udpconnect.c: In function 'main': udpconnect.c:108:21: warning: implicit declaration of function 'env_get' [-Wimplicit-function-declaration] 108 | case 'U': x = env_get("UID"); if (x) scan_ulong(x,&uid); | ^~~~~~~ udpconnect.c:108:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 108 | case 'U': x = env_get("UID"); if (x) scan_ulong(x,&uid); | ^ udpconnect.c:109:19: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 109 | x = env_get("GID"); if (x) scan_ulong(x,&gid); break; | ^ udpconnect.c:121:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 121 | close(fd); | ^~~~~ udpconnect.c:205:16: warning: implicit declaration of function 'prot_gid' [-Wimplicit-function-declaration] 205 | if (gid) if (prot_gid(gid) == -1) | ^~~~~~~~ udpconnect.c:207:16: warning: implicit declaration of function 'prot_uid' [-Wimplicit-function-declaration] 207 | if (uid) if (prot_uid(uid) == -1) | ^~~~~~~~ udpconnect.c:210:3: warning: implicit declaration of function 'ndelay_off' [-Wimplicit-function-declaration] 210 | ndelay_off(s); | ^~~~~~~~~~ --- udplisten.o --- In file included from udplisten.c:22: sgetopt.h:5:16: error: conflicting types for 'sgetoptmine'; have 'int(int, char * const*, const char *)' 5 | #define getopt sgetoptmine | ^~~~~~~~~~~ sgetopt.h:17:12: note: previous declaration of 'sgetoptmine' with type 'int(int, char **, char *)' 17 | extern int sgetoptmine(int,char **,char *); | ^~~~~~~~~~~ udplisten.c: In function 'doit': udplisten.c:145:29: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 145 | strnum[fmt_ulong(strnum,getpid())] = 0; | ^~~~~~ udplisten.c:150:5: warning: implicit declaration of function 'socket_ipoptionskill' [-Wimplicit-function-declaration] 150 | socket_ipoptionskill(t); | ^~~~~~~~~~~~~~~~~~~~ udplisten.c:210:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 210 | close(fdrules); | ^~~~~ | pclose udplisten.c: At top level: udplisten.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] 315 | main(int argc,char **argv) | ^~~~ udplisten.c: In function 'main': udplisten.c:439:16: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 439 | switch(fork()) { | ^~~~ --- dns.a --- ./makelib dns.a dns_dfd.o dns_domain.o dns_dtda.o dns_ip.o dns_ipq.o dns_name.o dns_nd.o dns_packet.o dns_random.o dns_rcip.o dns_rcrw.o dns_resolve.o dns_sortip.o dns_transmit.o dns_txt.o --- udplisten.o --- *** [udplisten.o] Error code 1 bmake: stopped making "it" in /home/pbulk/build/net/ucspi-udp/work/tsi-ucspi-udp-ea972137e1da3189237aecc954bff2377398cb36 --- prot.o --- prot.c: In function 'prot_gid': prot.c:11:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] 11 | if (setgroups(1,&gid) == -1) return -1; | ^~~~~~~~~ prot.c:13:10: warning: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] 13 | return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ | ^~~~~~ prot.c: In function 'prot_uid': prot.c:18:10: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] 18 | return setuid(uid); | ^~~~~~ bmake: 1 error bmake: stopped making "it" in /home/pbulk/build/net/ucspi-udp/work/tsi-ucspi-udp-ea972137e1da3189237aecc954bff2377398cb36 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ucspi-udp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ucspi-udp