* Package: net-mail/qtools-0.56 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking qtools-0.56.tar.gz to /var/tmp/portage/net-mail/qtools-0.56/work >>> Source unpacked in /var/tmp/portage/net-mail/qtools-0.56/work >>> Preparing source in /var/tmp/portage/net-mail/qtools-0.56/work/qtools-0.56 ... * Applying qtools-0.56-errno.patch ... [ ok ] * Applying qtools-0.56-head.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/qtools-0.56/work/qtools-0.56 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/qtools-0.56/work/qtools-0.56 ... make -j4 ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -n 1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load ( cat warn-auto.sh; \ echo exec "`head -n 1 conf-cc`" '-c ${1+"$@"}' \ ) > compile ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype cat warn-auto.sh choose.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > choose chmod 755 compile ./compile 822body.c chmod 755 load ./compile strerr.c chmod 755 choose ./compile strerr_sys.c ./compile strerr_die.c ./compile error.c ./compile error_str.c ./compile error_temp.c ./compile buffer.c ./compile buffer_get.c ./compile buffer_put.c ./compile buffer_copy.c ./compile buffer_2.c ./compile buffer_1.c ./compile buffer_0.c ./compile getln.c ./compile getln2.c ./compile stralloc_eady.c ./compile stralloc_pend.c ./compile stralloc_copy.c ./compile stralloc_opys.c ./compile stralloc_opyb.c ./compile stralloc_cat.c ./compile stralloc_cats.c ./compile stralloc_catb.c ./compile stralloc_arts.c ./compile alloc.c ./compile alloc_re.c ./compile str_chr.c alloc.c:3:14: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: ‘malloc’ is declared in header ‘’ 2 | #include "error.h" +++ |+#include 3 | extern char *malloc(); ./compile str_rchr.c ./compile str_cpy.c ./compile str_len.c ./compile str_diff.c ./compile str_diffn.c ./compile str_start.c ./compile byte_chr.c ./compile byte_diff.c ./compile byte_rchr.c ./compile byte_copy.c ./compile byte_cr.c ./compile mess822_addr.c ./compile mess822_ok.c ./compile mess822_line.c ./compile mess822_token.c mess822_line.c: In function ‘mess822_end’: mess822_line.c:44:10: warning: implicit declaration of function ‘case_diffb’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 44 | if (!case_diffb(h->inprogress.s,pos,a->name)) | ^~~~~~~~~~ ./compile mess822_when.c mess822_when.c: In function ‘mess822_when’: mess822_when.c:34:12: warning: implicit declaration of function ‘str_len’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 34 | pos += str_len(x) + 1; | ^~~~~~~ mess822_when.c:50:9: warning: implicit declaration of function ‘case_diffs’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 50 | if (!case_diffs(x,"Jan")) { ct.date.month = 1; break; } | ^~~~~~~~~~ ./compile 822headerok.c ./compile 822bodyfilter.c ./compile pathexec_run.c ./compile pathexec_env.c pathexec_run.c: In function ‘pathexec_run’: pathexec_run.c:16:5: warning: implicit declaration of function ‘execve’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 16 | execve(file,argv,envp); | ^~~~~~ pathexec_env.c: In function ‘pathexec’: pathexec_env.c:67:14: warning: passing argument 1 of ‘alloc_free’ from incompatible pointer type []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types]8;;] 67 | alloc_free(e); | ^ | | | char ** In file included from pathexec_env.c:2: alloc.h:5:24: note: expected ‘char *’ but argument is of type ‘char **’ 5 | extern void alloc_free(char *); | ^~~~~~ ./compile env.c ./compile fd_copy.c ./compile fd_move.c fd_copy.c: In function ‘fd_copy’: fd_copy.c:8:3: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 8 | close(to); | ^~~~~ ./compile seek_set.c ./compile seek_cur.c fd_move.c: In function ‘fd_move’: fd_move.c:7:3: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | close(from); | ^~~~~ seek_set.c: In function ‘seek_set’: seek_set.c:7:7: warning: implicit declaration of function ‘lseek’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ ./choose cl tryvfork fork.h1 fork.h2 >fork.h ./choose cl trywaitp haswaitp.h1 haswaitp.h2 >haswaitp.h seek_cur.c: In function ‘seek_cur’: seek_cur.c:7:10: warning: implicit declaration of function ‘lseek’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | { return lseek(fd,(off_t) 0,CUR); } | ^~~~~ ./compile 822addr.c 822addr.c: In function ‘init’: 822addr.c:37:25: warning: implicit declaration of function ‘alloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 37 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^~~~~ 822addr.c:37:7: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 37 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^ ./compile fmt_ulong.c ./compile fmt_str.c ./compile fmt_strn.c ./compile scan_long.c ./compile scan_sign.c ./compile scan_uint.c ./compile scan_ulong.c ./compile case_diffb.c ./compile case_diffs.c ./compile case_startb.c ./compile 822headers.c ./compile 822fields.c ./compile checkaddr.c 822headers.c: In function ‘init’: 822headers.c:36:25: warning: implicit declaration of function ‘alloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 36 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^~~~~ 822headers.c:36:7: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 36 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^ ./compile checkdomain.c 822fields.c: In function ‘init’: 822fields.c:36:25: warning: implicit declaration of function ‘alloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 36 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^~~~~ 822fields.c:36:7: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 36 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^ checkdomain.c: In function ‘main’: checkdomain.c:48:16: warning: implicit declaration of function ‘str_rchr’; did you mean ‘strerr’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | recipient += str_rchr(recipient, '@'); | ^~~~~~~~ | strerr ./compile filterto.c ./compile auto-str.c ./compile qmail.c auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 8 | void puts(char *s) | ^~~~ auto-str.c:4:1: note: ‘puts’ is declared in header ‘’ 3 | #include "exit.h" +++ |+#include 4 | auto-str.c:13:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 13 | main(int argc,char **argv) | ^~~~ filterto.c: In function ‘main’: filterto.c:48:7: warning: implicit declaration of function ‘pipe’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | if (pipe(pf) == -1) strerr_die2sys(111,FATAL,"unable to create pipe: "); | ^~~~ filterto.c:53:5: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 53 | close(pf[0]); | ^~~~~ ./compile sig.c qmail.c: In function ‘qmail_open’: qmail.c:19:7: warning: implicit declaration of function ‘pipe’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 19 | if (pipe(pim) == -1) return -1; | ^~~~ qmail.c:20:26: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 20 | if (pipe(pie) == -1) { close(pim[0]); close(pim[1]); return -1; } | ^~~~~ qmail.c:32:11: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 32 | if (chdir(auto_qmail) == -1) _exit(61); | ^~~~~ ./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h ./compile tomaildir.c ./compile open_read.c tomaildir.c: In function ‘tryunlinktmp’: tomaildir.c:24:23: warning: implicit declaration of function ‘unlink’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 24 | void tryunlinktmp() { unlink(fntmptph); } | ^~~~~~ tomaildir.c: In function ‘doit’: tomaildir.c:47:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 47 | if (chdir(dir) == -1) { if (error_temp(errno)) return(1); return(2); } | ^~~~~ tomaildir.c:48:9: warning: implicit declaration of function ‘getpid’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | pid = getpid(); | ^~~~~~ tomaildir.c:50:3: warning: implicit declaration of function ‘gethostname’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 50 | gethostname(host,sizeof(host)); | ^~~~~~~~~~~ tomaildir.c:60:5: warning: implicit declaration of function ‘sleep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 60 | sleep(2); | ^~~~~ tomaildir.c:65:3: warning: implicit declaration of function ‘alarm’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 65 | alarm(86400); | ^~~~~ tomaildir.c:85:7: warning: implicit declaration of function ‘fsync’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 85 | if (fsync(fd) == -1) goto fail; | ^~~~~ tomaildir.c:86:7: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 86 | if (close(fd) == -1) goto fail; | ^~~~~ tomaildir.c:88:7: warning: implicit declaration of function ‘link’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 88 | if (link(fntmptph,fnnewtph) == -1) goto fail; | ^~~~ ./compile open_trunc.c ./compile open_excl.c ./compile now.c ./compile condtomaildir.c ./compile iftoccfrom.c ./compile ifaddr.c condtomaildir.c: In function ‘tryunlinktmp’: condtomaildir.c:27:23: warning: implicit declaration of function ‘unlink’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 27 | void tryunlinktmp() { unlink(fntmptph); } | ^~~~~~ condtomaildir.c: In function ‘doit’: condtomaildir.c:50:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 50 | if (chdir(dir) == -1) { if (error_temp(errno)) return(1); return(2); } | ^~~~~ condtomaildir.c:51:9: warning: implicit declaration of function ‘getpid’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 51 | pid = getpid(); | ^~~~~~ condtomaildir.c:53:3: warning: implicit declaration of function ‘gethostname’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 53 | gethostname(host,sizeof(host)); | ^~~~~~~~~~~ condtomaildir.c:63:5: warning: implicit declaration of function ‘sleep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 63 | sleep(2); | ^~~~~ condtomaildir.c:68:3: warning: implicit declaration of function ‘alarm’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 68 | alarm(86400); | ^~~~~ condtomaildir.c:88:7: warning: implicit declaration of function ‘fsync’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 88 | if (fsync(fd) == -1) goto fail; | ^~~~~ condtomaildir.c:89:7: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 89 | if (close(fd) == -1) goto fail; | ^~~~~ condtomaildir.c:91:7: warning: implicit declaration of function ‘link’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 91 | if (link(fntmptph,fnnewtph) == -1) goto fail; | ^~~~ ./compile replier.c ifaddr.c: In function ‘init’: ifaddr.c:39:26: warning: implicit declaration of function ‘alloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 39 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^~~~~ ifaddr.c:39:8: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 39 | a1 = (mess822_action *)alloc((n + 1) * sizeof(mess822_action)); | ^ In file included from ifaddr.c:5: ifaddr.c: In function ‘check’: ifaddr.c:67:30: warning: implicit declaration of function ‘str_rchr’; did you mean ‘strerr’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 67 | if (case_equals(addr + str_rchr(addr,'@'),recipient)) _exit(0); | ^~~~~~~~ case.h:11:40: note: in definition of macro ‘case_equals’ 11 | #define case_equals(s,t) (!case_diffs((s),(t))) | ^ ifaddr.c: In function ‘main’: ifaddr.c:91:20: warning: implicit declaration of function ‘str_diff’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 91 | while (*addrs && str_diff(*addrs,":")) { | ^~~~~~~~ replier.c:72:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 72 | void puts(buf) char *buf; | ^~~~ replier.c:21:1: note: ‘puts’ is declared in header ‘’ 20 | #include "pathexec.h" +++ |+#include 21 | replier.c: In function ‘main’: replier.c:109:3: warning: implicit declaration of function ‘umask’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 109 | umask(022); | ^~~~~ replier.c:112:3: warning: implicit declaration of function ‘alarm’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 112 | alarm(86400); | ^~~~~ replier.c:114:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 114 | if (chdir(dir) == -1) | ^~~~~ replier.c:135:7: warning: implicit declaration of function ‘pipe’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 135 | if (pipe(pf) == -1) | ^~~~ replier.c:137:9: warning: implicit declaration of function ‘fork’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 137 | pid = fork(); | ^~~~ replier.c:141:5: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 141 | close(pf[0]); | ^~~~~ replier.c:202:39: warning: implicit declaration of function ‘byte_chr’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 202 | if (constmap(&headerremovemap,line.s,byte_chr(line.s,line.len,':'))) | ^~~~~~~~ replier.c:207:9: warning: implicit declaration of function ‘byte_diff’; did you mean ‘str_diff’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 207 | if (!byte_diff(line.s,line.len,mydtline.s)) | ^~~~~~~~~ | str_diff ./compile openreadclose.c ./compile readclose.c ./compile getconf.c ./compile constmap.c readclose.c: In function ‘readclose_append’: readclose.c:9:44: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 9 | if (!stralloc_readyplus(sa,bufsize)) { close(fd); return -1; } | ^~~~~ getconf.c: In function ‘getconf_line’: getconf.c:48:13: warning: implicit declaration of function ‘byte_chr’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | sa->len = byte_chr(sa->s,sa->len,0); | ^~~~~~~~ ./compile make-text.c ./compile install.c ./compile hier.c install.c: In function ‘h’: install.c:20:7: warning: implicit declaration of function ‘mkdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 20 | if (mkdir(home,0700) == -1) | ^~~~~ install.c:23:7: warning: implicit declaration of function ‘chown’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ install.c:25:7: warning: implicit declaration of function ‘chmod’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 25 | if (chmod(home,mode) == -1) | ^~~~~ install.c: In function ‘d’: install.c:36:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function ‘c’: install.c:63:7: warning: implicit declaration of function ‘fchdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 88 | close(fdin); | ^~~~~ install.c:91:7: warning: implicit declaration of function ‘fsync’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 140 | main() | ^~~~ install.c: In function ‘main’: install.c:146:3: warning: implicit declaration of function ‘umask’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 146 | umask(077); | ^~~~~ hier.c: In function ‘hier’: hier.c:5:3: warning: implicit declaration of function ‘h’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 5 | h(auto_home,-1,-1,02755); | ^ hier.c:7:3: warning: implicit declaration of function ‘d’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | d(auto_home,"bin",-1,-1,02755); | ^ hier.c:9:3: warning: implicit declaration of function ‘c’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 9 | c(auto_home,"bin","822addr",-1,-1,0755); | ^ ./compile instcheck.c ( 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 ./compile 822headerfilter.c instcheck.c: In function ‘d’: instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 59 | if (chdir(home) == -1) | ^~~~~ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 104 | main() | ^~~~ 822headerfilter.c: In function ‘main’: 822headerfilter.c:30:7: warning: implicit declaration of function ‘pipe’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 30 | if (pipe(pfi) == -1) strerr_die2sys(111,FATAL,"unable to create pipe: "); | ^~~~ chmod 755 makelib 822headerfilter.c:34:5: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 34 | close(pfi[1]); | ^~~~~ ./compile wait_pid.c ./makelib fs.a fmt_ulong.o fmt_str.o fmt_strn.o scan_long.o scan_sign.o \ scan_uint.o scan_ulong.o ./makelib: line 5: ar: command not found ./makelib: line 6: ranlib: command not found make: *** [Makefile:454: fs.a] Error 127 make: *** Waiting for unfinished jobs.... * ERROR: net-mail/qtools-0.56::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/qtools-0.56::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/qtools-0.56::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-mail/qtools-0.56:20200524-154735.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/qtools-0.56/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/qtools-0.56/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/qtools-0.56/work/qtools-0.56' * S: '/var/tmp/portage/net-mail/qtools-0.56/work/qtools-0.56' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 3293760 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 24 May 2020 16:35:32 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS