* Package: app-editors/teco-36_p19940820:0 * Repository: gentoo * Maintainer: ulm@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking teco-36_p19940820.tar.gz to /var/tmp/portage/app-editors/teco-36_p19940820/work >>> Source unpacked in /var/tmp/portage/app-editors/teco-36_p19940820/work >>> Preparing source in /var/tmp/portage/app-editors/teco-36_p19940820/work ... * Applying teco-double-free.patch ... [ ok ] * Applying teco-gcc4.patch ... [ ok ] * Applying teco-warnings.patch ... [ ok ] * Applying teco-no-common.patch ... [ ok ] * Applying teco-void-functions.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-editors/teco-36_p19940820/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-editors/teco-36_p19940820/work ... make -j4 CC=clang 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -ansi' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -ansi -D_POSIX_SOURCE -c -o te_data.o te_data.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -ansi -D_POSIX_SOURCE -c -o te_utils.o te_utils.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -ansi -D_POSIX_SOURCE -c -o te_subs.o te_subs.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -ansi -D_POSIX_SOURCE -c -o te_main.o te_main.c In file included from te_main.c:45: ./te_defs.h:326: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 previous declaration [-Wdeprecated-non-prototype] extern FILE *fopen(); ^ te_main.c:49:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] main(argc, argv) ^ In file included from te_subs.c:9te_main.c: :./te_defs.h55::32614::14 :warning: passingwarning: aarguments functionto declaration'save_args' without a prototype withoutis a deprecatedprototype in isall deprecatedversions inof allC versionsand ofis Ctreated andas isa notzero-parameter supported prototypein inC2x C2x, [-Wdeprecated-non-prototype]conflicting with a previous declaration [-Wdeprecated-non-prototype] save_args(argc, argv, &qreg[36]); /* copy command line to Qz */ ^ extern FILE *fopen(); ^ In file included from te_utils.c:8: ./te_defs.h:326: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 previous declaration [-Wdeprecated-non-prototype] extern FILE *fopen(); ^ te_subs.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and iste_main.c :not57 :supported5 :in error: C2ximplicit declaration[-Wdeprecated-non-prototype] of function 'setup_tty' movenchars(from, to, n)[-Werror,-Wimplicit-function-declaration] ^ setup_tty(TTY_ON); /* set tty to CBREAK, no echo, asynch mode */ ^ te_main.c:59:5: error: implicit declaration of function 'window' [-Werror,-Wimplicit-function-declaration] window(WIN_INIT); /* initialize screen-image buffer */ ^ te_main.c:63:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (err = setjmp(xxx)) ~~~~^~~~~~~~~~~~~ te_main.c:63:13: note: place parentheses around the assignment to silence this warning if (err = setjmp(xxx)) ^ ( ) te_main.c:63:13: note: use '==' to turn this assignment into an equality comparison if (err = setjmp(xxx)) ^ == te_main.c:67:32: warning: passing arguments to 'print_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (err == E_SRH) print_string(SERBUF); /* print unfulfi... ^ te_utils.c:41:1: warning: a function definition without a prototype is deprecated in all versions of te_main.cC: 68and :is 75not: supportedwarning: inpassing C2xarguments to[-Wdeprecated-non-prototype] 'print_string' without free_blist(p) a^ prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ...E_FNF) || (err == E_COF) || (err == E_AMB)) print_string(FILBUF); /* o... ^ te_utils.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dly_free_blist(p) ^ te_main.c:69:2: error: implicit declaration of function 'crlf' [-Werror,-Wimplicit-function-declaration] crlf(); ^ In file included from te_data.c:8: ./te_defs.h:326: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 previous declaration [-Wdeprecated-non-prototype] te_subs.c:93:13: error: implicit declaration of extern FILE *fopen();function ^'type_char' [-Werror,-Wimplicit-function-declaration] if (trace) type_char(tp->ch[tc-1]); /* type it out if trace mode */ ^ te_subs.c:74:1: warning: a function definition without te_main.ca: 84prototype: 2is: deprecatederror: implicit indeclaration allof versionsfunction of'free_blist' C [-Werror,-Wimplicit-function-declaration]and is not supported in C2x [-Wdeprecated-non-prototype] free_blist(insert_p); /* free any storage from failed ... ^ moveuntil(from, to, c, n, max, trace) ^ te_utils.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_dlist(p) ^ te_subs.c:123: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 get_value(d) /* get a value, default is argument */ ^ te_utils.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] te_main.c:make_buffer(p)88 :^6 : error: implicit declaration of function 'read_cmdstr' [-Werror,-Wimplicit-function-declaration] if (read_cmdstr()) goto quit; ^ te_subs.c:141: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 lines(arg) ^ te_utils.c:130: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 fwdc(arg) ^ te_main.c:91:2: error: implicit declaration of function 'exec_cmdstr' [-Werror,-Wimplicit-function-declaration] exec_cmdstr(); ^ te_utils.c:147:1: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int] fwdcx(arg) ^ te_main.c:95:30: error: implicit declaration of function 'panic' [-Werror,-Wimplicit-function-declaration] else if (exitflag == -3) panic(); /* hangup during execution: ... ^ te_utils.c:147:1: warning: a function definition without a prototype is deprecated in all versions te_main.cof: C and is not supported in49 :C2x1 : [-Wdeprecated-non-prototype]warning: a function definition without a prototype is deprecated in all versions of C and is not supported te_subs.cin: 198C2x: 6 :[-Wdeprecated-non-prototype] error: implicitmain(argc, argv) declaration^ of function 'set_pointer' [-Werror,-Wimplicit-function-declaration] te_utils.c:165:5: set_pointer(esp->val1, p); /* set the pointer */warning: te_main.ca ^: 111function: 5definition: withouterror: implicita declarationprototype ofis function deprecated'window' in [-Werror,-Wimplicit-function-declaration]all versions of C and is not window(WIN_OFF); /* restore screen */ supported ^ in C2x [-Wdeprecated-non-prototype] int backc(arg) ^ te_main.c:112:5: error: implicit declaration of function te_subs.c'setup_tty': 208 :[-Werror,-Wimplicit-function-declaration]6 : error: implicit declaration of function setup_tty(TTY_OFF); /* restore terminal */ 'set_pointer' ^ [-Werror,-Wimplicit-function-declaration] set_pointer(esp->val2, p); /* args in reverse order */ ^ te_utils.c:186:1: warning: a function definition without a prototype iste_subs.c : 219deprecated: 14in: allerror: implicitversions declarationof ofC functionand 'set_pointer'is not[-Werror,-Wimplicit-function-declaration] supported in C2x if (n >= 0) set_pointer(pbuff->dot, p);[-Wdeprecated-non-prototype] ^ set_pointer(pos, ptr) /* first arg is position, 2nd is addr of pointer */ ^ te_main.c:113:5: error: implicit declaration of function 'kill_output' [-Werror,-Wimplicit-function-declaration] te_subs.c:185:5: warning: a kill_output(&po_file); /* kill any open primary output file */function ^definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int line_args(d, p) ^ te_main.c:128:5: error: implicit declaration of function 'type_char' [-Werror,-Wimplicit-function-declaration] type_char('"'); ^ te_subs.c:231: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 getqspec(fors, c) /* fors ("file or search") nonzero = allow _ or * */ ^ te_subs.c:259:5: te_main.cerror: :implicit122 :te_utils.cdeclaration1: :226of : warning: 16a: function function error: 'set_pointer'implicitdefinition declarationwithout [-Werror,-Wimplicit-function-declaration]aof prototype functionis 'type_char' deprecated [-Werror,-Wimplicit-function-declaration] set_pointer(pbuff->dot, &aa); /* convert dot to a qp */in ^all if (trace) type_char(cmdc); /* trace */ versions ^ of C and is not supported in C2x [-Wdeprecated-non-prototype] print_string(arg) ^ te_main.c:47:17: 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] te_utils.c:212:6: warning: a function definitionvoid cleanup(), print_string(), save_args(), read_startup(), get_term_par(); without ^ a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char getcmdc0(trace) ^ In file included from te_utils.c:8: ./te_defs.h:323:34: 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 skipto(), getcmdc(), getcmdc0(); /* routines that return chars */ ^ te_main.c:153:5: error: implicit declaration te_subs.cof: 286function: 5'make_buffer': te_utils.c error: :[-Werror,-Wimplicit-function-declaration]implicit242 :declaration13 :of make_buffer(q); /* attach a text buffer */ error: function ^implicit 'free_blist'declaration of[-Werror,-Wimplicit-function-declaration] function 'type_char' [-Werror,-Wimplicit-function-declaration] free_blist(bb.p->f); /* return unused cells */ if (trace) type_char(cmdc); /* trace */ ^ ^ te_utils.c:236:te_subs.c6::276 :warning: 1a: functionwarning: adefinition functionwithout definitiona withoutprototype ais prototype deprecatedis in deprecatedall inversions ofall Cversions andof isC notand supportedis innot te_main.c C2x: supported161 :[-Wdeprecated-non-prototype]in6 :C2x char getcmdc(trace)error: implicit[-Wdeprecated-non-prototype] ^ declaration of In file included from te_utils.cfunction:8 : 'fwdcx'./te_defs.h : 323[-Werror,-Wimplicit-function-declaration]:insert2(count) /* count is the number of chars added */ 23 :^ fwdcx(&ptr); 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 skipto(), getcmdc(), getcmdc0(); /* routines that return chars */ ^ te_main.c:167:6: error: implicit declaration of function 'fwdcx' te_subs.c[-Werror,-Wimplicit-function-declaration]: 309:5: fwdcx(&ptr); error: ^implicit declaration of function 'set_pointer' [-Werror,-Wimplicit-function-declaration]te_utils.c :254:5: warning: a te_main.cfunction :definition145 without: 1a: prototype warning: isa set_pointer(pbuff->dot, &aa); /* pointer to beginning of a... function ^deprecated definitionin withoutall versionsa of prototypeC andis is notdeprecated supportedin inall C2x versions [-Wdeprecated-non-prototype] of C int peekcmdc(arg)and ^is not supported in C2x [-Wdeprecated-non-prototype] te_subs.c:313:5: save_args(argc, argv, q)error: implicit^ declaration te_main.cof: 47function: 33'free_blist': warning: [-Werror,-Wimplicit-function-declaration]a function declaration without a prototype is free_blist(aa.p->f); /* return any cells after end */deprecated ^in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]te_subs.c :297:1: warning: a functionvoid cleanup(), print_string(), save_args(), read_startup(), get_term_par(); definition ^ without a prototype is deprecated in all versions of C and is not 14supported warning sin C2x and 3te_main.c error:[-Wdeprecated-non-prototype]s182 generated:16. :delete1(nchars) 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 previous declaration [-Wdeprecated-non-prototype] char *hp, *getenv(); ^ /usr/include/stdlib.h:654:14: note: conflicting prototype is here extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; ^ te_main.c:190:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (hp = getenv("HOME")) /* if not found, look in home directory */ ~~~^~~~~~~~~~~~~~~~ te_main.c:190:9: note: place parentheses around the assignment to silence this warning if (hp = getenv("HOME")) /* if not found, look in home directory */ ^ ( ) te_main.cte_subs.c::190329::910:: note: error: useimplicit '=='declaration toof turnfunction this'build_string' assignment [-Werror,-Wimplicit-function-declaration]into an equality comparison if (!build_string(&obuff)) return; /* no tag spec'd: continue */ ^ if (hp = getenv("HOME")) /* if not found, look in home directory */ ^ == te_main.c:206:18: 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 previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /usr/include/stdlib.h:654:14: note: conflicting prototype is here extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; ^ te_subs.cte_main.c::367208::1615:: warning: warning: passingusing arguments tothe 'skipto'result withoutof aan prototypeassignment isas adeprecated conditionin allwithout versionsparentheses of[-Wparentheses] C and is not supported in if (pname = getenv("TERM")) /* read terminal name */ C2x ~~~~~~^~~~~~~~~~~~~~~~ [-Wdeprecated-non-prototype] switch (skipto(1)) /* look for interesting things, including ! */ ^ te_main.c:208:15: note: place parentheses around the assignment to silence this warning if (pname = getenv("TERM")) /* read terminal name */ ^ ( ) te_main.c:208:15: note: use '==' to turn this assignment into an equality comparison if (pname = getenv("TERM")) /* read terminal name */ ^ == te_main.c:210:2: error: implicit declaration of function 'tgetent' [-Werror,-Wimplicit-function-declaration] tgetent(tbuff, pname); /* get entry */ ^ te_main.c:210:2: note: did you mean 'getenv'? te_main.c:206:18: note: 'getenv' declared here extern char *getenv(); ^ te_subs.c:374:45: error: implicit declaration of function 'pop_iteration' [-Werror,-Wimplicit-function-declaration] if ((level == 0) && (cptr.flag & F_ITER)) pop_iteration(1); ^ te_subs.c:383:15: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (getcmdc(0) == '!') epfound = 1; /* mark ... ^ te_subs.cte_main.c:211:2: error: implicit declaration of function 'set_term_par' [-Werror,-Wimplicit-function-declaration]: 388:15 set_term_par(tgetnum("li"), tgetnum("co")); /* get #lines and #c...: ^warning: passingte_main.c :arguments211 :to2 :'getcmdc' note: withoutdid ayou prototypemean is'get_term_par'? deprecated in all versions of C and is not supported inte_main.c :C2x202 : 1[-Wdeprecated-non-prototype]: note: 'get_term_par' declared here get_term_par() if (getcmdc(0) == '!') return; /* and tag ends ...^ ^ te_subs.c:390:40: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (!epfound) while (getcmdc(0) != '!'); ... ^ te_main.c:211:15: error: implicit declaration of function 'tgetnum' [-Werror,-Wimplicit-function-declaration] te_subs.c set_term_par(tgetnum("li"), tgetnum("co")); /* get #lines and #c...: 410 ^: 42: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (!(ta = spec_chars[skipc = getcmdc(0)] & (A_X | A_S | A_T ... ^ te_subs.c:413:23: warning: passing1 warningarguments generated . to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 14 warnings and if (ta & A_Q) getcmdc(0); /* if command takes a Q spec, sk...18 error ^s generated. te_subs.c:416:31: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (skipc == '"') getcmdc(0); /* quote must skip next char */ ^ te_subs.c:424:42: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (ta = spec_chars[skipc = getcmdc(0) & 0x1f]) goto again; ^ te_subs.c:424:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (ta = spec_chars[skipc = getcmdc(0) & 0x1f]) goto again; ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ te_subs.c:424:14: note: place parentheses around the assignment to silence this warning if (ta = spec_chars[skipc = getcmdc(0) & 0x1f]) goto again; ^ ( ) te_subs.c:424:14: note: use '==' to turn this assignment into an equality comparison if (ta = spec_chars[skipc = getcmdc(0) & 0x1f]) goto again; ^ == te_subs.c:432:14: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getcmdc(0); ^ te_subs.c:436:30: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term = (atsw) ? getcmdc(0) : CTL('A'); ^ te_subs.c:438:21: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (getcmdc(0) != term); /* skip text */ ^ te_subs.c:443:21: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (getcmdc(0) != '!'); /* skip until next ! */ ^ te_subs.c:448:29: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (spec_chars[getcmdc(0)] & ((skipc == 'e') ? A_E ... ^ te_subs.c:450:27: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term = (atsw) ? getcmdc(0) : ESC; ^ te_subs.c:452:18: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (getcmdc(0) != term); /* read past ter... ^ te_subs.c:460:29: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] term = (atsw) ? getcmdc(0) : ESC; ^ te_subs.c:462:20: warning: passing arguments to 'getcmdc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] while (getcmdc(0) != term); /* skip text */ ^ te_subs.c:410:74: warning: while loop has empty body [-Wempty-body] ...= getcmdc(0)] & (A_X | A_S | A_T | A_Q))); /* read until something int... ^ te_subs.c:410:74: note: put the semicolon on a separate line to silence this warning te_subs.c:402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char skipto(arg) ^ In file included from te_subs.c:9: ./te_defs.h:323: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 char skipto(), getcmdc(), getcmdc0(); /* routines that return chars */ ^ te_subs.c:475:5: error: implicit declaration of function 'set_pointer' [-Werror,-Wimplicit-function-declaration] set_pointer(pbuff->dot, &aa); /* point to text buffer */ ^ te_subs.c:537:23: error: implicit declaration of function 'fwdc' [-Werror,-Wimplicit-function-declaration] for (i = pbuff->dot, fwdc(&aa); (i < pbuff->z) && (l); fwdc(&aa) ) ^ te_subs.c:547:23: error: implicit declaration of function 'backc' [-Werror,-Wimplicit-function-declaration] for (i = pbuff->dot, backc(&aa); (i >= 0) && (l); backc(&aa) ) ^ 30 warnings and 13 errors generated. make: *** [: te_utils.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [: te_main.o] Error 1 make: *** [: te_subs.o] Error 1 * ERROR: app-editors/teco-36_p19940820::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-editors/teco-36_p19940820::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-editors/teco-36_p19940820::gentoo'`. * The complete build log is located at '/var/log/portage/app-editors:teco-36_p19940820:20221101-080243.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-editors/teco-36_p19940820/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-editors/teco-36_p19940820/temp/environment'. * Working directory: '/var/tmp/portage/app-editors/teco-36_p19940820/work' * S: '/var/tmp/portage/app-editors/teco-36_p19940820/work'