Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ucspi-tcp-toaster.spec'], chrootPath='/var/lib/mock/1195212-epel-8-x86_64-1580150300.512222/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4e052194d7074e748a0d40903dbab57a', '-D', '/var/lib/mock/1195212-epel-8-x86_64-1580150300.512222/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ucspi-tcp-toaster.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: bogus date in %changelog: Sun Feb 15 2003 Nick Hemmesch 0.88-1.0.4 warning: bogus date in %changelog: Thu Aug 13 2002 Miguel Beccari 0.6.0.88-1 warning: bogus date in %changelog: Tue Aug 08 2002 Miguel Beccari 0.4.0.88-1 warning: bogus date in %changelog: Thu Aug 06 2002 Miguel Beccari 0.3.0.88-3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ucspi-tcp-toaster.spec'], chrootPath='/var/lib/mock/1195212-epel-8-x86_64-1580150300.512222/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b4b8f20bbf3445fdba0e4ae75101389c', '-D', '/var/lib/mock/1195212-epel-8-x86_64-1580150300.512222/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9t6vgrg9:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ucspi-tcp-toaster.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: bogus date in %changelog: Sun Feb 15 2003 Nick Hemmesch 0.88-1.0.4 warning: bogus date in %changelog: Thu Aug 13 2002 Miguel Beccari 0.6.0.88-1 warning: bogus date in %changelog: Tue Aug 08 2002 Miguel Beccari 0.4.0.88-1 warning: bogus date in %changelog: Thu Aug 06 2002 Miguel Beccari 0.3.0.88-3 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2MWF69 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ucspi-tcp-0.88 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ucspi-tcp-0.88.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ucspi-tcp-0.88 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ucspi-tcp-0.88-ipv6.patch): + echo 'Patch #0 (ucspi-tcp-0.88-ipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file FILES patching file Makefile patching file TARGETS patching file addcr.1 patching file argv0.1 patching file date@.1 patching file delcr.1 patching file dns.h patching file dns_dfd.c patching file dns_domain.c patching file dns_dtda.c patching file dns_ip.c patching file dns_ip6.c patching file dns_ipq.c patching file dns_ipq6.c patching file dns_name.c patching file dns_nd.c patching file dns_nd6.c patching file dns_packet.c patching file dns_random.c patching file dns_rcip.c patching file dns_rcrw.c patching file dns_resolve.c patching file dns_sortip6.c patching file dns_transmit.c patching file dns_txt.c patching file error.h patching file finger@.1 patching file fixcr.1 patching file fmt_xlong.c patching file haveip6.h1 patching file haveip6.h2 patching file hier.c patching file http@.1 patching file ip4.h patching file ip6.h patching file ip6_fmt.c patching file mconnect.1 patching file old-rules.c patching file pathexec.h patching file pathexec_env.c patching file recordio.1 patching file remoteinfo.h patching file remoteinfo6.c patching file rules.c patching file scan_ip6.c patching file scan_xlong.c patching file socket.h patching file socket_accept6.c patching file socket_bind.c patching file socket_bind6.c patching file socket_conn.c patching file socket_conn6.c patching file socket_getifidx.c patching file socket_getifname.c patching file socket_ip4loopback.c patching file socket_local6.c patching file socket_recv6.c patching file socket_remote6.c patching file socket_send6.c patching file socket_tcp6.c patching file socket_udp6.c patching file socket_v4mappedprefix.c patching file socket_v6any.c patching file socket_v6loopback.c patching file str.h patching file str_chr.c patching file str_diff.c patching file str_len.c patching file str_start.c patching file stralloc.h patching file stralloc_catb.c patching file stralloc_cats.c patching file stralloc_opyb.c patching file stralloc_opys.c patching file tcp-environ.5 patching file tcpcat.1 patching file tcpclient.1 patching file tcpclient.c patching file tcprules.1 patching file tcprules.c patching file tcprulescheck.1 patching file tcpserver.1 patching file tcpserver.c patching file timeoutconn.h patching file timeoutconn6.c patching file tryip6.c patching file usr/local/man/man1/tcpclient.1 patching file usr/local/man/man1/tcpserver.1 patching file who@.1 Patch #10 (ucspi-tcp-toaster-04182004_rediff.patch): + echo 'Patch #10 (ucspi-tcp-toaster-04182004_rediff.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rblsmtpd.c Patch #11 (ucspi-tcp-rbltimeout_rediff.patch): + echo 'Patch #11 (ucspi-tcp-rbltimeout_rediff.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file rblsmtpd.c Patch #1 (ucspi-tcp-centos7.patch): + echo 'Patch #1 (ucspi-tcp-centos7.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 332 (offset 4 lines). + '[' -f /var/tmp/ucspi-tcp-0.88-gcc ']' + echo gcc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5Hozk6 + umask 022 + cd /builddir/build/BUILD + cd ucspi-tcp-0.88 + '[' -n /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 -a /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 ++ cat /var/tmp/ucspi-tcp-0.88-gcc + echo 'gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' ++ cat /var/tmp/ucspi-tcp-0.88-gcc + echo 'gcc -s -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + echo 'gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + echo 'gcc -s -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + '[' -f /var/tmp/ucspi-tcp-0.88-gcc ']' + rm -f /var/tmp/ucspi-tcp-0.88-gcc + echo /usr + make ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load chmod 755 load ( cat warn-auto.sh; \ echo exec "`head -1 conf-cc`" '-c ${1+"$@"}' \ ) > compile chmod 755 compile cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > choose chmod 755 choose ./choose clr trypoll iopause.h1 iopause.h2 > iopause.h ./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile tcpserver.c tcpserver.c: In function 'doit': tcpserver.c:150:17: warning: implicit declaration of function 'ip6_fmt'; did you mean 'ip4_fmt'? [-Wimplicit-function-declaration] remoteipstr[ip6_fmt(remoteipstr,remoteip)] = 0; ^~~~~~~ ip4_fmt tcpserver.c:153:29: warning: implicit declaration of function 'getpid'; did you mean 'setbit'? [-Wimplicit-function-declaration] strnum[fmt_ulong(strnum,getpid())] = 0; ^~~~~~ setbit tcpserver.c:158:5: warning: implicit declaration of function 'socket_ipoptionskill'; did you mean 'socket_getifidx'? [-Wimplicit-function-declaration] socket_ipoptionskill(t); ^~~~~~~~~~~~~~~~~~~~ socket_getifidx tcpserver.c:160:5: warning: implicit declaration of function 'socket_tcpnodelay'; did you mean 'socket_connect6'? [-Wimplicit-function-declaration] socket_tcpnodelay(t); ^~~~~~~~~~~~~~~~~ socket_connect6 tcpserver.c:178:9: warning: implicit declaration of function 'dns_name6'; did you mean 'dns_name4'? [-Wimplicit-function-declaration] if (dns_name6(&localhostsa,localip) == 0) ^~~~~~~~~ dns_name4 tcpserver.c:243:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdrules); ^~~~~ tcpserver.c: In function 'sigchld': tcpserver.c:322:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (numchildren) --numchildren; printstatus(); ^~ tcpserver.c:322:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (numchildren) --numchildren; printstatus(); ^~~~~~~~~~~ tcpserver.c: At top level: tcpserver.c:326:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ tcpserver.c: In function 'main': tcpserver.c:450:12: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ tcpserver.c:329:9: warning: unused variable 'portname' [-Wunused-variable] char *portname; ^~~~~~~~ ./compile rules.c ./compile remoteinfo6.c remoteinfo6.c: In function 'mywrite': remoteinfo6.c:27:10: warning: implicit declaration of function 'write'; did you mean 'mywrite'? [-Wimplicit-function-declaration] return write(fd,buf,len); ^~~~~ mywrite remoteinfo6.c: In function 'myread': remoteinfo6.c:45:10: warning: implicit declaration of function 'read'; did you mean 'myread'? [-Wimplicit-function-declaration] return read(fd,buf,len); ^~~~ myread remoteinfo6.c: In function 'remoteinfo6': remoteinfo6.c:96:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(s); ^~~~~ ./compile timeoutconn6.c ( cat warn-auto.sh; \ echo CC=\'`head -1 conf-cc`\'; \ echo LD=\'`head -1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype ( 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 ./compile cdb.c ./compile cdb_hash.c ./compile cdb_make.c ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o ./compile dns_dfd.c ./compile dns_domain.c dns_domain.c: In function 'dns_domain_equal': dns_domain.c:46:18: warning: passing argument 1 of 'case_diffb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (case_diffb(dn1,len,dn2)) return 0; /* safe since 63 < 'A' */ ^~~ In file included from dns_domain.c:2: case.h:7:23: note: expected 'char *' but argument is of type 'const char *' extern int case_diffb(char *,unsigned int,char *); ^~~~~~ dns_domain.c:46:26: warning: passing argument 3 of 'case_diffb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (case_diffb(dn1,len,dn2)) return 0; /* safe since 63 < 'A' */ ^~~ In file included from dns_domain.c:2: case.h:7:43: note: expected 'char *' but argument is of type 'const char *' extern int case_diffb(char *,unsigned int,char *); ^~~~~~ ./compile dns_dtda.c ./compile dns_ip.c ./compile dns_ipq.c dns_ipq.c: In function 'doit': dns_ipq.c:21:18: warning: passing argument 1 of 'case_diffb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (case_diffb(rule,colon,work->s + prefixlen)) return 1; ^~~~ In file included from dns_ipq.c:2: case.h:7:23: note: expected 'char *' but argument is of type 'const char *' extern int case_diffb(char *,unsigned int,char *); ^~~~~~ dns_ipq.c: In function 'dns_ip4_qualify_rules': dns_ipq.c:40:27: warning: passing argument 2 of 'stralloc_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!stralloc_copy(fqdn,in)) return -1; ^~ In file included from dns_ipq.c:1: stralloc.h:10:37: note: expected 'stralloc *' {aka 'struct stralloc *'} but argument is of type 'const stralloc *' {aka 'const struct stralloc *'} extern int stralloc_copy(stralloc *,stralloc *); ^~~~~~~~~~ ./compile dns_name.c ./compile dns_nd.c ./compile dns_packet.c dns_packet.c: In function 'dns_packet_getname': dns_packet.c:47:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:47:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:51:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; ^~ dns_packet.c:51:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; ^~~~ dns_packet.c:57:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:57:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:60:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:60:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (pos >= len) goto PROTO; ch = buf[pos++]; ^~ dns_packet.c:64:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; ^~ dns_packet.c:64:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (namelen + 1 > sizeof name) goto PROTO; name[namelen++] = ch; ^~~~ ./compile dns_random.c dns_random.c: In function 'dns_random_init': dns_random.c:40:24: warning: passing argument 1 of 'uint32_unpack' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] uint32_unpack(data + 4 * i,seed + i); ~~~~~^~~~~~~ In file included from dns_random.c:4: uint32.h:8:27: note: expected 'char *' but argument is of type 'const char *' extern void uint32_unpack(char *,uint32 *); ^~~~~~ ./compile dns_rcip.c ./compile dns_rcrw.c dns_rcrw.c: In function 'init': dns_rcrw.c:24:21: warning: passing argument 1 of 'openreadclose' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] i = openreadclose(x,&data,64); ^ In file included from dns_rcrw.c:5: openreadclose.h:6:26: note: expected 'char *' but argument is of type 'const char *' extern int openreadclose(char *,stralloc *,unsigned int); ^~~~~~ ./compile dns_resolve.c dns_resolve.c: In function 'dns_resolve': dns_resolve.c:18:60: warning: pointer targets in passing argument 6 of 'dns_transmit_start' differ in signedness [-Wpointer-sign] if (dns_transmit_start(&dns_resolve_tx,servers,1,q,qtype,V6any) == -1) return -1; ^~~~~ In file included from dns_resolve.c:4: dns.h:62:12: note: expected 'const char *' but argument is of type 'const unsigned char *' extern int dns_transmit_start(struct dns_transmit *,const char *,int,const char *,const char *,const char *); ^~~~~~~~~~~~~~~~~~ ./compile dns_sortip.c ./compile dns_transmit.c dns_transmit.c: In function 'dns_transmit_get': dns_transmit.c:253:19: warning: passing argument 1 of 'taia_less' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (taia_less(when,&d->deadline)) return 0; ^~~~ In file included from iopause.h:14, from dns.h:5, from dns_transmit.c:9: taia.h:22:22: note: expected 'struct taia *' but argument is of type 'const struct taia *' extern int taia_less(struct taia *,struct taia *); ^~~~~~~~~~~~~ ./compile dns_txt.c ./compile dns_ip6.c ./compile dns_sortip6.c ./compile dns_nd6.c ./compile dns_ipq6.c dns_ipq6.c: In function 'doit': dns_ipq6.c:21:18: warning: passing argument 1 of 'case_diffb' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (case_diffb(rule,colon,work->s + prefixlen)) return 1; ^~~~ In file included from dns_ipq6.c:2: case.h:7:23: note: expected 'char *' but argument is of type 'const char *' extern int case_diffb(char *,unsigned int,char *); ^~~~~~ dns_ipq6.c: In function 'dns_ip6_qualify_rules': dns_ipq6.c:41:27: warning: passing argument 2 of 'stralloc_copy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!stralloc_copy(fqdn,in)) return -1; ^~ In file included from dns_ipq6.c:1: stralloc.h:10:37: note: expected 'stralloc *' {aka 'struct stralloc *'} but argument is of type 'const stralloc *' {aka 'const struct stralloc *'} extern int stralloc_copy(stralloc *,stralloc *); ^~~~~~~~~~ ./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 dns_ip6.o dns_sortip6.o dns_nd6.o \ dns_ipq6.o ./choose c trysysel select.h1 select.h2 > select.h ./compile iopause.c ./compile tai_pack.c ./compile taia_add.c ./compile taia_approx.c ./compile taia_frac.c ./compile taia_less.c ./compile taia_now.c ./compile taia_pack.c ./compile taia_sub.c ./compile taia_uint.c ./makelib time.a iopause.o tai_pack.o taia_add.o \ taia_approx.o taia_frac.o taia_less.o taia_now.o \ taia_pack.o taia_sub.o taia_uint.o ./compile alloc.c alloc.c:3:14: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] extern char *malloc(); ^~~~~~ ./compile alloc_re.c ./compile buffer.c ./compile buffer_0.c ./compile buffer_1.c ./compile buffer_2.c ./compile buffer_copy.c ./compile buffer_get.c ./compile buffer_put.c ./compile env.c ./compile error.c ./compile error_str.c ./compile fd_copy.c fd_copy.c: In function 'fd_copy': fd_copy.c:8:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(to); ^~~~~ ./compile fd_move.c fd_move.c: In function 'fd_move': fd_move.c:7:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(from); ^~~~~ ./compile getln.c ./compile getln2.c ./compile ndelay_off.c ./compile ndelay_on.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile openreadclose.c ./compile pathexec_env.c ./compile pathexec_run.c pathexec_run.c: In function 'pathexec_run': pathexec_run.c:16:5: warning: implicit declaration of function 'execve' [-Wimplicit-function-declaration] execve(file,argv,envp); ^~~~~~ ./compile chkshsgr.c chkshsgr.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ chkshsgr.c: In function 'main': chkshsgr.c:8:7: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^~~~~~~~~ chkshsgr.c:8:32: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); ^~~~~~~~~ ./load chkshsgr ./chkshsgr || ( cat warn-shsgr; exit 0 ) Oops. Your getgroups() returned 0, and setgroups() failed; this means that I can't reliably do my shsgr test. Please either ``make'' as root or ``make'' while you're in one or more supplementary groups. ./choose clr tryshsgr hasshsgr.h1 hasshsgr.h2 > hasshsgr.h ./compile prot.c prot.c: In function 'prot_gid': prot.c:11:7: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] if (setgroups(1,&gid) == -1) return -1; ^~~~~~~~~ prot.c:13:10: warning: implicit declaration of function 'setgid'; did you mean 'prot_gid'? [-Wimplicit-function-declaration] return setgid(gid); /* _should_ be redundant, but on some systems it isn't */ ^~~~~~ prot_gid prot.c: In function 'prot_uid': prot.c:18:10: warning: implicit declaration of function 'setuid'; did you mean 'prot_uid'? [-Wimplicit-function-declaration] return setuid(uid); ^~~~~~ prot_uid ./compile readclose.c readclose.c: In function 'readclose_append': readclose.c:9:44: warning: implicit declaration of function 'close'; did you mean 'readclose'? [-Wimplicit-function-declaration] if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } ^~~~~ readclose ./compile seek_set.c seek_set.c: In function 'seek_set': seek_set.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } ^~~~~ ./compile sgetopt.c ./compile sig.c ./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h ./compile sig_block.c ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./compile sig_catch.c ./compile sig_pause.c ./compile socket_accept.c socket_accept.c: In function 'socket_accept4': socket_accept.c:14:41: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] fd = accept(s,(struct sockaddr *) &sa,&dummy); ^~~~~~ In file included from socket_accept.c:3: /usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ ./compile socket_bind.c ./compile socket_conn.c socket_conn.c: In function 'socket_connected': socket_conn.c:28:45: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(s,(struct sockaddr *) &sa,&dummy) == -1) { ^~~~~~ In file included from socket_conn.c:3: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./compile socket_delay.c ./compile socket_listen.c ./compile socket_local.c socket_local.c: In function 'socket_local4': socket_local.c:13:45: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(s,(struct sockaddr *) &sa,&dummy) == -1) return -1; ^~~~~~ In file included from socket_local.c:3: /usr/include/sys/socket.h:116:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getsockname (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./compile socket_opts.c ./compile socket_remote.c socket_remote.c: In function 'socket_remote4': socket_remote.c:13:45: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(s,(struct sockaddr *) &sa,&dummy) == -1) return -1; ^~~~~~ In file included from socket_remote.c:3: /usr/include/sys/socket.h:130:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' extern int getpeername (int __fd, __SOCKADDR_ARG __addr, ^~~~~~~~~~~ ./compile socket_tcp.c socket_tcp.c: In function 'socket_tcp': socket_tcp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (ndelay_on(s) == -1) { close(s); return -1; } ^~~~~ ./compile socket_udp.c socket_udp.c: In function 'socket_udp': socket_udp.c:14:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (ndelay_on(s) == -1) { close(s); return -1; } ^~~~~ ./compile stralloc_cat.c ./compile stralloc_catb.c ./compile stralloc_cats.c ./compile stralloc_copy.c ./compile stralloc_eady.c ./compile stralloc_opyb.c ./compile stralloc_opys.c ./compile stralloc_pend.c ./compile strerr_die.c ./compile strerr_sys.c ./compile subgetopt.c ./choose cl trywaitp haswaitp.h1 haswaitp.h2 > haswaitp.h ./compile wait_nohang.c ./compile wait_pid.c ./choose c tryip6 haveip6.h1 haveip6.h2 > haveip6.h ./compile socket_conn6.c ./compile socket_bind6.c ./compile socket_accept6.c ./compile socket_recv6.c ./compile socket_send6.c ./compile socket_local6.c ./compile socket_remote6.c ./compile socket_tcp6.c socket_tcp6.c: In function 'socket_tcp6': socket_tcp6.c:33:29: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (ndelay_on(s) == -1) { close(s); return -1; } ^~~~~ ./compile socket_getifname.c ./compile socket_getifidx.c ./compile socket_v4mappedprefix.c ./compile socket_ip4loopback.c ./compile socket_v6any.c ./compile socket_v6loopback.c ./compile socket_udp6.c ./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o \ buffer_1.o buffer_2.o buffer_copy.o buffer_get.o \ buffer_put.o env.o error.o error_str.o fd_copy.o fd_move.o \ getln.o getln2.o ndelay_off.o ndelay_on.o open_read.o \ open_trunc.o open_write.o openreadclose.o pathexec_env.o \ pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o \ sig.o sig_block.o sig_catch.o sig_pause.o socket_accept.o \ socket_bind.o socket_conn.o socket_delay.o socket_listen.o \ socket_local.o socket_opts.o socket_remote.o socket_tcp.o \ socket_udp.o stralloc_cat.o stralloc_catb.o stralloc_cats.o \ stralloc_copy.o stralloc_eady.o stralloc_opyb.o \ stralloc_opys.o stralloc_pend.o strerr_die.o strerr_sys.o \ subgetopt.o wait_nohang.o wait_pid.o socket_conn6.o \ socket_bind6.o socket_accept6.o socket_recv6.o socket_send6.o \ socket_local6.o socket_remote6.o socket_tcp6.o \ socket_getifname.o socket_getifidx.o socket_v4mappedprefix.o \ socket_ip4loopback.o socket_v6any.o socket_v6loopback.o \ socket_udp6.o ./compile byte_chr.c byte_chr.c: In function 'byte_chr': byte_chr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:14:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:15:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:16:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) break; ++t; --n; ^~ byte_chr.c:17:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) break; ++t; --n; ^~ ./compile byte_copy.c byte_copy.c: In function 'byte_copy': byte_copy.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:9:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:10:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:11:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ byte_copy.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *to++ = *from++; --n; ^~ byte_copy.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *to++ = *from++; --n; ^ ./compile byte_cr.c byte_cr.c: In function 'byte_copyr': byte_cr.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:11:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:13:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ byte_cr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return; *--to = *--from; --n; ^~ byte_cr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return; *--to = *--from; --n; ^ ./compile byte_diff.c byte_diff.c: In function 'byte_diff': byte_diff.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:9:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:10:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:11:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ byte_diff.c:12:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; ^~ ./compile byte_rchr.c byte_rchr.c: In function 'byte_rchr': byte_rchr.c:16:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:16:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:17:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:17:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:18:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:18:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:19:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ byte_rchr.c:19:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; if (*t == ch) u = t; ++t; --n; ^~ ./compile byte_zero.c byte_zero.c: In function 'byte_zero': byte_zero.c:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:8:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:9:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:10:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ byte_zero.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!n) break; *s++ = 0; --n; ^~ byte_zero.c:11:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!n) break; *s++ = 0; --n; ^ ./compile case_diffb.c ./compile case_diffs.c ./compile fmt_ulong.c ./compile ip4_fmt.c ip4_fmt.c: In function 'ip4_fmt': ip4_fmt.c:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s) *s++ = '.'; ++len; ^~ ip4_fmt.c:11:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (s) *s++ = '.'; ++len; ^~ ip4_fmt.c:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s) *s++ = '.'; ++len; ^~ ip4_fmt.c:13:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (s) *s++ = '.'; ++len; ^~ ip4_fmt.c:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (s) *s++ = '.'; ++len; ^~ ip4_fmt.c:15:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (s) *s++ = '.'; ++len; ^~ ./compile ip4_scan.c ip4_scan.c: In function 'ip4_scan': ip4_scan.c:12:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*s != '.') return 0; ++s; ++len; ^~ ip4_scan.c:12:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*s != '.') return 0; ++s; ++len; ^~ ip4_scan.c:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*s != '.') return 0; ++s; ++len; ^~ ip4_scan.c:14:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*s != '.') return 0; ++s; ++len; ^~ ip4_scan.c:16:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (*s != '.') return 0; ++s; ++len; ^~ ip4_scan.c:16:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (*s != '.') return 0; ++s; ++len; ^~ ./compile scan_ulong.c ./compile str_chr.c str_chr.c: In function 'str_chr': str_chr.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:11:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:12:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:13:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:13:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:14:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) break; if (*t == ch) break; ++t; ^~ str_chr.c:14:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) break; if (*t == ch) break; ++t; ^~ ./compile str_diff.c ./compile str_len.c str_len.c: In function 'str_len': str_len.c:9:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:9:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:10:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:10:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:11:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:11:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ str_len.c:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!*t) return t - s; ++t; ^~ str_len.c:12:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!*t) return t - s; ++t; ^~ ./compile str_start.c ./compile uint16_pack.c ./compile uint16_unpack.c ./compile uint32_pack.c ./compile uint32_unpack.c ./compile ip6_fmt.c ./compile scan_ip6.c ./compile scan_xlong.c ./compile fmt_xlong.c ./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 ip6_fmt.o \ scan_ip6.o scan_xlong.o fmt_xlong.o ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib rm -f trylsock.o trylsock ./load tcpserver rules.o remoteinfo6.o timeoutconn6.o cdb.a \ dns.a time.a unix.a byte.a `cat socket.lib` ./compile tcprules.c tcprules.c: In function 'getnum': tcprules.c:50:15: warning: implicit declaration of function 'scan_ulong'; did you mean 'fmt_ulong'? [-Wimplicit-function-declaration] if (sanum.s[scan_ulong(sanum.s,u)]) die_bad(); ^~~~~~~~~~ fmt_ulong tcprules.c: At top level: tcprules.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ tcprules.c: In function 'main': tcprules.c:104:8: warning: implicit declaration of function 'open_trunc' [-Wimplicit-function-declaration] fd = open_trunc(fntemp); ^~~~~~~~~~ tcprules.c:176:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fd) == -1) die_write(); ^~~~~ tcprules.c:177:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] if (close(fd) == -1) die_write(); /* NFS stupidity */ ^~~~~ tcprules.c:178:7: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] if (rename(fntemp,fn)) ^~~~~~ ./load tcprules cdb.a unix.a byte.a ./compile tcprulescheck.c tcprulescheck.c: In function 'found': tcprulescheck.c:19:2: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit(0); ^~~~~ tcprulescheck.c:19:2: warning: incompatible implicit declaration of built-in function '_exit' tcprulescheck.c:31:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ tcprulescheck.c: At top level: tcprulescheck.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ tcprulescheck.c: In function 'main': tcprulescheck.c:51:8: warning: implicit declaration of function 'open_read' [-Wimplicit-function-declaration] fd = open_read(fnrules); ^~~~~~~~~ tcprulescheck.c:56:3: warning: incompatible implicit declaration of built-in function '_exit' _exit(0); ^~~~~ ./load tcprulescheck rules.o cdb.a unix.a byte.a ./compile argv0.c argv0.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv,char **envp) ^~~~ ./load argv0 unix.a byte.a ./compile recordio.c recordio.c: In function 'doit': recordio.c:103:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdleft); ^~~~~ recordio.c: At top level: recordio.c:144:1: warning: return type defaults to 'int' [-Wimplicit-int] 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] pid[fmt_ulong(pid,getpid())] = 0; ^~~~~~ recordio.c:154:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe(piin) == -1) ^~~~ recordio.c:159:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ recordio.c:171:7: warning: implicit declaration of function 'fd_move' [-Wimplicit-function-declaration] if (fd_move(0,piin[0]) == -1) ^~~~~~~ ./load recordio time.a unix.a byte.a ./compile tcpclient.c tcpclient.c:73:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ tcpclient.c: In function 'main': tcpclient.c:85:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(6); ^~~~~ tcpclient.c:168:10: warning: implicit declaration of function 'ip6_fmt'; did you mean 'ip4_fmt'? [-Wimplicit-function-declaration] ipstr[ip6_fmt(ipstr,addresses.s + j)] = 0; ^~~~~~~ ip4_fmt tcpclient.c:182:5: warning: implicit declaration of function 'socket_tcpnodelay'; did you mean 'socket_connect6'? [-Wimplicit-function-declaration] socket_tcpnodelay(s); /* if it fails, bummer */ ^~~~~~~~~~~~~~~~~ socket_connect6 tcpclient.c:202:9: warning: implicit declaration of function 'dns_name6'; did you mean 'dns_name4'? [-Wimplicit-function-declaration] if (dns_name6(&tmp,iplocal) == 0) { ^~~~~~~~~ dns_name4 ./load tcpclient remoteinfo6.o timeoutconn6.o dns.a time.a \ unix.a byte.a `cat socket.lib` cat warn-auto.sh who@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > who@ chmod 755 who@ cat warn-auto.sh date@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > date@ chmod 755 date@ cat warn-auto.sh finger@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > finger@ chmod 755 finger@ cat warn-auto.sh http@.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > http@ chmod 755 http@ cat warn-auto.sh tcpcat.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > tcpcat chmod 755 tcpcat cat warn-auto.sh mconnect.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > mconnect chmod 755 mconnect ./choose cl tryvfork fork.h1 fork.h2 > fork.h ./compile mconnect-io.c mconnect-io.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ mconnect-io.c: In function 'main': mconnect-io.c:49:3: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration] kill(pid,sig_term); ^~~~ ./load mconnect-io unix.a byte.a ./compile addcr.c addcr.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ ./load addcr unix.a byte.a ./compile delcr.c delcr.c:4:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ ./load delcr unix.a byte.a ./compile fixcrio.c fixcrio.c: In function 'doit': fixcrio.c:78:9: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdleft); ^~~~~ fixcrio.c: At top level: fixcrio.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv,char **envp) ^~~~ fixcrio.c: In function 'main': fixcrio.c:137:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe(piin) == -1) ^~~~ fixcrio.c:142:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ fixcrio.c:154:7: warning: implicit declaration of function 'fd_move' [-Wimplicit-function-declaration] if (fd_move(0,piin[0]) == -1) ^~~~~~~ ./load fixcrio time.a unix.a byte.a ./compile rblsmtpd.c rblsmtpd.c: In function 'rbl': rblsmtpd.c:86:15: warning: unused variable 'x' [-Wunused-variable] char *x; ^ rblsmtpd.c:113:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (text.len) ^ rblsmtpd.c: In function 'put_log': rblsmtpd.c:162:47: warning: implicit declaration of function 'getpid'; did you mean 'getopt'? [-Wimplicit-function-declaration] buffer_put(buffer_2,strnum,fmt_ulong(strnum,getpid())); ^~~~~~ getopt rblsmtpd.c: In function 'rblsmtpd': rblsmtpd.c:192:5: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(timeout); ^~~~~ rblsmtpd.c:175:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ rblsmtpd.c: At top level: rblsmtpd.c:214:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv,char **envp) ^~~~ ./compile commands.c ./load rblsmtpd commands.o dns.a time.a unix.a byte.a \ `cat socket.lib` cat warn-auto.sh rts.sh \ | sed s}HOME}"`head -1 conf-home`"}g \ > rts chmod 755 rts ./compile install.c install.c: In function 'h': install.c:20:7: warning: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] if (mkdir(home,0700) == -1) ^~~~~ install.c:23:7: warning: implicit declaration of function 'chown' [-Wimplicit-function-declaration] if (chown(home,uid,gid) == -1) ^~~~~ install.c:25:7: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] if (chmod(home,mode) == -1) ^~~~~ install.c: In function 'd': install.c:36:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] if (chdir(home) == -1) ^~~~~ install.c: In function 'c': install.c:63:7: warning: implicit declaration of function 'fchdir' [-Wimplicit-function-declaration] if (fchdir(fdsourcedir) == -1) ^~~~~~ install.c:88:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(fdin); ^~~~~ install.c:91:7: warning: implicit declaration of function 'fsync' [-Wimplicit-function-declaration] if (fsync(fdout) == -1) ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ install.c: In function 'main': install.c:146:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] umask(077); ^~~~~ ./compile hier.c hier.c: In function 'hier': hier.c:5:3: warning: implicit declaration of function 'h' [-Wimplicit-function-declaration] h(auto_home,-1,-1,02755); ^ hier.c:6:3: warning: implicit declaration of function 'd' [-Wimplicit-function-declaration] d(auto_home,"bin",-1,-1,02755); ^ hier.c:11:3: warning: implicit declaration of function 'c' [-Wimplicit-function-declaration] c(auto_home,"bin","tcpserver",-1,-1,0755); ^ ./compile auto-str.c auto-str.c:8:6: warning: conflicting types for built-in function 'puts' [-Wbuiltin-declaration-mismatch] void puts(char *s) ^~~~ auto-str.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ auto-str.c: In function 'main': auto-str.c:29:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (ch = *value++) { ^~ ./load auto-str unix.a byte.a ./auto-str auto_home `head -1 conf-home` > auto_home.c ./compile auto_home.c ./load install hier.o auto_home.o unix.a byte.a ./compile instcheck.c instcheck.c: In function 'd': instcheck.c:59:7: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] if (chdir(home) == -1) ^~~~~ mkdir instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ ./load instcheck hier.o auto_home.o unix.a byte.a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AUY8tl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 + cd ucspi-tcp-0.88 + mkdir -p /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/man/man5 /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/man/man8 + install -m 755 addcr argv0 date@ delcr finger@ fixcrio http@ mconnect mconnect-io rblsmtpd recordio tcpcat tcpclient tcprules tcprulescheck tcpserver who@ /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/bin + cd /builddir/build/BUILD + tar xvfj /builddir/build/SOURCES/ucspi-tcp-0.88-man.tar.bz2 ucspi-tcp-0.88-man/ ucspi-tcp-0.88-man/tcp-qualify.5 ucspi-tcp-0.88-man/tcpserver.8 ucspi-tcp-0.88-man/tcprules.8 ucspi-tcp-0.88-man/tcprulescheck.8 ucspi-tcp-0.88-man/argv0.8 ucspi-tcp-0.88-man/fixcrio.8 ucspi-tcp-0.88-man/recordio.8 ucspi-tcp-0.88-man/rblsmtpd.8 ucspi-tcp-0.88-man/tcpclient.8 ucspi-tcp-0.88-man/who@.8 ucspi-tcp-0.88-man/date@.8 ucspi-tcp-0.88-man/finger@.8 ucspi-tcp-0.88-man/http@.8 ucspi-tcp-0.88-man/tcpcat.8 ucspi-tcp-0.88-man/mconnect.8 ucspi-tcp-0.88-man/addcr.8 ucspi-tcp-0.88-man/delcr.8 ucspi-tcp-0.88-man/README + cd ucspi-tcp-0.88-man + install -m 644 tcp-qualify.5 /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/man/man5 + install -m 644 addcr.8 argv0.8 date@.8 delcr.8 finger@.8 fixcrio.8 http@.8 mconnect.8 rblsmtpd.8 recordio.8 tcpcat.8 tcpclient.8 tcprules.8 tcprulescheck.8 tcpserver.8 who@.8 /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/man/man8 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Pt6kPB + umask 022 + cd /builddir/build/BUILD + cd ucspi-tcp-0.88 + DOCDIR=/builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + cp -pr CHANGES /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + cp -pr README /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + cp -pr TODO /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + cp -pr VERSION /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64/usr/share/doc/ucspi-tcp-toaster + exit 0 Provides: ucspi-tcp-toaster = 0.88-1.3.12.kng.el8 ucspi-tcp-toaster(x86-64) = 0.88-1.3.12.kng.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Obsoletes: ucspi-tcp-toaster-doc Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 Wrote: /builddir/build/RPMS/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ogbMTS + umask 022 + cd /builddir/build/BUILD + cd ucspi-tcp-0.88 + '[' -n /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 -a /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ucspi-tcp-toaster-0.88-1.3.12.kng.el8.x86_64 + '[' -d /builddir/build/BUILD/ucspi-tcp-0.88 ']' + rm -rf /builddir/build/BUILD/ucspi-tcp-0.88 + exit 0 Child return code was: 0