=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for qmail-1.03nb32
--- hier_destdir.c ---
--- auto-ccld.sh ---
--- datemail ---
--- mailsubj ---
--- qmail-upq ---
--- qmail-qstat ---
--- config ---
--- config-fast ---
--- qail ---
--- elq ---
--- pinq ---
--- home ---
--- home+df ---
--- proc ---
--- proc+df ---
--- binm1 ---
--- qmail-upq ---
cat warn-auto.sh qmail-upq.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > qmail-upq
--- auto-ccld.sh ---
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 conf-ld`\'  ) > auto-ccld.sh
--- hier_destdir.c ---
cat hier.c  | sed s}fake_uids\.h}auto_uids.h}g  > hier_destdir.c
--- qmail-qstat ---
cat warn-auto.sh qmail-qstat.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > qmail-qstat
--- datemail ---
cat warn-auto.sh datemail.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > datemail
--- pinq ---
cat warn-auto.sh pinq.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > pinq
--- mailsubj ---
cat warn-auto.sh mailsubj.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > mailsubj
--- qail ---
cat warn-auto.sh qail.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > qail
--- home ---
cat home.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > home
--- home+df ---
cat home+df.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > home+df
--- elq ---
cat warn-auto.sh elq.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > elq
--- config-fast ---
cat warn-auto.sh config-fast.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > config-fast
--- config ---
cat warn-auto.sh config.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPLIT}"`head -1 conf-split`"}g  > config
--- proc+df ---
cat proc+df.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > proc+df
--- proc ---
cat proc.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > proc
--- binm1+df ---
cat binm1+df.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm1+df
--- home+df ---
chmod 755 home+df
--- binm1 ---
cat binm1.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm1
--- binm2 ---
--- proc+df ---
chmod 755 proc+df
--- mailsubj ---
chmod 755 mailsubj
--- qmail-qstat ---
chmod 755 qmail-qstat
--- datemail ---
chmod 755 datemail
--- binm2+df ---
--- binm3 ---
--- config-fast ---
chmod 755 config-fast
--- binm2 ---
cat binm2.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm2
--- binm3+df ---
--- update_tmprsadh ---
--- binm2+df ---
cat binm2+df.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm2+df
--- binm1+df ---
chmod 755 binm1+df
--- binm3 ---
cat binm3.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm3
--- dot-qmail.5 ---
--- binm3+df ---
cat binm3+df.sh  | sed s}QMAIL}"`head -1 conf-qmail`"}g  > binm3+df
--- qmail-upq ---
chmod 755 qmail-upq
--- qmail-control.5 ---
--- home ---
chmod 755 home
--- config ---
chmod 755 config
--- qmail-getpw.8 ---
--- qmail-control.5 ---
cat qmail-control.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-control.5
--- elq ---
chmod 755 elq
--- qmail-limits.7 ---
--- qmail-newmrh.8 ---
--- qmail-newu.8 ---
--- binm2 ---
chmod 755 binm2
--- dot-qmail.5 ---
cat dot-qmail.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > dot-qmail.5
--- qmail-getpw.8 ---
cat qmail-getpw.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-getpw.8
--- binm2+df ---
chmod 755 binm2+df
--- qmail-pw2u.8 ---
--- binm3+df ---
chmod 755 binm3+df
--- qmail-send.8 ---
--- binm3 ---
chmod 755 binm3
--- qmail-newu.8 ---
cat qmail-newu.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-newu.8
--- binm1 ---
chmod 755 binm1
--- qmail-limits.7 ---
cat qmail-limits.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-limits.7
--- qmail-send.8 ---
cat qmail-send.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-send.8
--- qmail-start.8 ---
--- qmail-pw2u.8 ---
cat qmail-pw2u.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-pw2u.8
--- qmail-users.5 ---
--- qmail-qfilter-ofmipd-queue.c ---
--- update_tmprsadh ---
chmod 755 update_tmprsadh
--- qmail-start.8 ---
cat qmail-start.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-start.8
--- find-systype ---
--- make-compile ---
--- qmail-qfilter-ofmipd-queue.c ---
cat qmail-qfilter-smtpd-queue.c  | sed s}control/smtpfilters}control/ofmipfilters}g  > qmail-qfilter-ofmipd-queue.c
--- make-load ---
cat auto-ccld.sh make-load.sh > make-load
--- make-compile ---
cat auto-ccld.sh make-compile.sh > make-compile
--- make-makelib ---
--- make-load ---
chmod 755 make-load
--- find-systype ---
cat auto-ccld.sh find-systype.sh > find-systype
--- make-makelib ---
cat auto-ccld.sh make-makelib.sh > make-makelib
--- qmail-users.5 ---
cat qmail-users.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-users.5
--- make-compile ---
chmod 755 make-compile
--- make-makelib ---
chmod 755 make-makelib
--- find-systype ---
chmod 755 find-systype
--- qmail-newmrh.8 ---
cat qmail-newmrh.9  | sed s}QMAILHOME}"`head -1 conf-qmail`"}g  | sed s}BREAK}"`head -1 conf-break`"}g  | sed s}SPAWN}"`head -1 conf-spawn`"}g  > qmail-newmrh.8
--- proc ---
chmod 755 proc
--- systype ---
./find-systype > systype
--- qail ---
chmod 755 qail
--- pinq ---
chmod 755 pinq
--- compile ---
--- load ---
--- makelib ---
--- compile ---
( cat warn-auto.sh; ./make-compile "`cat systype`" ) >  compile
--- load ---
( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
--- makelib ---
( cat warn-auto.sh; ./make-makelib "`cat systype`" ) >  makelib
--- load ---
chmod 755 load
--- compile ---
chmod 755 compile
--- makelib ---
chmod 755 makelib
--- alloc.o ---
--- alloc_re.o ---
--- auto-int.o ---
--- auto-int8.o ---
--- auto-str.o ---
--- base64.o ---
--- badrcptto.o ---
--- byte_chr.o ---
--- byte_copy.o ---
--- byte_cr.o ---
--- byte_diff.o ---
--- byte_rchr.o ---
--- byte_zero.o ---
--- case_diffb.o ---
--- case_diffs.o ---
--- case_lowerb.o ---
--- auto-str.o ---
./compile auto-str.c
--- alloc.o ---
./compile alloc.c
--- alloc_re.o ---
./compile alloc_re.c
--- auto-int.o ---
./compile auto-int.c
--- byte_diff.o ---
./compile byte_diff.c
--- byte_chr.o ---
./compile byte_chr.c
--- byte_rchr.o ---
./compile byte_rchr.c
--- byte_copy.o ---
./compile byte_copy.c
--- auto-int8.o ---
./compile auto-int8.c
--- case_lowerb.o ---
./compile case_lowerb.c
--- badrcptto.o ---
./compile badrcptto.c
--- case_diffs.o ---
./compile case_diffs.c
--- byte_zero.o ---
./compile byte_zero.c
--- byte_cr.o ---
./compile byte_cr.c
--- case_diffb.o ---
./compile case_diffb.c
--- base64.o ---
./compile base64.c
--- auto-str.o ---
auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
auto-str.c:14:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *value++) {
         ~~~^~~~~~~~~~
auto-str.c:32:13: note: place parentheses around the assignment to silence this warning
  while (ch = *value++) {
            ^
         (            )
auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *value++) {
            ^
            ==
--- alloc.o ---
alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
extern char *malloc();
             ^
--- auto-int.o ---
auto-int.c:16:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
--- alloc.o ---
alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
--- auto-int.o ---
void main(argc,argv)
^
auto-int.c:16:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- case_lowers.o ---
./compile case_lowers.c
--- auto-int8.o ---
auto-int8.c:16:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
auto-int8.c:16:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
auto-int8.c:30:3: warning: implicit declaration of function 'scan_8long' is invalid in C99 [-Wimplicit-function-declaration]
  scan_8long(value,&num);
  ^
--- auto-str.o ---
2 warnings generated.
--- case_startb2.o ---
./compile case_startb2.c
--- case_starts.o ---
./compile case_starts.c
--- auto-int8.o ---
2 warnings generated.
--- chkshsgr.o ---
./compile chkshsgr.c
--- coe.o ---
./compile coe.c
--- auto-int.o ---
1 warning generated.
--- commands.o ---
./compile commands.c
--- alloc.o ---
1 warning generated.
--- constmap.o ---
./compile constmap.c
--- control.o ---
./compile control.c
--- date822fmt.o ---
./compile date822fmt.c
--- datetime.o ---
./compile datetime.c
--- datetime_un.o ---
./compile datetime_un.c
--- direntry.h ---
( ./compile trydrent.c >/dev/null 2>&1  && cat direntry.h2 || cat direntry.h1 ) > direntry.h
--- dns.o ---
./compile dns.c
--- dnscname.o ---
./compile dnscname.c
--- dnsdoe.o ---
./compile dnsdoe.c
--- dnsfq.o ---
./compile dnsfq.c
--- case_lowers.o ---
case_lowers.c:7:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (x = *s) {
         ~~^~~~
case_lowers.c:7:12: note: place parentheses around the assignment to silence this warning
  while (x = *s) {
           ^
         (     )
case_lowers.c:7:12: note: use '==' to turn this assignment into an equality comparison
  while (x = *s) {
           ^
           ==
1 warning generated.
--- chkshsgr.o ---
chkshsgr.c:2:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
chkshsgr.c:2:1: note: change return type to 'int'
void main()
^~~~
int
--- dnsip.o ---
./compile dnsip.c
--- chkshsgr.o ---
chkshsgr.c:7:6: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
     ^
chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
                              ^
--- dnsmxip.o ---
./compile dnsmxip.c
--- control.o ---
control.c:65:41: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
 if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; }
                                        ^
--- dnsptr.o ---
./compile dnsptr.c
--- env.o ---
./compile env.c
--- chkshsgr.o ---
3 warnings generated.
--- envread.o ---
./compile envread.c
--- dnsfq.o ---
dnsfq.c:13:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
dnsfq.c:13:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- control.o ---
1 warning generated.
--- error.o ---
./compile error.c
--- error_str.o ---
./compile error_str.c
--- error_temp.o ---
./compile error_temp.c
--- fd_copy.o ---
./compile fd_copy.c
--- fd_move.o ---
./compile fd_move.c
--- fmt_str.o ---
./compile fmt_str.c
--- dnsfq.o ---
1 warning generated.
--- fmt_strn.o ---
./compile fmt_strn.c
--- dns.o ---
dns.c:49:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (response.buf = (unsigned char *)alloc(PACKETSZ+1))
      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dns.c:49:20: note: place parentheses around the assignment to silence this warning
  if (response.buf = (unsigned char *)alloc(PACKETSZ+1))
                   ^
      (                                                )
dns.c:49:20: note: use '==' to turn this assignment into an equality comparison
  if (response.buf = (unsigned char *)alloc(PACKETSZ+1))
                   ^
                   ==
dns.c:51:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
  else return DNS_MEM;
  ^
dns.c:60:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else return DNS_MEM;
    ^
--- fmt_uint.o ---
./compile fmt_uint.c
--- dnscname.o ---
dnscname.c:11:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
dnscname.c:11:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- direntry.h ---
rm -f trydrent.o
--- fmt_uint0.o ---
./compile fmt_uint0.c
--- dns.o ---
3 warnings generated.
--- dnscname.o ---
1 warning generated.
--- fmt_ulong.o ---
--- fmtqfn.o ---
--- fmt_ulong.o ---
./compile fmt_ulong.c
--- fmtqfn.o ---
./compile fmtqfn.c
--- fd_move.o ---
fd_move.c:9:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(from);
  ^
--- fmt_str.o ---
fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (s) { while (ch = t[len]) s[len++] = ch; }
                  ~~~^~~~~~~~
fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                  (          )
fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                     ==
--- envread.o ---
envread.c:12:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = 0;envi = environ[i];++i)
             ~~~~~^~~~~~~~~~~~
--- dnsmxip.o ---
dnsmxip.c:17:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
--- envread.o ---
envread.c:12:19: note: place parentheses around the assignment to silence this warning
  for (i = 0;envi = environ[i];++i)
                  ^
             (                )
envread.c:12:19: note: use '==' to turn this assignment into an equality comparison
  for (i = 0;envi = environ[i];++i)
                  ^
                  ==
--- dnsmxip.o ---
dnsmxip.c:17:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
dnsmxip.c:29:14: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
 r = now() + getpid();
             ^
--- dnsip.o ---
dnsip.c:15:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
dnsip.c:15:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- dnsptr.o ---
dnsptr.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
dnsptr.c:14:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- envread.o ---
1 warning generated.
--- fork.h ---
( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null  2>&1  && cat fork.h2 || cat fork.h1 ) > fork.h
--- dnsmxip.o ---
2 warnings generated.
--- fd_copy.o ---
fd_copy.c:10:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(to);
  ^
--- dnsip.o ---
1 warning generated.
--- forward.o ---
./compile forward.c
--- getln.o ---
--- getln2.o ---
--- getln.o ---
./compile getln.c
--- getln2.o ---
./compile getln2.c
--- gfrom.o ---
./compile gfrom.c
--- hasflock.h ---
--- dnsptr.o ---
1 warning generated.
--- hasflock.h ---
( ( ./compile tryflock.c && ./load tryflock ) >/dev/null  2>&1  && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h
--- hasmkffo.h ---
( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null  2>&1  && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
--- fd_move.o ---
1 warning generated.
--- hassalen.h ---
( ./compile trysalen.c >/dev/null 2>&1  && echo \#define HASSALEN 1 || exit 0 ) > hassalen.h
--- fmt_str.o ---
1 warning generated.
--- hassgact.h ---
( ( ./compile trysgact.c && ./load trysgact ) >/dev/null  2>&1  && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h
--- hassgprm.h ---
( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null  2>&1  && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h
--- fd_copy.o ---
1 warning generated.
--- hasutmpx.h ---
( ( ./compile tryutmpx.c && ./load tryutmpx ) >/dev/null  2>&1  && echo \#define HASUTMPX 1 || exit 0 ) > hasutmpx.h
--- haswaitp.h ---
( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null  2>&1  && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h
--- headerbody.o ---
./compile headerbody.c
--- hfield.o ---
./compile hfield.c
--- forward.o ---
forward.c:29:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
forward.c:29:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
forward.c:46:7: warning: implicit declaration of function 'str_len' is invalid in C99 [-Wimplicit-function-declaration]
  if (str_len(sender)) {
      ^
--- hier_destdir.o ---
./compile hier_destdir.c
--- hier.o ---
./compile hier.c
--- forward.o ---
2 warnings generated.
--- hostname.o ---
./compile hostname.c
--- install-big.o ---
./compile install-big.c
--- install.o ---
./compile install.c
--- instcheck.o ---
./compile instcheck.c
--- fork.h ---
rm -f tryvfork.o tryvfork
--- ip.o ---
./compile ip.c
--- hasmkffo.h ---
rm -f trymkffo.o trymkffo
--- ipalloc.o ---
./compile ipalloc.c
--- install-big.o ---
install-big.c:17:3: warning: implicit declaration of function 'd' is invalid in C99 [-Wimplicit-function-declaration]
  d(auto_qmail,base,uid,auto_gidq,mode);
  ^
--- hassgact.h ---
rm -f trysgact.o trysgact
--- install-big.o ---
install-big.c:32:3: warning: implicit declaration of function 'h' is invalid in C99 [-Wimplicit-function-declaration]
  h(auto_qmail,auto_uido,auto_gidq,0755);
  ^
install-big.c:63:3: warning: implicit declaration of function 'z' is invalid in C99 [-Wimplicit-function-declaration]
  z(auto_qmail,"queue/lock/tcpto",1024,auto_uidr,auto_gidq,0644);
  ^
install-big.c:65:3: warning: implicit declaration of function 'p' is invalid in C99 [-Wimplicit-function-declaration]
  p(auto_qmail,"queue/lock/trigger",auto_uids,auto_gidq,0622);
  ^
install-big.c:67:3: warning: implicit declaration of function 'c' is invalid in C99 [-Wimplicit-function-declaration]
  c(auto_qmail,"boot","home",auto_uido,auto_gidq,0755);
  ^
--- ipmeprint.o ---
--- hfield.o ---
hfield.c:44:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
--- ipmeprint.o ---
./compile ipmeprint.c
--- hfield.o ---
 for (i = 0;ch = t[i];++i)
            ~~~^~~~~~
hfield.c:44:16: note: place parentheses around the assignment to silence this warning
 for (i = 0;ch = t[i];++i)
               ^
            (        )
hfield.c:44:16: note: use '==' to turn this assignment into an equality comparison
 for (i = 0;ch = t[i];++i)
               ^
               ==
--- hassalen.h ---
rm -f trysalen.o
--- maildir2mbox.o ---
--- hfield.o ---
hfield.c:70:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 for (i = 1;t = hname[i];++i)
            ~~^~~~~~~~~~
hfield.c:70:15: note: place parentheses around the assignment to silence this warning
 for (i = 1;t = hname[i];++i)
              ^
            (           )
hfield.c:70:15: note: use '==' to turn this assignment into an equality comparison
 for (i = 1;t = hname[i];++i)
              ^
              ==
--- maildir2mbox.o ---
./compile maildir2mbox.c
--- haswaitp.h ---
rm -f trywaitp.o trywaitp
--- maildirmake.o ---
./compile maildirmake.c
--- maildirwatch.o ---
./compile maildirwatch.c
--- hostname.o ---
hostname.c:8:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
hostname.c:8:1: note: change return type to 'int'
void main()
^~~~
int
--- hier_destdir.o ---
hier_destdir.c:17:3: warning: implicit declaration of function 'd' is invalid in C99 [-Wimplicit-function-declaration]
--- hasutmpx.h ---
rm -f tryutmpx.o tryutmpx
--- hier_destdir.o ---
  d(auto_qmail,base,uid,auto_gidq,mode);
  ^
--- myctime.o ---
--- hostname.o ---
hostname.c:11:2: warning: implicit declaration of function 'gethostname' is invalid in C99 [-Wimplicit-function-declaration]
 gethostname(host,sizeof(host));
 ^
--- myctime.o ---
./compile myctime.c
--- hier_destdir.o ---
hier_destdir.c:32:3: warning: implicit declaration of function 'h' is invalid in C99 [-Wimplicit-function-declaration]
  h(auto_qmail,auto_uido,auto_gidq,0755);
  ^
hier_destdir.c:63:3: warning: implicit declaration of function 'z' is invalid in C99 [-Wimplicit-function-declaration]
  z(auto_qmail,"queue/lock/tcpto",1024,auto_uidr,auto_gidq,0644);
  ^
hier_destdir.c:65:3: warning: implicit declaration of function 'p' is invalid in C99 [-Wimplicit-function-declaration]
  p(auto_qmail,"queue/lock/trigger",auto_uids,auto_gidq,0622);
  ^
hier_destdir.c:67:3: warning: implicit declaration of function 'c' is invalid in C99 [-Wimplicit-function-declaration]
  c(auto_qmail,"boot","home",auto_uido,auto_gidq,0755);
  ^
--- hier.o ---
hier.c:17:3: warning: implicit declaration of function 'd' is invalid in C99 [-Wimplicit-function-declaration]
  d(auto_qmail,base,uid,auto_gidq,mode);
  ^
--- hasflock.h ---
rm -f tryflock.o tryflock
--- hier.o ---
hier.c:32:3: warning: implicit declaration of function 'h' is invalid in C99 [-Wimplicit-function-declaration]
  h(auto_qmail,auto_uido,auto_gidq,0755);
  ^
hier.c:63:3: warning: implicit declaration of function 'z' is invalid in C99 [-Wimplicit-function-declaration]
  z(auto_qmail,"queue/lock/tcpto",1024,auto_uidr,auto_gidq,0644);
  ^
hier.c:65:3: warning: implicit declaration of function 'p' is invalid in C99 [-Wimplicit-function-declaration]
  p(auto_qmail,"queue/lock/trigger",auto_uids,auto_gidq,0622);
  ^
hier.c:67:3: warning: implicit declaration of function 'c' is invalid in C99 [-Wimplicit-function-declaration]
  c(auto_qmail,"boot","home",auto_uido,auto_gidq,0755);
  ^
--- ndelay.o ---
--- hfield.o ---
2 warnings generated.
--- hassgprm.h ---
rm -f trysgprm.o trysgprm
--- ndelay.o ---
./compile ndelay.c
--- ndelay_off.o ---
./compile ndelay_off.c
--- newfield.o ---
--- install.o ---
install.c:21:7: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (mkdir(home,0700) == -1)
      ^
install.c:26:7: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration]
  if (chmod(home,mode) == -1)
      ^
install.c:37:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
install.c:57:7: warning: implicit declaration of function 'fifo_make' is invalid in C99 [-Wimplicit-function-declaration]
  if (fifo_make(fifo,0700) == -1)
      ^
install.c:82:7: warning: implicit declaration of function 'fchdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (fchdir(fdsourcedir) == -1)
      ^
install.c:107:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fdin);
  ^
install.c:110:7: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
  if (fsync(fdout) == -1)
      ^
install.c:156:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
install.c:156:1: note: change return type to 'int'
void main()
^~~~
int
install.c:162:3: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
  umask(077);
  ^
--- hostname.o ---
2 warnings generated.
--- newfield.o ---
./compile newfield.c
--- now.o ---
./compile now.c
--- install-big.o ---
5 warnings generated.
--- open_append.o ---
./compile open_append.c
--- hier.o ---
5 warnings generated.
--- hier_destdir.o ---
5 warnings generated.
--- open_excl.o ---
./compile open_excl.c
--- open_read.o ---
--- install.o ---
9 warnings generated.
--- open_read.o ---
./compile open_read.c
--- open_trunc.o ---
--- instcheck.o ---
instcheck.c:59:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
instcheck.c:104:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
instcheck.c:104:1: note: change return type to 'int'
void main()
^~~~
int
--- open_trunc.o ---
./compile open_trunc.c
--- maildir2mbox.o ---
maildir2mbox.c:36:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
maildir2mbox.c:36:1: note: change return type to 'int'
void main()
^~~~
int
maildir2mbox.c:47:2: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
 umask(077);
 ^
maildir2mbox.c:142:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
   close(fd);
   ^
maildir2mbox.c:147:6: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
 if (fsync(fdnewmbox) == -1)
     ^
maildir2mbox.c:151:6: warning: implicit declaration of function 'rename' is invalid in C99 [-Wimplicit-function-declaration]
 if (rename(mboxtmp,mbox) == -1)
     ^
maildir2mbox.c:157:8: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
   if (unlink(filenames.s + pe.id) == -1)
       ^
--- instcheck.o ---
2 warnings generated.
--- open_write.o ---
./compile open_write.c
--- prioq.o ---
./compile prioq.c
--- ipmeprint.o ---
ipmeprint.c:9:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
ipmeprint.c:9:1: note: change return type to 'int'
void main()
^~~~
int
--- qmail-getpw.o ---
./compile qmail-getpw.c
--- maildir2mbox.o ---
6 warnings generated.
--- qmail-inject.o ---
./compile qmail-inject.c
--- maildirmake.o ---
maildirmake.c:6:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
maildirmake.c:6:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
maildirmake.c:10:3: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
  umask(077);
  ^
maildirmake.c:13:7: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (mkdir(argv[1],0700) == -1)
      ^
--- maildirwatch.o ---
maildirwatch.c:61:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
--- maildirmake.o ---
maildirmake.c:15:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(argv[1]) == -1)
      ^
--- qmail-pop3d.o ---
--- maildirwatch.o ---
void main()
^
maildirwatch.c:61:1: note: change return type to 'int'
void main()
^~~~
int
--- qmail-pop3d.o ---
./compile qmail-pop3d.c
--- maildirwatch.o ---
maildirwatch.c:119:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
     close(fd);
     ^
maildirwatch.c:123:4: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
   sleep(30);
   ^
--- ipmeprint.o ---
1 warning generated.
--- qmail-popup.o ---
./compile qmail-popup.c
--- qmail-pw2u.o ---
./compile qmail-pw2u.c
--- maildirmake.o ---
4 warnings generated.
--- qmail-qfilter-ofmipd-queue.o ---
./compile qmail-qfilter-ofmipd-queue.c
--- qmail-qfilter-smtpd-queue.o ---
./compile qmail-qfilter-smtpd-queue.c
--- newfield.o ---
newfield.c:45:17: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
 i = fmt_uint(s,getpid()); len += i; if (s) s += i;
                ^
--- qmail-qfilter-viruscan.o ---
./compile qmail-qfilter-viruscan.c
--- maildirwatch.o ---
3 warnings generated.
--- qmail-qmqpc.o ---
./compile qmail-qmqpc.c
--- qmail-qmqpd.o ---
./compile qmail-qmqpd.c
--- qmail-qmtpd.o ---
./compile qmail-qmtpd.c
--- qmail-queue.o ---
./compile qmail-queue.c
--- newfield.o ---
1 warning generated.
--- qmail-rcptcheck-badrcptto.o ---
--- qmail-rcptcheck-qregex.o ---
--- qmail-rcptcheck-badrcptto.o ---
./compile qmail-rcptcheck-badrcptto.c
--- qmail-rcptcheck-qregex.o ---
./compile qmail-rcptcheck-qregex.c
--- qmail-rcptcheck-realrcptto.o ---
./compile qmail-rcptcheck-realrcptto.c
--- qmail-popup.o ---
qmail-popup.c:92:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(3);
  ^
qmail-popup.c:93:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
  if (pipe(pi) == -1) die_pipe();
      ^
qmail-popup.c:95:18: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
  switch(child = fork()) {
                 ^
qmail-popup.c:101:7: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration]
      execvp(*childargs,childargs);
      ^
qmail-popup.c:125:19: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  s += fmt_uint(s,getpid());
                  ^
qmail-popup.c:168:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-popup.c:168:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- qmail-rcptcheck.o ---
--- qmail-pw2u.o ---
qmail-pw2u.c:23:3: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
  _exit(111);
  ^
qmail-pw2u.c:23:3: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
--- qmail-rcptcheck.o ---
./compile qmail-rcptcheck.c
--- qmail-getpw.o ---
qmail-getpw.c:48:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
            else
            ^
--- qmail-pw2u.o ---
qmail-pw2u.c:101:7: warning: implicit declaration of function 'byte_chr' is invalid in C99 [-Wimplicit-function-declaration]
  if (byte_chr(line.s,line.len,'\0') < line.len) return;
      ^
qmail-pw2u.c:231:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-pw2u.c:231:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
qmail-pw2u.c:253:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) die_chdir();
      ^
qmail-pw2u.c:293:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(fd);
    ^
--- qmail-getpw.o ---
qmail-getpw.c:58:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-getpw.c:58:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- qmail-pop3d.o ---
qmail-pop3d.c:185:11: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
      if (unlink(m[i].fn) == -1) err_nounlink();
          ^
qmail-pop3d.c:193:2: warning: implicit declaration of function 'rename' is invalid in C99 [-Wimplicit-function-declaration]
        rename(m[i].fn,line.s); /* if it fails, bummer */
        ^
qmail-pop3d.c:273:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fd);
  ^
qmail-pop3d.c:290:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-pop3d.c:290:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
qmail-pop3d.c:298:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(argv[1]) == -1) die_nomaildir();
      ^
--- qmail-inject.o ---
qmail-inject.c:133:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
     else
     ^
qmail-inject.c:149:6: warning: add explicit braces to avoid dangling else [-Wdangling-else]
     else {
     ^
qmail-inject.c:502:76: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
   if (!stralloc_catb(&hackedruser,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem();
                                                                           ^
qmail-inject.c:664:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
 if (chdir(auto_qmail) == -1) die_chdir();
     ^
qmail-inject.c:702:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-inject.c:702:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- qmail-getpw.o ---
2 warnings generated.
--- qmail-remote.o ---
./compile qmail-remote.c
--- qmail-popup.o ---
6 warnings generated.
--- qmail-smtpd.o ---
./compile qmail-smtpd.c
--- qmail-pop3d.o ---
5 warnings generated.
--- qmail-tcpok.o ---
./compile qmail-tcpok.c
--- qmail-qmtpd.o ---
qmail-qmtpd.c:15:19: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
void badproto() { _exit(100); }
                  ^
qmail-qmtpd.c:15:19: note: include the header <unistd.h> or explicitly provide a declaration for '_exit'
--- qmail-tcpto.o ---
--- qmail-qmqpc.o ---
qmail-qmqpc.c:115:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(qmqpfd);
    ^
qmail-qmqpc.c:138:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
--- qmail-pw2u.o ---
5 warnings generated.
--- qmail-qmqpc.o ---
main()
^
qmail-qmqpc.c:145:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) die_home();
      ^
--- qmail-tcpto.o ---
./compile qmail-tcpto.c
--- qreceipt.o ---
--- qregex.o ---
./compile qregex.c
--- qmail-qmqpd.o ---
qmail-qmqpd.c:103:10: warning: implicit declaration of function 'byte_chr' is invalid in C99 [-Wimplicit-function-declaration]
  return byte_chr(buf,len,'\0') == len;
         ^
qmail-qmqpd.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
qmail-qmqpd.c:117:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
  alarm(3600);
  ^
qmail-qmqpd.c:123:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) resources();
      ^
qmail-qmqpd.c:168:63: warning: implicit declaration of function 'str_len' is invalid in C99 [-Wimplicit-function-declaration]
  substdio_put(&ssout,strnum,fmt_ulong(strnum,(unsigned long) str_len(result)));
                                                              ^
--- qmail-qmtpd.o ---
qmail-qmtpd.c:77:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
qmail-qmtpd.c:93:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
  alarm(3600);
  ^
qmail-qmtpd.c:95:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) resources();
      ^
--- qmail-queue.o ---
qmail-queue.c:48:8: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
--- qmail-qmtpd.o ---
qmail-qmtpd.c:104:12: warning: implicit declaration of function 'scan_ulong' is invalid in C99 [-Wimplicit-function-declaration]
  if (x) { scan_ulong(x,&u); databytes = u; }
           ^
--- qmail-queue.o ---
   if (unlink(intdfn) == -1) return;
       ^
qmail-queue.c:154:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
qmail-queue.c:154:1: note: change return type to 'int'
void main()
^~~~
int
qmail-queue.c:161:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
 if (chdir(auto_qmail) == -1) die(61);
     ^
qmail-queue.c:164:10: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
 mypid = getpid();
         ^
qmail-queue.c:165:8: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration]
 uid = getuid();
       ^
qmail-queue.c:176:2: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration]
 alarm(DEATH);
 ^
qmail-queue.c:186:6: warning: implicit declaration of function 'link' is invalid in C99 [-Wimplicit-function-declaration]
 if (link(pidfn,messfn) == -1) die(64);
     ^
qmail-queue.c:202:6: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
 if (fsync(messfd) == -1) die_write();
     ^
--- qregexrcptto.o ---
./compile qregexrcptto.c
--- qmail-qmqpc.o ---
3 warnings generated.
--- qsutil.o ---
./compile qsutil.c
--- qmail-qmqpd.o ---
5 warnings generated.
--- quote.o ---
./compile quote.c
--- qmail-queue.o ---
8 warnings generated.
--- received.o ---
--- qreceipt.o ---
./compile qreceipt.c
--- received.o ---
./compile received.c
--- qmail-qmtpd.o ---
5 warnings generated.
--- remoteinfo.o ---
./compile remoteinfo.c
--- scan_8long.o ---
./compile scan_8long.c
--- qmail-inject.o ---
5 warnings generated.
--- scan_ulong.o ---
--- seek_cur.o ---
./compile seek_cur.c
--- seek_end.o ---
./compile seek_end.c
--- qmail-tcpok.o ---
qmail-tcpok.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
qmail-tcpok.c:14:1: note: change return type to 'int'
void main()
^~~~
int
qmail-tcpok.c:19:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1)
      ^
--- scan_ulong.o ---
./compile scan_ulong.c
--- seek_set.o ---
./compile seek_set.c
--- qmail-tcpok.o ---
2 warnings generated.
--- qmail-tcpto.o ---
qmail-tcpto.c:35:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main()
^
qmail-tcpto.c:35:1: note: change return type to 'int'
void main()
^~~~
int
qmail-tcpto.c:46:6: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
 if (chdir(auto_qmail) == -1) die_chdir();
     ^
qmail-tcpto.c:49:11: warning: implicit declaration of function 'open_write' is invalid in C99 [-Wimplicit-function-declaration]
 fdlock = open_write("tcpto");
          ^
qmail-tcpto.c:51:7: warning: implicit declaration of function 'open_read' is invalid in C99 [-Wimplicit-function-declaration]
 fd = open_read("tcpto");
      ^
qmail-tcpto.c:54:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
 r = read(fd,tcpto_buf,sizeof(tcpto_buf));
     ^
qmail-tcpto.c:55:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
 close(fd);
 ^
qmail-tcpto.c:68:6: warning: implicit declaration of function 'byte_copy' is invalid in C99 [-Wimplicit-function-declaration]
     byte_copy(&ip,4,record);
     ^
--- seek_trunc.o ---
./compile seek_trunc.c
--- qsutil.o ---
In file included from qsutil.c:4:
./qsutil.h:5:13: warning: incompatible redeclaration of library function 'log2' [-Wincompatible-library-redeclaration]
extern void log2();
            ^
./qsutil.h:5:13: note: 'log2' is a builtin with type 'double (double)'
--- qmail-smtpd.o ---
qmail-smtpd.c:219:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */
             ~~~^~~~~~~~
qmail-smtpd.c:219:17: note: place parentheses around the assignment to silence this warning
  for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */
                ^
             (          )
qmail-smtpd.c:219:17: note: use '==' to turn this assignment into an equality comparison
  for (i = 0;ch = arg[i];++i) { /* copy arg to addr, stripping quotes */
                ^
                ==
qmail-smtpd.c:291:16: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration]
  switch(pid = fork()) {
               ^
qmail-smtpd.c:296:7: warning: implicit declaration of function 'execv' is invalid in C99 [-Wimplicit-function-declaration]
      execv(*rcptcheck,rcptcheck);
      ^
qmail-smtpd.c:352:39: warning: expression result unused [-Wunused-value]
    if (!stralloc_copys(&mfparms,"")) die_nomem;
                                      ^~~~~~~~~
qmail-smtpd.c:361:46: warning: expression result unused [-Wunused-value]
           if (!stralloc_copys(&mfparms,"")) die_nomem;
                                             ^~~~~~~~~
qmail-smtpd.c:364:47: warning: expression result unused [-Wunused-value]
          if (!stralloc_catb(&mfparms,arg,1)) die_nomem; 
                                              ^~~~~~~~~
qmail-smtpd.c:624:7: warning: implicit declaration of function 'pipe' is invalid in C99 [-Wimplicit-function-declaration]
  if (pipe(pi) == -1) return err_pipe();
      ^
qmail-smtpd.c:629:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
      close(pi[1]);
      ^
qmail-smtpd.c:630:10: warning: implicit declaration of function 'fd_copy' is invalid in C99 [-Wimplicit-function-declaration]
      if(fd_copy(3,pi[0]) == -1) return err_pipe();
         ^
qmail-smtpd.c:632:9: warning: implicit declaration of function 'execvp' is invalid in C99 [-Wimplicit-function-declaration]
        execvp(*childargs, childargs);
        ^
qmail-smtpd.c:653:31: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
  if (wait_exitcode(wstat)) { sleep(AUTHSLEEP); return 1; } /* no */
                              ^
qmail-smtpd.c:662:13: warning: implicit declaration of function 'b64decode' is invalid in C99 [-Wimplicit-function-declaration]
    if (r = b64decode(arg,str_len(arg),&user) == 1) return err_input();
            ^
qmail-smtpd.c:662:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (r = b64decode(arg,str_len(arg),&user) == 1) return err_input();
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:662:11: note: place parentheses around the assignment to silence this warning
    if (r = b64decode(arg,str_len(arg),&user) == 1) return err_input();
          ^
        (                                         )
qmail-smtpd.c:662:11: note: use '==' to turn this assignment into an equality comparison
    if (r = b64decode(arg,str_len(arg),&user) == 1) return err_input();
          ^
          ==
qmail-smtpd.c:667:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (r = b64decode(authin.s,authin.len,&user) == 1) return err_input();
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:667:11: note: place parentheses around the assignment to silence this warning
    if (r = b64decode(authin.s,authin.len,&user) == 1) return err_input();
          ^
        (                                            )
qmail-smtpd.c:667:11: note: use '==' to turn this assignment into an equality comparison
    if (r = b64decode(authin.s,authin.len,&user) == 1) return err_input();
          ^
          ==
qmail-smtpd.c:674:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (r = b64decode(authin.s,authin.len,&pass) == 1) return err_input();
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:674:9: note: place parentheses around the assignment to silence this warning
  if (r = b64decode(authin.s,authin.len,&pass) == 1) return err_input();
        ^
      (                                            )
qmail-smtpd.c:674:9: note: use '==' to turn this assignment into an equality comparison
  if (r = b64decode(authin.s,authin.len,&pass) == 1) return err_input();
        ^
        ==
qmail-smtpd.c:686:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (r = b64decode(arg,str_len(arg),&resp) == 1) return err_input();
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:686:11: note: place parentheses around the assignment to silence this warning
    if (r = b64decode(arg,str_len(arg),&resp) == 1) return err_input();
          ^
        (                                         )
qmail-smtpd.c:686:11: note: use '==' to turn this assignment into an equality comparison
    if (r = b64decode(arg,str_len(arg),&resp) == 1) return err_input();
          ^
          ==
qmail-smtpd.c:691:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
        ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:691:11: note: place parentheses around the assignment to silence this warning
    if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
          ^
        (                                            )
qmail-smtpd.c:691:11: note: use '==' to turn this assignment into an equality comparison
    if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
          ^
          ==
qmail-smtpd.c:712:19: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  s += fmt_uint(s,getpid());
                  ^
qmail-smtpd.c:721:7: warning: implicit declaration of function 'b64encode' is invalid in C99 [-Wimplicit-function-declaration]
  if (b64encode(&chal,&slop) < 0) die_nomem();
      ^
qmail-smtpd.c:730:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-smtpd.c:730:9: note: place parentheses around the assignment to silence this warning
  if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
        ^
      (                                            )
qmail-smtpd.c:730:9: note: use '==' to turn this assignment into an equality comparison
  if (r = b64decode(authin.s,authin.len,&resp) == 1) return err_input();
        ^
        ==
qmail-smtpd.c:794:43: warning: too many arguments in call to 'err_authfail'
      err_authfail(user.s,authcmds[i].text);
      ~~~~~~~~~~~~                        ^
qmail-smtpd.c:808:23: warning: too few arguments in call to 'err_unimpl'
  if (ssl) err_unimpl();
           ~~~~~~~~~~ ^
qmail-smtpd.c:824:10: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations]
  return RSA_generate_key(keylen, RSA_F4, NULL, NULL);
         ^
/usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here
DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
^
/usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
# define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
qmail-smtpd.c:846:10: warning: 'DH_generate_parameters' is deprecated [-Wdeprecated-declarations]
  return DH_generate_parameters(keylen, DH_GENERATOR_2, NULL, NULL);
         ^
/usr/include/openssl/dh.h:135:1: note: 'DH_generate_parameters' has been explicitly marked deprecated here
DEPRECATEDIN_0_9_8(DH *DH_generate_parameters(int prime_len, int generator,
^
/usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8'
# define DEPRECATEDIN_0_9_8(f)   DECLARE_DEPRECATED(f)
                                 ^
/usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED'
# define DECLARE_DEPRECATED(f)    f __attribute__ ((deprecated));
                                                    ^
qmail-smtpd.c:857:40: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  if (ssl_verify_err) { out(": "); out(ssl_verify_err); }
                                       ^~~~~~~~~~~~~~
qmail-smtpd.c:861:24: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  out("454 TLS "); out(s1);
                       ^~
qmail-smtpd.c:862:28: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  if (s2) { out(": "); out(s2); }
                           ^~
qmail-smtpd.c:920:58: error: incomplete definition of type 'struct X509_name_entry_st'
      const ASN1_STRING *s = X509_NAME_get_entry(subj, n)->value;
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/x509.h:71:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
qmail-smtpd.c:921:47: warning: assigning to 'char *' from 'unsigned char *const' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (s) { email.len = s->length; email.s = s->data; }
                                              ^ ~~~~~~~
--- qsutil.o ---
qsutil.c:22:61: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration]
void nomem() { log1("alert: out of memory, sleeping...\n"); sleep(10); }
                                                            ^
--- qmail-smtpd.o ---
qmail-smtpd.c:1053:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
--- qmail-tcpto.o ---
7 warnings generated.
--- select.h ---
( ./compile trysysel.c >/dev/null 2>&1  && cat select.h2 || cat select.h1 ) > select.h
--- qmail-smtpd.o ---
qmail-smtpd.c:1053:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
qmail-smtpd.c:1059:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) die_control();
      ^
30 warnings and 1 error generated.
*** [qmail-smtpd.o] Error code 1

make: stopped in /data/scratch/mail/qmail/work/netqmail-1.06
--- qreceipt.o ---
qreceipt.c:97:4: warning: add explicit braces to avoid dangling else [-Wdangling-else]
   else die_qqtemp();
   ^
qreceipt.c:122:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qreceipt.c:122:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
--- remoteinfo.o ---
remoteinfo.c:52:51: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  if (timeoutconn(s,ipr,ipl,113,timeout) == -1) { close(s); return 0; }
                                                  ^
--- qmail-remote.o ---
qmail-remote.c:120:26: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  if (ssl_err_str) { out(ssl_err_str); out(" "); }
                         ^~~~~~~~~~~
qmail-remote.c:183:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = ch - '0';
      ^~~
qmail-remote.c:184:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = code * 10 + (ch - '0');
      ^~~
qmail-remote.c:185:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  get(&ch); code = code * 10 + (ch - '0');
      ^~~
qmail-remote.c:187:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:189:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (ch != '\n') get(&ch);
                           ^~~
qmail-remote.c:190:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:191:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:192:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    get(&ch);
        ^~~
qmail-remote.c:194:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  while (ch != '\n') get(&ch);
                         ^~~
qmail-remote.c:276:24: error: incomplete definition of type 'struct ssl_st'
  int state = ssl ? ssl->state : SSL_ST_BEFORE;
                    ~~~^
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of 'struct ssl_st'
typedef struct ssl_st SSL;
               ^
--- qsutil.o ---
2 warnings generated.
--- qmail-remote.o ---
qmail-remote.c:276:34: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'?
  int state = ssl ? ssl->state : SSL_ST_BEFORE;
                                 ^~~~~~~~~~~~~
                                 TLS_ST_BEFORE
/usr/include/openssl/ssl.h:868:5: note: 'TLS_ST_BEFORE' declared here
    TLS_ST_BEFORE,
    ^
qmail-remote.c:277:15: error: use of undeclared identifier 'SSL_ST_OK'; did you mean 'TLS_ST_OK'?
  if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE))
              ^~~~~~~~~
              TLS_ST_OK
/usr/include/openssl/ssl.h:869:5: note: 'TLS_ST_OK' declared here
    TLS_ST_OK,
    ^
qmail-remote.c:277:47: error: use of undeclared identifier 'SSL_ST_BEFORE'; did you mean 'TLS_ST_BEFORE'?
  if (state & SSL_ST_OK || (!smtps && state & SSL_ST_BEFORE))
                                              ^~~~~~~~~~~~~
                                              TLS_ST_BEFORE
/usr/include/openssl/ssl.h:868:5: note: 'TLS_ST_BEFORE' declared here
    TLS_ST_BEFORE,
    ^
qmail-remote.c:346:7: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT;
      ^~
qmail-remote.c:346:37: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  out(s1); if (s2) { out(": "); out(s2); } TLS_QUIT;
                                    ^~
qmail-remote.c:400:43: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      out("ZNo TLS achieved while "); out(servercert);
                                          ^~~~~~~~~~
qmail-remote.c:460:11: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
      out(servercert); out(" exists"); TLS_QUIT;
          ^~~~~~~~~~
qmail-remote.c:494:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (match_partner(gn->d.ia5->data, gn->d.ia5->length)) break;
                            ^~~~~~~~~~~~~~~
qmail-remote.c:350:31: note: passing argument to parameter 's' here
int match_partner(const char *s, int len)
                              ^
qmail-remote.c:505:60: error: incomplete definition of type 'struct X509_name_entry_st'
        const ASN1_STRING *s = X509_NAME_get_entry(subj, i)->value;
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/include/openssl/x509.h:71:16: note: forward declaration of 'struct X509_name_entry_st'
typedef struct X509_name_entry_st X509_NAME_ENTRY;
               ^
qmail-remote.c:506:47: warning: assigning to 'char *' from 'unsigned char *const' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s) { peer.len = s->length; peer.s = s->data; }
                                              ^ ~~~~~~~
qmail-remote.c:548:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (containsutf8(sender.s, sender.len)) { utf8message = 1; return; }
                   ^~~~~~~~
qmail-remote.c:550:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (containsutf8(reciplist.sa[i].s, reciplist.sa[i].len)) {
                     ^~~~~~~~~~~~~~~~~
qmail-remote.c:771:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void main(argc,argv)
^
qmail-remote.c:771:1: note: change return type to 'int'
void main(argc,argv)
^~~~
int
qmail-remote.c:786:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(auto_qmail) == -1) temp_chdir();
      ^
qmail-remote.c:795:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
          ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qmail-remote.c:795:21: note: place parentheses around the assignment to silence this warning
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
                    ^
          (                                                       )
qmail-remote.c:795:21: note: use '==' to turn this assignment into an equality comparison
      if (relayhost = constmap(&maproutes,host.s + i,host.len - i))
                    ^
                    ==
qmail-remote.c:809:28: warning: passing 'char *' to parameter of type 'const __uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
    switch (idn2_lookup_u8(host.s, (uint8_t**)&ascii, IDN2_NFC_INPUT)) {
                           ^~~~~~
/data/scratch/mail/qmail/work/.buildlink/include/idn2.h:177:37: note: passing argument to parameter 'src' here
    idn2_lookup_u8 (const uint8_t * src, uint8_t ** lookupname, int flags);
                                    ^
qmail-remote.c:834:21: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
  random = now() + (getpid() << 16);
                    ^
qmail-remote.c:876:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(smtpfd);
    ^
24 warnings and 5 errors generated.
*** [qmail-remote.o] Error code 1

make: stopped in /data/scratch/mail/qmail/work/netqmail-1.06
--- remoteinfo.o ---
1 warning generated.
--- qreceipt.o ---
2 warnings generated.
--- received.o ---
received.c:29:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *s++) {
         ~~~^~~~~~
received.c:29:13: note: place parentheses around the assignment to silence this warning
  while (ch = *s++) {
            ^
         (        )
received.c:29:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *s++) {
            ^
            ==
1 warning generated.
--- select.h ---
rm -f trysysel.o trysysel
2 errors

make: stopped in /data/scratch/mail/qmail/work/netqmail-1.06
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/mail/qmail
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/mail/qmail