* Package: net-mail/dot-forward-0.71-r4:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking dot-forward-0.71.tar.gz to /var/tmp/portage/net-mail/dot-forward-0.71-r4/work >>> Source unpacked in /var/tmp/portage/net-mail/dot-forward-0.71-r4/work >>> Preparing source in /var/tmp/portage/net-mail/dot-forward-0.71-r4/work/dot-forward-0.71 ... * Applying 0.71-errno.patch ... [ ok ] * Replacing obsolete head/tail with POSIX compliant ones * - fixed Makefile >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/dot-forward-0.71-r4/work/dot-forward-0.71 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/dot-forward-0.71-r4/work/dot-forward-0.71 ... make -j4 prog ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\' \ ) > auto-ccld.sh 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 chmod 755 make-load chmod 755 make-compile chmod 755 find-systype chmod 755 make-makelib ./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 compile chmod 755 load chmod 755 makelib ./compile dot-forward.c ./compile control.c ( ( ./compile tryvfork.c && ./load tryvfork ) >/dev/null \ 2>&1 \ && cat fork.h2 || cat fork.h1 ) > fork.h ./compile auto-str.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_puts(&ss1,s) == -1) _exit(111); ^ auto-str.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void puts(s) ^ 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: dot-forward.cuse '==' to turn this assignment :24into an equality: comparison 3: warning: while (ch = *value++) { ^ passing == arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { strerr_die2x(111,FATAL,"out of memory"); } ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' auto-str.c:42:21: strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... warning: passing arguments ^ to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_flush(&ss1) == -1) _exit(111); ^ auto-str.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void main(argc,argv) ^ dot-forward.c:26:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { strerr_die2sys(111,FATAL,"unable to read controls: "); } ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:28:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { strerr_die2sys(111,FATAL,"unable to run qq: "); } ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:30:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { strerr_die2sys(111,FATAL,"unable to read message: "); } ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:36:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(&line)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:37:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die3x(111,FATAL,"unable to parse this line: ",line.s); ^ ./strerr.h:74:11: note: expanded from macro 'strerr_die3x' strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct s... ^ dot-forward.c:61:8: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] write(fd,buf,len); ^ dot-forward.c:58:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int blindwrite(fd,buf,len) ^ dot-forward.c:74:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_warn2("pipe through ",cmd,0); ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struc... ^ dot-forward.c:78:7: error: call to undeclared function 'pipe'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (pipe(pi) == -1) ^ dot-forward.c:79:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to create pipe: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ rm -f tryvfork.o tryvfork dot-forward.c:81:19: error: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] switch (child = fork()) { ^ dot-forward.c:83:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to fork: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:85:7: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(pi[1]); ^ dot-forward.c:86:11: error: call to undeclared function 'fd_move'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (fd_move(0,pi[0]) == -1) ^ dot-forward.c:87:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to set fd: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ ./compile substdio.c dot-forward.c:89:7: error: call to undeclared function 'sig_pipedefault'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] sig_pipedefault(); ^ dot-forward.c:90:7: error: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] execv(*args,args); ^ dot-forward.c:91:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to run /bin/sh: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:94:3: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(pi[0]); ^ dot-forward.c:96:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&ssmess,read,0,messbuf,sizeof messbuf); ^ dot-forward.c:97:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&sschild,blindwrite,pi[1],childbuf,sizeof childbuf); ^ dot-forward.c:99:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(&sschild,ufline); ^ dot-forward.c:100:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(&sschild,rpline); ^ dot-forward.c:101:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_puts(&sschild,dtline); ^ dot-forward.c:102:20: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_copy(&sschild,&ssmess) != 0) die_readmess(); ^ dot-forward.c:103:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_flush(&sschild); ^ dot-forward.c:107:11: warning: passing arguments to 'wait_pid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wait_pid(&wstat,child); ^ dot-forward.c:109:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2x(111,FATAL,"child crashed"); ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(st... ^ dot-forward.c:121:7: warning: passing arguments to 'seek_set' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (seek_begin(0) == -1) ^ ./seek.h:13:33: note: expanded from macro 'seek_begin' #define seek_begin(fd) (seek_set((fd),(seek_pos) 0)) ^ dot-forward.c:122:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to rewind input: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:65:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void run(cmd) ^ dot-forward.c:137:20: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fddir = open_read("."); ^ dot-forward.c:139:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to open current directory: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:141:7: error: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (chdir(auto_qmail) == -1) ^ dot-forward.c:142:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die4sys(111,FATAL,"unable to chdir to ",auto_qmail,": "); ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) ^ dot-forward.c:144:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = control_readline(&me,"control/me"); ^ dot-forward.c:146:30: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!r) if (!stralloc_copys(&me,"me")) die_nomem(); ^ dot-forward.c:148:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = control_readline(&defaultdomain,"control/defaultdomain"); ^ dot-forward.c:150:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!r) if (!stralloc_copy(&defaultdomain,&me)) die_nomem(); ^ dot-forward.c:152:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = control_readline(&defaulthost,"control/defaulthost"); ^ dot-forward.c:154:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!r) if (!stralloc_copy(&defaulthost,&me)) die_nomem(); ^ dot-forward.c:156:23: warning: passing arguments to 'control_readline' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = control_readline(&plusdomain,"control/plusdomain"); ^ dot-forward.c:158:29: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!r) if (!stralloc_copy(&plusdomain,&me)) die_nomem(); ^ dot-forward.c:160:7: error: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (fchdir(fddir) == -1) ^ dot-forward.c:161:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die2sys(111,FATAL,"unable to set current directory: "); ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ dot-forward.c:175:19: warning: passing arguments to 'token822_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] token822_reverse(&tokaddr); ^ dot-forward.c:176:23: warning: passing arguments to 'token822_unquote' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (token822_unquote(&address,&tokaddr) != 1) die_nomem(); ^ dot-forward.c:189:12: error: call to undeclared function 'case_diffb'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!case_diffb(address.s,address.len,user)) { ^ dot-forward.c:207:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(&address)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:208:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die4x(111,FATAL,"file delivery ",address.s," not supported"); ^ ./strerr.h:72:11: note: expanded from macro 'strerr_die4x' strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) 0) ^ dot-forward.c:213:12: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(&address)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:220:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&address,"@")) die_nomem(); ^ dot-forward.c:221:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cat(&address,&defaulthost)) die_nomem(); ^ dot-forward.c:225:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] control.c if (!stralloc_cat(&address,&plusdomain)) die_nomem(); : ^ 16:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void striptrailingwhitespace(sa) ^ dot-forward.c:231:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&address,".")) die_nomem(); ^ dot-forward.c:232:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and control.cis: 33not: 22supported: inwarning: passingC2x arguments [-Wdeprecated-non-prototype]to 'control_readline' without a prototype if (!stralloc_cat(&address,&defaultdomain)) die_nomem(); is ^ deprecated in all versions of C anddot-forward.c :is235 :not8 :supported warning: inpassing C2xarguments to[-Wdeprecated-non-prototype] 'stralloc_append' without a prototype is deprecated in all versions of r = control_readline(&me,"control/me");C ^and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(&address)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:237:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&targets,"T")) die_nomem(); ^ dot-forward.c:238:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cats(&targets,address.s)) die_nomem(); ^ dot-forward.c:239:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(&targets)) die_nomem(); ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:242:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_warn2("forward ",address.s,0); ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struc... ^ dot-forward.c:252:21: warning: passing arguments to 'token822_parse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = token822_parse(&toks,&line,&cbuf); ^ dot-forward.c:260:26: warning: passing arguments to 'token822_readyplus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!token822_readyplus(&tokaddr,1)) die_nomem(); ^ dot-forward.c:272:31: warning: passing arguments to 'token822_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!token822_append(&tokaddr,--t)) die_nomem(); ^ control.cdot-forward.c::45283::2229:: warning: warning: passingpassing argumentsarguments toto 'control_readline''token822_append' withoutwithout aa prototypeprototype isis deprecateddeprecated inin allall versionsversions ofof CC andand isis notnot supportedsupported inin C2xC2x [-Wdeprecated-non-prototype][-Wdeprecated-non-prototype] if (!token822_append(&tokaddr,t)) die_nomem(); r = control_readline(sa,fn); ^ ^ dot-forward.c:294:29: warning: passing arguments to 'token822_append' without a prototype is deprecated in control.call: 47versions: 44of: Cwarning: passingand argumentsis tonot 'stralloc_copy'supported withoutin aC2x prototype[-Wdeprecated-non-prototype] is deprecated in if (!token822_append(&tokaddr,t)) die_nomem(); all ^ versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (flagme) if (meok) return stralloc_copy(sa,&me) ? 1 : -1; ^ control.cdot-forward.c::48308::3212:: warning: warning: passingpassing argumentsarguments toto 'stralloc_copys''qmail_put' withoutwithout aa prototypeprototype isis deprecateddeprecated inin allall versionsversions ofof CC andand isis notnot supportedsupported inin C2xC2x [-Wdeprecated-non-prototype][-Wdeprecated-non-prototype] qmail_put(&qq,buf,len); ^ if (def) return stralloc_copys(sa,def) ? 1 : -1; ^ dot-forward.c:305:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]control.c :38:5int mywrite(fd,buf,len): ^warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int control_rldef(sa,fn,flagme,def) ^ In file included from control.c:7: ./control.h:6:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter dot-forward.c :prototype324 :in17 :C2x, warning: conflictingpassing witharguments ato subsequent'open_read' definitionwithout a[-Wdeprecated-non-prototype] prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open_read(fn); ^ extern int control_rldef(); ^ dot-forward.c:327:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die4sys(111,FATAL,"unable to open ",fn,": "); ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) ^ dot-forward.c:330:22: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_copys(&targets,"")) die_nomem(); ^ dot-forward.c:334:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&ss,read,fd,inbuf,sizeof inbuf); ^ dot-forward.c:337:14: warning: passing arguments to 'getln' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getln(&ss,&line,&match,'\n') == -1) ^ dot-forward.c:338:7control.c:: 60warning: :passing16 :arguments warning: to passing'strerr_die' withoutarguments ato 'open_read'prototype withoutis adeprecated prototypein allis versionsdeprecated ofin Call andversions isof notC supportedand inis C2xnot supported[-Wdeprecated-non-prototype] in C2x strerr_die4sys(111,FATAL,"unable to read ",fn,": "); [-Wdeprecated-non-prototype] ^ ./strerr.h:59:11: note: fd = open_read(fn);expanded ^from macro 'strerr_die4sys' strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) ^ dot-forward.c:344:3: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(fd); ^ control.c:63:16: warning: dot-forward.cpassing: 349arguments:21 : towarning: passing'substdio_fdbuf' argumentswithout toa 'qmail_open' prototypewithout isa deprecated prototypein isall deprecatedversions inof allC versions andof isC andnot issupported notin supportedC2x in [-Wdeprecated-non-prototype]C2x [-Wdeprecated-non-prototype] if (qmail_open(&qq) == -1) ^ substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); ^ dot-forward.c:350:9: warning: passing arguments control.cto: 65'strerr_die': 11without: awarning: passing prototypearguments isto deprecated'getln' inwithout alla versionsprototype ofis C deprecatedand inis allnot versionssupported ofin CC2x and [-Wdeprecated-non-prototype]is not supported in strerr_die2sys(111,FATAL,"unable to run qmail-queue: "); C2x ^ ./strerr.h[-Wdeprecated-non-prototype]: 63:11: note: expanded from macro 'strerr_die2sys' if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; }strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&st... ^ ^ dot-forward.c:351:20: warning: passing arguments to 'qmail_qp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qp = qmail_qp(&qq); ^ dot-forward.c:352:17: warning: passing arguments to 'qmail_puts' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qmail_puts(&qq,dtline); ^ dot-forward.c:354:21: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&ssmess,read,0,messbuf,sizeof messbuf); ^ dot-forward.c:355:24: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (substdio_copy(&ssqq,&ssmess) != 0) die_readmess(); ^ dot-forward.c:356:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_flush(&ssqq); ^ dot-forward.c:358:17: warning: passing arguments to 'qmail_from' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qmail_from(&qq,sender); ^ dot-forward.c:359:16: warning: passing arguments to 'qmail_put' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qmail_put(&qq,targets.s,targets.len); ^ dot-forward.c:361:24: warning: passing arguments to 'qmail_close' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qqx = qmail_close(&qq); ^ dot-forward.c:363:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strerr_die3x(100,FATAL,"unable to forward message: ",qqx + 1); ^ ./strerr.h:74:11: note: expanded from macro 'strerr_die3x' strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct s... ^ dot-forward.c:365:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supportedcontrol.c in: 65C2x: 41 :[-Wdeprecated-non-prototype] error: call to undeclared function strerr_die3x(111,FATAL,"unable to forward message: ",qqx + 1);'close'; ^ISO ./strerr.hC99: 74and: 11later: note: doexpanded notfrom supportmacro implicit'strerr_die3x' function declarations [-Werror,-Wimplicit-function-declaration] strerr_die((e),(x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct s... ^ if (getln(&ss,sa,&match,'\n') == -1) { close(fd); return -1; }dot-forward.c : ^366 :23: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strnum[fmt_ulong(strnum,qp)] = 0; ^ control.c:68:2: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(fd);dot-forward.c : ^367 :7: warning: passing arguments to 'strerr_warn' without a prototype iscontrol.c :deprecated52 :in5 all: versionswarning: aof functionC definitionand withoutis anot prototypesupported isin deprecatedC2x in[-Wdeprecated-non-prototype] all versions of strerr_warn3(INFO,"qp ",strnum,0);C ^and is./strerr.h :not35 :supported12 :in note: C2xexpanded from[-Wdeprecated-non-prototype] macro 'strerr_warn3' int control_readline(sa,fn) ^ In file included from strerr_warn((x1),(x2),(x3),(char *) 0,(char *) 0,(char *) 0,(struct stre...control.c : ^7 : ./control.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequentdot-forward.c :definition372 : 20[-Wdeprecated-non-prototype]: warning: passing arguments to 'strerr_warn' extern int control_readline();without ^a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!flagdoit) strerr_warn1("direct delivery",0); ^ ./strerr.h:39:12: note: expanded from macro 'strerr_warn1' strerr_warn((x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,... ^ dot-forward.c:376:20: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C2x control.c[-Wdeprecated-non-prototype]: 82:7: warning: passing if (!flagdoit) strerr_warn2("skipping empty file ",fn,0);arguments ^to ./strerr.h'stralloc_append': 37without: 12a: note: prototypeexpanded isfrom deprecatedmacro in'strerr_warn2' all versions of C and strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struc...is ^not supported in C2x [-Wdeprecated-non-prototype] dot-forward.c if (!stralloc_0(&line)) return -1;: 317 ^: 6: warning: a ./stralloc.hfunction: 19definition: 39without: anote: expandedprototype fromis macro deprecated'stralloc_0' in all versions of C and is not supported#define stralloc_0(sa) stralloc_append(sa,"") in ^ C2x [-Wdeprecated-non-prototype] void try(fn) ^ dot-forward.ccontrol.c::38283::117:: warning: warning: returnpassing typearguments ofto 'main''scan_ulong' iswithout nota 'int'prototype [-Wmain-return-type]is deprecated invoid main(argc,argv) all^ versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!scan_ulong(line.s,&u)) return 0; ^ control.c:72:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int control_readint(i,fn) ^ In file included from control.c:7: ./control.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treateddot-forward.c :as382 :a1 : zero-parameternote: change prototypereturn intype C2x,to conflicting'int' with a subsequent definition [-Wdeprecated-non-prototype] void main(argc,argv) ^~~~ int extern int control_readint(); ^ control.c:97:21: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_copys(sa,"")) return -1; ^ control.c:99:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd = open_read(fn); ^ control.c:106:26: warning: passing arguments to 'stralloc_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_copy(sa,&me)) return -1; ^ control.c:107:13: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_0(sa)) return -1; ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ control.c:115:16: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] substdio_fdbuf(&ss,read,fd,inbuf,sizeof(inbuf)); ^ dot-forward.c:389:3: error: call to undeclared function 'sig_pipeignore'; ISO6 control.c warning:C99s119 generatedand:. 13later: dowarning: passingnot argumentssupport toimplicit 'getln'function withoutdeclarations a [-Werror,-Wimplicit-function-declaration]prototype is deprecated sig_pipeignore(); in ^ all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dot-forward.c:391:23: warning: if (getln(&ss,&line,&match,'\n') == -1) break;passing ^arguments to 'sgetoptmine' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while ((opt = getopt(argc,argv,"nN")) != opteof) ^ control.c:120:31: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!match && !line.len) { close(fd); return 1; } ^ dot-forward.c:398:9: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and iscontrol.c :not122 :supported9 :in warning: C2xpassing arguments[-Wdeprecated-non-prototype] to 'stralloc_append' without a prototype is strerr_die1x(100,"dot-forward: usage: dot-forward [ -nN ] file ...");deprecated ^in all./strerr.h :versions78 :of11 :C note: andexpanded isfrom notmacro supported'strerr_die1x' in C2x [-Wdeprecated-non-prototype] strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *... if (!stralloc_0(&line)) break; ^ ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' #define stralloc_0(sa) stralloc_append(sa,"") ^ dot-forward.c:402:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ufline = env_get("UFLINE"); if (!ufline) ufline = ""; ^ control.c:125:25: warning: passing arguments to dot-forward.c'stralloc_cat': 403without: 19a: warning: prototypepassing argumentsis todeprecated 'env_get'in withoutall aversions ofprototype Cis anddeprecated isin notall supportedversions inof C2xC and[-Wdeprecated-non-prototype] is not supported in C2x [-Wdeprecated-non-prototype] if (!stralloc_cat(sa,&line)) break; ^ rpline = env_get("RPLINE"); if (!rpline) rpline = ""; ^ dot-forward.c:404:19: warning: passingcontrol.c :arguments126 :to18 :'env_get' error: withoutcall ato undeclaredprototype functionis 'close';deprecated ISOin C99all andversions laterof Cdo andnot issupport notimplicit supportedfunction indeclarations C2x [-Werror,-Wimplicit-function-declaration] [-Wdeprecated-non-prototype] if (!match) { close(fd); return 1; } dtline = env_get("DTLINE"); if (!dtline) dtline = ""; ^ ^ dot-forward.c:405:19: warning: passing arguments to 'env_get' control.cwithout: 128a: 2 :prototype error: iscall deprecatedto inundeclared functionall 'close';versions ISOof C99C andand lateris notdo supportednot insupport C2ximplicit function[-Wdeprecated-non-prototype] declarations [-Werror,-Wimplicit-function-declaration] close(fd); ^ sender = env_get("NEWSENDER"); if (!sender) sender = ""; ^ control.cdot-forward.c::88407::517:: warning: warning: apassing functionarguments definitionto without'env_get' awithout prototypea is prototypedeprecated is indeprecated allin versionsall ofversions Cof andC isand notis supportednot insupported C2xin C2x[-Wdeprecated-non-prototype] [-Wdeprecated-non-prototype] int control_readfile(sa,fn,flagme) ^ user = env_get("USER"); if (!user) user = ""; ^ In file included from control.c:7: ./control.h:8:12: warning: adot-forward.c :function408 :declaration20 :without warning: apassing prototypearguments isto 'str_len'deprecated withoutin aall versionsprototype ofis Cdeprecated andin isall treatedversions asof aC zero-parameterand isprototype notin supportedC2x, inconflicting C2xwith a[-Wdeprecated-non-prototype] subsequent definition userlen = str_len(user);[-Wdeprecated-non-prototype] ^ extern int control_readfile(); ^ dot-forward.c:409:17: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] host = env_get("HOST"); if (!host) host = ""; ^ dot-forward.c:410:20: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hostlen = str_len(host); ^ dot-forward.c:417:18: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!flagdoit) strerr_warn1("direct delivery",0); ^ ./strerr.h:39:12: note: expanded from macro 'strerr_warn1' strerr_warn((x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,... ^ dot-forward.c:382:6: warning: a26 warningfunctions and definition5 errorwithouts generateda. prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void main(argc,argv) ^ 95 warnings and 12 errors generated. ./compile substdi.c make: *** [Makefile:95: dot-forward.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:75: control.o] Error 1 substdio.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void substdio_fdbuf(s,op,fd,buf,len) ^ In file included from substdio.c:1: ./substdio.h:14:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void substdio_fdbuf(); ^ 2 warnings generated. substdi.c:14:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] r = op(fd,buf,len); ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int oneread(op,fd,buf,len) ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] byte_copy(buf,r,s->x + s->n); ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int getthis(s,buf,len) ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); ^ substdi.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int substdio_feed(s) ^ In file included from substdi.c:1: ./substdio.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int substdio_feed(); ^ substdi.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int substdio_bget(s,buf,len) ^ In file included from substdi.c:1: ./substdio.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int substdio_bget(); ^ substdi.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int substdio_get(s,buf,len) ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int substdio_get(); ^ substdi.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *substdio_peek(s) ^ In file included from substdi.c:1: ./substdio.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *substdio_peek(); ^ substdi.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void substdio_seek(s,len) ^ In file included from substdi.c:1: ./substdio.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void substdio_seek(); ^ 15 warnings generated. * ERROR: net-mail/dot-forward-0.71-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/dot-forward-0.71-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/dot-forward-0.71-r4::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:dot-forward-0.71-r4:20220917-152854.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/dot-forward-0.71-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/dot-forward-0.71-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/dot-forward-0.71-r4/work/dot-forward-0.71' * S: '/var/tmp/portage/net-mail/dot-forward-0.71-r4/work/dot-forward-0.71'