* Package: mail-mta/netqmail-1.06-r12  * Repository: gentoo  * Maintainer: eike@sf-mail.de proxy-maint@gentoo.org  * USE: abi_ppc_32 elibc_glibc kernel_linux libressl ppc ssl userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking genqmail-20191010.tar.bz2 to /var/tmp/portage/mail-mta/netqmail-1.06-r12/work >>> Unpacking netqmail-1.06.tar.gz to /var/tmp/portage/mail-mta/netqmail-1.06-r12/work >>> Source unpacked in /var/tmp/portage/mail-mta/netqmail-1.06-r12/work >>> Preparing source in /var/tmp/portage/mail-mta/netqmail-1.06-r12/work/netqmail-1.06 ... * Applying 1.06-exit.patch ...  [ ok ] * Applying 1.06-readwrite.patch ...  [ ok ] * Applying qmail-103.patch ...  [ ok ] * Applying 1.06-fbsd-utmpx.patch ...  [ ok ] * Applying netqmail-1.06-ipme-multiple.patch ...  [ ok ] * Applying netqmail-1.06-any-to-cname.patch ...  [ ok ] * Applying netqmail-1.05-tls-smtpauth-20190114.patch ...  [ ok ] * Applying vu555316.patch ...  [ ok ] * Applying qmail-smtputf8.patch ... patching file Makefile Hunk #1 succeeded at 1451 with fuzz 1 (offset 5 lines). patching file qmail-remote.c patching file qmail-smtpd.c  [ ok ] * Applying qmail-smtputf8-crlf-fix.patch ...  [ ok ] * Using conf-split value of 23. * Disabled CRAM_MD5 support * Replacing obsolete head/tail with POSIX compliant ones * - fixed Makefile * - fixed Makefile-cert.mk >>> Source prepared. >>> Configuring source in /var/tmp/portage/mail-mta/netqmail-1.06-r12/work/netqmail-1.06 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/mail-mta/netqmail-1.06-r12/work/netqmail-1.06 ... make -j26 -l26 it man ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\' \ ) > auto-ccld.sh cat warn-auto.sh datemail.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > datemail cat warn-auto.sh mailsubj.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > mailsubj cat warn-auto.sh qmail-upq.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > qmail-upq cat warn-auto.sh qmail-qstat.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > qmail-qstat cat warn-auto.sh config.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > config cat warn-auto.sh config-fast.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > config-fast cat warn-auto.sh qail.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > qail cat warn-auto.sh elq.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > elq cat warn-auto.sh pinq.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPLIT}"`head -n 1 conf-split`"}g \ > pinq cat home.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > home cat home+df.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > home+df cat proc.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > proc cat proc+df.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > proc+df chmod 755 mailsubj chmod 755 datemail chmod 755 qmail-qstat chmod 755 qmail-upq cat binm1.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm1 cat binm1+df.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm1+df chmod 755 config chmod 755 config-fast cat binm2.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm2 chmod 755 home chmod 755 qail cat binm2+df.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm2+df chmod 755 elq chmod 755 pinq chmod 755 home+df chmod 755 proc chmod 755 proc+df chmod 755 binm1 chmod 755 binm1+df cat binm3.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm3 cat binm3+df.sh \ | sed s}QMAIL}"`head -n 1 conf-qmail`"}g \ > binm3+df chmod 755 binm2 nroff -man qmail-local.8 > qmail-local.0 nroff -man qmail-lspawn.8 > qmail-lspawn.0 cat qmail-getpw.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-getpw.8 chmod 755 binm2+df nroff -man qmail-remote.8 > qmail-remote.0 nroff -man qmail-rspawn.8 > qmail-rspawn.0 nroff -man qmail-clean.8 > qmail-clean.0 chmod 755 binm3 cat qmail-send.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-send.8 chmod 755 binm3+df cat qmail-start.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-start.8 nroff -man splogger.8 > splogger.0 nroff -man qmail-queue.8 > qmail-queue.0 nroff -man qmail-inject.8 > qmail-inject.0 nroff -man mailsubj.1 > mailsubj.0 chmod 755 update_tmprsadh nroff -man qmail-showctl.8 > qmail-showctl.0 cat qmail-newu.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-newu.8 cat qmail-pw2u.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-pw2u.8 nroff -man qmail-qread.8 > qmail-qread.0 nroff -man qmail-qstat.8 > qmail-qstat.0 nroff -man qmail-tcpto.8 > qmail-tcpto.0 nroff -man qmail-tcpok.8 > qmail-tcpok.0 nroff -man qmail-pop3d.8 > qmail-pop3d.0 nroff -man qmail-popup.8 > qmail-popup.0 nroff -man qmail-qmqpc.8 > qmail-qmqpc.0 nroff -man qmail-qmqpd.8 > qmail-qmqpd.0 nroff -man qmail-qmtpd.8 > qmail-qmtpd.0 nroff -man qmail-smtpd.8 > qmail-smtpd.0 nroff -man tcp-env.1 > tcp-env.0 cat qmail-newmrh.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-newmrh.8 nroff -man qreceipt.1 > qreceipt.0 nroff -man qbiff.1 > qbiff.0 nroff -man forward.1 > forward.0 nroff -man preline.1 > preline.0 nroff -man condredirect.1 > condredirect.0 nroff -man bouncesaying.1 > bouncesaying.0 nroff -man except.1 > except.0 nroff -man maildirmake.1 > maildirmake.0 nroff -man maildir2mbox.1 > maildir2mbox.0 nroff -man maildirwatch.1 > maildirwatch.0 nroff -man qmail.7 > qmail.0 cat qmail-limits.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-limits.7 nroff -man qmail-log.5 > qmail-log.0 cat qmail-control.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-control.5 nroff -man qmail-header.5 > qmail-header.0 cat qmail-users.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > qmail-users.5 cat dot-qmail.9 \ | sed s}QMAILHOME}"`head -n 1 conf-qmail`"}g \ | sed s}BREAK}"`head -n 1 conf-break`"}g \ | sed s}SPAWN}"`head -n 1 conf-spawn`"}g \ > dot-qmail.5 nroff -man qmail-command.8 > qmail-command.0 nroff -man tcp-environ.5 > tcp-environ.0 nroff -man maildir.5 > maildir.0 nroff -man mbox.5 > mbox.0 nroff -man addresses.5 > addresses.0 nroff -man envelopes.5 > envelopes.0 nroff -man forgeries.7 > forgeries.0 cat auto-ccld.sh make-load.sh > make-load cat auto-ccld.sh find-systype.sh > find-systype cat auto-ccld.sh make-compile.sh > make-compile cat auto-ccld.sh make-makelib.sh > make-makelib nroff -man qmail-getpw.8 > qmail-getpw.0 nroff -man qmail-send.8 > qmail-send.0 nroff -man qmail-start.8 > qmail-start.0 nroff -man qmail-newu.8 > qmail-newu.0 nroff -man qmail-pw2u.8 > qmail-pw2u.0 chmod 755 make-load chmod 755 find-systype nroff -man qmail-newmrh.8 > qmail-newmrh.0 chmod 755 make-compile chmod 755 make-makelib nroff -man qmail-limits.7 > qmail-limits.0 nroff -man qmail-control.5 > qmail-control.0 nroff -man qmail-users.5 > qmail-users.0 nroff -man dot-qmail.5 > dot-qmail.0 ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \ compile ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \ makelib chmod 755 makelib chmod 755 load chmod 755 compile ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h ./compile quote.c ./compile now.c ./compile gfrom.c ./compile myctime.c ./compile slurpclose.c ./compile case_diffb.c ./compile case_diffs.c ./compile case_lowerb.c ./compile case_lowers.c ./compile case_starts.c ./compile getln.c ./compile getln2.c ./compile subgetopt.c ./compile sgetopt.c ./compile sig_alarm.c ( ( ./compile trysgprm.c && ./load trysgprm ) >/dev/null \ 2>&1 \ && echo \#define HASSIGPROCMASK 1 || exit 0 ) > hassgprm.h ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null \ 2>&1 \ && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h ./compile sig_pipe.c ./compile sig_child.c ./compile sig_hup.c ./compile sig_term.c ./compile sig_bug.c ./compile sig_misc.c ./compile open_append.c ./compile open_excl.c ./compile open_read.c ./compile open_trunc.c ./compile open_write.c ./compile seek_cur.c ./compile seek_end.c ./compile seek_set.c ./compile seek_trunc.c ( ( ./compile tryflock.c && ./load tryflock ) >/dev/null \ 2>&1 \ && echo \#define HASFLOCK 1 || exit 0 ) > hasflock.h ./compile fd_copy.c ./compile fd_move.c ( ( ./compile trywaitp.c && ./load trywaitp ) >/dev/null \ 2>&1 \ && echo \#define HASWAITPID 1 || exit 0 ) > haswaitp.h ./compile env.c ./compile envread.c ./compile stralloc_eady.c ./compile stralloc_pend.c ./compile stralloc_copy.c ./compile stralloc_opys.c ./compile stralloc_opyb.c seek_cur.c: In function 'seek_cur': seek_cur.c:7:10: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] 7 | { return lseek(fd,(off_t) 0,CUR); } | ^~~~~ ./compile stralloc_cat.c ./compile stralloc_cats.c fd_copy.c: In function 'fd_copy': fd_copy.c:10:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 10 | close(to); | ^~~~~ ./compile stralloc_catb.c seek_set.c: In function 'seek_set': seek_set.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ ./compile stralloc_arts.c seek_end.c: In function 'seek_end': seek_end.c:7:7: warning: implicit declaration of function 'lseek' [-Wimplicit-function-declaration] 7 | { if (lseek(fd,(off_t) 0,END) == -1) return -1; return 0; } | ^~~~~ seek_trunc.c: In function 'seek_trunc': seek_trunc.c:5:10: warning: implicit declaration of function 'ftruncate' [-Wimplicit-function-declaration] 5 | { return ftruncate(fd,(off_t) pos); } | ^~~~~~~~~ ./compile alloc.c fd_move.c: In function 'fd_move': fd_move.c:9:3: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 9 | close(from); | ^~~~~ ./compile alloc_re.c ./compile strerr_sys.c ./compile strerr_die.c ./compile substdio.c ./compile substdi.c ./compile substdo.c ./compile subfderr.c ./compile subfdout.c ./compile subfdouts.c rm -f tryvfork.o tryvfork alloc.c:3:14: warning: conflicting types for built-in function 'malloc'; expected 'void *(unsigned int)' [-Wbuiltin-declaration-mismatch] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: 'malloc' is declared in header '' 2 | #include "error.h" +++ |+#include  3 | extern char *malloc(); ./compile subfdin.c ./compile subfdins.c ./compile substdio_copy.c ./compile error.c ./compile error_str.c ./compile error_temp.c ./compile str_len.c rm -f trysgact.o trysgact ./compile str_diff.c rm -f trysgprm.o trysgprm ./compile str_diffn.c ./compile str_cpy.c ./compile str_chr.c ./compile str_rchr.c ./compile str_start.c ./compile byte_chr.c ./compile byte_rchr.c ./compile byte_diff.c ./compile byte_copy.c ./compile byte_cr.c ./compile byte_zero.c ./compile fmt_str.c ./compile fmt_strn.c ./compile fmt_uint.c ./compile fmt_uint0.c ./compile fmt_ulong.c rm -f tryflock.o tryflock ./compile scan_ulong.c ./compile scan_8long.c ./compile datetime.c ./compile datetime_un.c ./compile auto-str.c ./compile auto-int8.c ( ( ./compile trylsock.c && \ ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 \ && echo -lsocket -lnsl || exit 0 ) > socket.lib ( ( ./compile tryulong32.c && ./load tryulong32 && \ ./tryulong32 ) >/dev/null 2>&1 \ && cat uint32.h2 || cat uint32.h1 ) > uint32.h ( ./compile trysysel.c >/dev/null 2>&1 \ && cat select.h2 || cat select.h1 ) > select.h ./compile auto-int.c ./compile chkshsgr.c ./compile coe.c ./compile auto-uid.c ./compile auto-gid.c ./compile qmail-getpw.c ./compile qmail-remote.c rm -f trywaitp.o trywaitp ./compile control.c ./compile constmap.c ./compile tcpto.c ./compile dns.c ./compile ip.c ./compile ipalloc.c ( ./compile trysalen.c >/dev/null 2>&1 \ && echo \#define HASSALEN 1 || exit 0 ) > hassalen.h chkshsgr.c: In function 'main': chkshsgr.c:7:6: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] 7 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' [-Wimplicit-function-declaration] 7 | if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1); | ^~~~~~~~~ ./compile ndelay.c ./compile ndelay_off.c auto-str.c:8:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 8 | void puts(s) | ^~~~ auto-str.c:4:1: note: 'puts' is declared in header '' 3 | #include "exit.h" +++ |+#include  4 | ./compile tls.c ./compile qmail-rspawn.c ./compile tcpto_clean.c auto-int8.c:10:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 10 | void puts(s) | ^~~~ auto-int8.c:6:1: note: 'puts' is declared in header '' 5 | #include "fmt.h" +++ |+#include  6 | auto-int.c:10:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 10 | void puts(s) | ^~~~ auto-int.c:6:1: note: 'puts' is declared in header '' 5 | #include "fmt.h" +++ |+#include  6 | auto-int8.c: In function 'main': auto-int8.c:30:3: warning: implicit declaration of function 'scan_8long'; did you mean 'scan_long'? [-Wimplicit-function-declaration] 30 | scan_8long(value,&num); | ^~~~~~~~~~ | scan_long ( ./compile trydrent.c >/dev/null 2>&1 \ && cat direntry.h2 || cat direntry.h1 ) > direntry.h ./compile fmtqfn.c ./compile qsutil.c ./compile newfield.c ./compile prioq.c qmail-rspawn.c: In function 'spawn': qmail-rspawn.c:98:4: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 98 | execvp(*args,args); | ^~~~~~ rm -f trysysel.o trysysel ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \ 2>&1 \ && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h ./compile date822fmt.c rm -f trylsock.o trylsock ./compile qmail-start.c ./compile splogger.c ( ( ./compile trysyslog.c && \ ./load trysyslog -lgen ) >/dev/null 2>&1 \ && echo -lgen || exit 0 ) > syslog.lib ./compile qmail-queue.c ./compile triggerpull.c ./compile qmail-inject.c ./compile headerbody.c newfield.c: In function 'msgidfmt': newfield.c:45:17: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 45 | i = fmt_uint(s,getpid()); len += i; if (s) s += i; | ^~~~~~ In file included from qsutil.c:4: qsutil.h:5:13: warning: conflicting types for built-in function 'log2'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 5 | extern void log2(); | ^~~~ qsutil.h:1:1: note: 'log2' is declared in header '' +++ |+#include  1 | #ifndef QSUTIL_H rm -f trysalen.o ./compile hfield.c ./compile token822.c qmail-start.c: In function 'close23456': qmail-start.c:22:21: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 22 | void close23456() { close(2); close(3); close(4); close(5); close(6); } | ^~~~~ ./compile predate.c qmail-start.c: In function 'main': qmail-start.c:34:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 34 | if (chdir("/") == -1) die(); | ^~~~~ qmail-start.c:35:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] 35 | umask(077); | ^~~~~ qmail-start.c:50:9: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 50 | if (pipe(pi0) == -1) die(); | ^~~~ qmail-start.c:60:9: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 60 | execvp(argv[1],argv + 1); | ^~~~~~ ./compile qmail-pw2u.c triggerpull.c: In function 'triggerpull': triggerpull.c:13:4: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] 13 | write(fd,"",1); /* if it fails, bummer */ | ^~~~~ triggerpull.c:14:4: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 14 | close(fd); | ^~~~~ qmail-inject.c:58:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 58 | void puts(s) char *s; { put(s,str_len(s)); } | ^~~~ qmail-inject.c:25:1: note: 'puts' is declared in header '' 24 | #include "constmap.h" +++ |+#include  25 | rm -f trydrent.o ./compile qmail-tcpto.c qmail-inject.c: In function 'dodefaultreturnpath': qmail-inject.c:485:76: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 485 | if (!stralloc_catb(&hackedruser,strnum,fmt_ulong(strnum,(unsigned long) getpid()))) die_nomem(); | ^~~~~~ qmail-inject.c: In function 'getcontrols': qmail-inject.c:647:6: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 647 | if (chdir(auto_qmail) == -1) die_chdir(); | ^~~~~ ./compile qmail-tcpok.c ./compile qmail-pop3d.c ./compile commands.c rm -f tryulong32.o tryulong32 ./compile maildir.c ./compile qmail-popup.c ./compile qmail-qmqpc.c ./compile qmail-qmqpd.c ./compile received.c qmail-tcpto.c: In function 'main': qmail-tcpto.c:46:6: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 46 | if (chdir(auto_qmail) == -1) die_chdir(); | ^~~~~ qmail-tcpto.c:49:11: warning: implicit declaration of function 'open_write' [-Wimplicit-function-declaration] 49 | fdlock = open_write("tcpto"); | ^~~~~~~~~~ qmail-tcpto.c:51:7: warning: implicit declaration of function 'open_read'; did you mean 'die_read'? [-Wimplicit-function-declaration] 51 | fd = open_read("tcpto"); | ^~~~~~~~~ | die_read qmail-tcpto.c:54:6: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] 54 | r = read(fd,tcpto_buf,sizeof(tcpto_buf)); | ^~~~ qmail-tcpto.c:55:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 55 | close(fd); | ^~~~~ qmail-tcpto.c:68:6: warning: implicit declaration of function 'byte_copy' [-Wimplicit-function-declaration] 68 | byte_copy(&ip,4,record); | ^~~~~~~~~ predate.c: In function 'main': predate.c:38:3: warning: implicit declaration of function 'sig_pipeignore' [-Wimplicit-function-declaration] 38 | sig_pipeignore(); | ^~~~~~~~~~~~~~ predate.c:53:7: warning: implicit declaration of function 'sig_pipedefault' [-Wimplicit-function-declaration] 53 | sig_pipedefault(); | ^~~~~~~~~~~~~~~ ./compile qmail-qmtpd.c ./compile rcpthosts.c qmail-pw2u.c: In function 'doaccount': qmail-pw2u.c:102:7: warning: implicit declaration of function 'byte_chr' [-Wimplicit-function-declaration] 102 | if (byte_chr(line.s,line.len,'\0') < line.len) return; | ^~~~~~~~ ./compile qmail-smtpd.c maildir.c: In function 'maildir_chdir': maildir.c:21:6: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 21 | if (chdir(maildir) == -1) | ^~~~~ maildir.c: In function 'maildir_clean': maildir.c:47:8: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 47 | unlink(tmpname->s); | ^~~~~~ qmail-pop3d.c:48:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 48 | void puts(s) char *s; | ^~~~ qmail-pop3d.c:19:1: note: 'puts' is declared in header '' 18 | #include "timeoutwrite.h" +++ |+#include  19 | ./compile base64.c qmail-pop3d.c: In function 'pop3_quit': qmail-pop3d.c:193:2: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] 193 | rename(m[i].fn,line.s); /* if it fails, bummer */ | ^~~~~~ ./compile sendmail.c ./compile tcp-env.c qmail-popup.c:41:6: warning: conflicting types for built-in function 'puts'; expected 'int(const char *)' [-Wbuiltin-declaration-mismatch] 41 | void puts(s) char *s; | ^~~~ qmail-popup.c:16:1: note: 'puts' is declared in header '' 15 | #include "timeoutwrite.h" +++ |+#include  16 | rm -f trysyslog.o trysyslog ./compile remoteinfo.c qmail-qmqpd.c: In function 'getbuf': qmail-qmqpd.c:103:10: warning: implicit declaration of function 'byte_chr' [-Wimplicit-function-declaration] 103 | return byte_chr(buf,len,'\0') == len; | ^~~~~~~~ qmail-qmqpd.c: At top level: qmail-qmqpd.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] 108 | main() | ^~~~ qmail-qmqpd.c: In function 'main': qmail-qmqpd.c:168:63: warning: implicit declaration of function 'str_len' [-Wimplicit-function-declaration] 168 | substdio_put(&ssout,strnum,fmt_ulong(strnum,(unsigned long) str_len(result))); | ^~~~~~~ rcpthosts.c: In function 'rcpthosts': rcpthosts.c:42:3: warning: implicit declaration of function 'case_lowerb' [-Wimplicit-function-declaration] 42 | case_lowerb(buf,len); | ^~~~~~~~~~~ rm -f trymkffo.o trymkffo ./compile qmail-newmrh.c qmail-qmtpd.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] 78 | main() | ^~~~ ./compile dnscname.c qmail-qmtpd.c: In function 'main': qmail-qmtpd.c:105:12: warning: implicit declaration of function 'scan_ulong' [-Wimplicit-function-declaration] 105 | if (x) { scan_ulong(x,&u); databytes = u; } | ^~~~~~~~~~ sendmail.c: In function 'smtpd': sendmail.c:35:3: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration] 35 | execv(*smtpdarg,smtpdarg); | ^~~~~ ./compile dnsdoe.c sendmail.c: In function 'main': sendmail.c:92:7: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] 92 | if (chdir(auto_qmail) == -1) { | ^~~~~ ./compile dnsptr.c qmail-qmqpc.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] 138 | main() | ^~~~ ./compile dnsip.c qmail-remote.c: In function 'quit': qmail-remote.c:273:42: error: 'TLS_ST_BEFORE' undeclared (first use in this function); did you mean 'SSL_ST_BEFORE'? 273 | int state = ssl ? SSL_get_state(ssl) : TLS_ST_BEFORE; | ^~~~~~~~~~~~~ | SSL_ST_BEFORE qmail-remote.c:273:42: note: each undeclared identifier is reported only once for each function it appears in ./compile dnsmxip.c ./compile dnsfq.c ./compile hostname.c remoteinfo.c: In function 'remoteinfo_get': remoteinfo.c:51:61: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] 51 | if (bind(s,(struct sockaddr *) &sin,sizeof(sin)) == -1) { close(s); return 0; } | ^~~~~ qmail-remote.c:274:15: error: 'TLS_ST_OK' undeclared (first use in this function); did you mean 'SSL_ST_OK'? 274 | if (state & TLS_ST_OK || (!smtps && state & TLS_ST_BEFORE)) | ^~~~~~~~~ | SSL_ST_OK qmail-newmrh.c: In function 'main': qmail-newmrh.c:34:3: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration] 34 | umask(033); | ^~~~~ ./compile ipmeprint.c qmail-newmrh.c:46:7: warning: implicit declaration of function 'cdbmss_start' [-Wimplicit-function-declaration] 46 | if (cdbmss_start(&cdbmss,fdtemp) == -1) die_write(); | ^~~~~~~~~~~~ qmail-newmrh.c:50:5: warning: implicit declaration of function 'case_lowerb' [-Wimplicit-function-declaration] 50 | case_lowerb(line.s,line.len); | ^~~~~~~~~~~ qmail-newmrh.c:56:6: warning: implicit declaration of function 'cdbmss_add'; did you mean 'cdbmake_add'? [-Wimplicit-function-declaration] 56 | if (cdbmss_add(&cdbmss,line.s,line.len,"",0) == -1) | ^~~~~~~~~~ | cdbmake_add qmail-newmrh.c:63:7: warning: implicit declaration of function 'cdbmss_finish' [-Wimplicit-function-declaration] 63 | if (cdbmss_finish(&cdbmss) == -1) die_write(); | ^~~~~~~~~~~~~ qmail-newmrh.c:66:7: warning: implicit declaration of function 'rename' [-Wimplicit-function-declaration] 66 | if (rename("control/morercpthosts.tmp","control/morercpthosts.cdb") == -1) | ^~~~~~ tcp-env.c: In function 'main': tcp-env.c:127:2: warning: implicit declaration of function 'execvp' [-Wimplicit-function-declaration] 127 | execvp(*argv,argv); | ^~~~~~ ./compile qreceipt.c ./compile qsmhook.c ./compile qbiff.c ./compile forward.c make: *** [Makefile:1466: qmail-remote.o] Error 1 make: *** Waiting for unfinished jobs.... dnsmxip.c: In function 'main': dnsmxip.c:29:14: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 29 | r = now() + getpid(); | ^~~~~~ qmail-smtpd.c: In function 'authenticate': qmail-smtpd.c:600:10: warning: implicit declaration of function 'fd_copy'; did you mean 'BN_copy'? [-Wimplicit-function-declaration] 600 | if(fd_copy(3,pi[0]) == -1) return err_pipe(); | ^~~~~~~ | BN_copy qmail-smtpd.c: In function 'auth_login': qmail-smtpd.c:632:13: warning: implicit declaration of function 'b64decode' [-Wimplicit-function-declaration] 632 | if (r = b64decode(arg,str_len(arg),&user) == 1) return err_input(); | ^~~~~~~~~ * ERROR: mail-mta/netqmail-1.06-r12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-mta/netqmail-1.06-r12::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-mta/netqmail-1.06-r12::gentoo'`. * The complete build log is located at '/var/log/portage/build/mail-mta/netqmail-1.06-r12:20200209-155815.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/mail-mta/netqmail-1.06-r12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/mail-mta/netqmail-1.06-r12/temp/environment'. * Working directory: '/var/tmp/portage/mail-mta/netqmail-1.06-r12/work/netqmail-1.06' * S: '/var/tmp/portage/mail-mta/netqmail-1.06-r12/work/netqmail-1.06'