* Package: x11-terms/kterm-6.2.0-r7:0 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking kterm-6.2.0.tar.gz to /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work >>> Unpacking kterm-6.2.0-wpi.patch.gz to /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work >>> Unpacking kterm-6.2.0.ext02.patch.gz to /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work >>> Source unpacked in /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work >>> Preparing source in /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work/kterm-6.2.0 ... * Applying kterm-6.2.0-wpi.patch ... [ ok ] * Applying kterm-6.2.0.ext02.patch ... patching file 0README.ext.ja patching file Imakefile Hunk #2 succeeded at 78 with fuzz 1 (offset 1 line). patching file KTerm.ad patching file VTPrsTbl.c patching file VTparse.def patching file VTparse.h patching file charproc.c Hunk #15 succeeded at 3592 (offset 5 lines). Hunk #16 succeeded at 3881 (offset 5 lines). Hunk #17 succeeded at 4457 (offset 39 lines). patching file convert.c patching file gset.c patching file gset.h patching file kanji_map.c patching file kanji_map.h patching file kfontlist.def patching file kfontlist.m4 patching file kterm.h patching file kterm.jman patching file kterm.man patching file main.c Hunk #1 succeeded at 717 (offset 7 lines). Hunk #2 succeeded at 867 (offset 10 lines). patching file menu.c patching file util.c Hunk #2 succeeded at 1341 (offset 144 lines). [ ok ] * Applying kterm-openpty.patch ... [ ok ] * Applying kterm-gentoo.patch ... [ ok ] * Applying kterm-ad-gentoo.patch ... [ ok ] * Applying kterm-underline.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work/kterm-6.2.0 ... imake -DUseInstalled -I/usr/lib/X11/config make Makefiles make: Nothing to be done for 'Makefiles'. make includes make: Nothing to be done for 'includes'. make depend gccmakedep -- -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -- button.c charproc.c cursor.c data.c input.c main.c menu.c misc.c screen.c scrollbar.c tabs.c util.c VTPrsTbl.c kanji_map.c gset.c convert.c xim.c kinput2.c convlib.c charproc.c:927:11: fatal error: kfontlist.c: No such file or directory 927 | # include "kfontlist.c" | ^~~~~~~~~~~~~ compilation terminated. >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-terms/kterm-6.2.0-r7/work/kterm-6.2.0 ... make -j4 CC=x86_64-gentoo-linux-musl-gcc 'CDEBUGFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'LOCAL_LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'TERMCAPLIB=-lncurses -ltinfo ' XAPPLOADDIR=/usr/share/X11/app-defaults x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -c -o button.o button.c m4 kfontlist.m4 > kfontlist.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -c -o cursor.o cursor.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -c -o data.o data.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -c -o input.o input.c button.c: In function 'SelectionReceived': button.c:373:13: warning: implicit declaration of function 'convCTtoCS'; did you mean 'convCStoJIS'? [-Wimplicit-function-declaration] 373 | n = convCTtoCS(ct, *length, NULL); | ^~~~~~~~~~ | convCStoJIS button.c:432:13: warning: implicit declaration of function 'v_write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 432 | v_write(pty, lag, cp - lag + 1); | ^~~~~~~ | fwrite button.c: In function 'StartSelect': button.c:571:13: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] 571 | HideCursor (); | ^~~~~~~~~~ | BadCursor button.c: In function 'EndExtend': button.c:636:25: warning: implicit declaration of function 'TrackText' [-Wimplicit-function-declaration] 636 | TrackText(0, 0, 0, 0); | ^~~~~~~~~ button.c: In function 'SelectSet': button.c:668:17: warning: implicit declaration of function 'DisownSelection'; did you mean 'XtDisownSelection'? [-Wimplicit-function-declaration] 668 | DisownSelection(term); | ^~~~~~~~~~~~~~~ | XtDisownSelection cursor.c: In function '_CheckSelection': cursor.c:47:9: warning: implicit declaration of function 'TrackText' [-Wimplicit-function-declaration] 47 | TrackText(0, 0, 0, 0); | ^~~~~~~~~ cursor.c: At top level: cursor.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] 58 | CursorSet(screen, row, col, flags) | ^~~~~~~~~ cursor.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] 81 | CursorBack(screen, n) | ^~~~~~~~~~ cursor.c:110:1: warning: return type defaults to 'int' [-Wimplicit-int] 110 | CursorForward(screen, n) | ^~~~~~~~~~~~~ button.c: At top level: cursor.c:125:1: warning: return type defaults to 'int' [-Wimplicit-int] 125 | CursorDown(screen, n) | ^~~~~~~~~~ button.c:778:1: warning: return type defaults to 'int' [-Wimplicit-int] 778 | ScrollSelection(screen, amount) | ^~~~~~~~~~~~~~~ cursor.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] 145 | CursorUp(screen, n) | ^~~~~~~~ cursor.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] 165 | Index(screen, amount) | ^~~~~ cursor.c: In function 'Index': cursor.c:178:17: warning: 'return' with no value, in function returning non-void 178 | return; | ^~~~~~ cursor.c:165:1: note: declared here 165 | Index(screen, amount) | ^~~~~ button.c:813:1: warning: return type defaults to 'int' [-Wimplicit-int] 813 | ResizeSelection (screen, rows, cols) | ^~~~~~~~~~~~~~~ button.c: In function 'PointToRowCol': button.c:843:18: warning: type defaults to 'int' in declaration of 'row' [-Wimplicit-int] 843 | register row, col; | ^~~ button.c:843:23: warning: type defaults to 'int' in declaration of 'col' [-Wimplicit-int] 843 | register row, col; | ^~~ cursor.c:182:9: warning: implicit declaration of function 'Scroll' [-Wimplicit-function-declaration] 182 | Scroll(screen, amount - j); | ^~~~~~ cursor.c: At top level: cursor.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] 189 | RevIndex(screen, amount) | ^~~~~~~~ cursor.c: In function 'RevIndex': cursor.c:200:17: warning: 'return' with no value, in function returning non-void 200 | return; | ^~~~~~ cursor.c:189:1: note: declared here 189 | RevIndex(screen, amount) | ^~~~~~~~ button.c: At top level: button.c:1255:1: warning: return type defaults to 'int' [-Wimplicit-int] 1255 | TrackText(frow, fcol, trow, tcol) | ^~~~~~~~~ button.c: In function 'TrackText': button.c:1268:57: warning: 'return' with no value, in function returning non-void 1268 | trow == old_endrow && tcol == old_endcol) return; | ^~~~~~ button.c:1255:1: note: declared here 1255 | TrackText(frow, fcol, trow, tcol) | ^~~~~~~~~ cursor.c:203:9: warning: implicit declaration of function 'RevScroll' [-Wimplicit-function-declaration] 203 | RevScroll(screen, amount - (screen->cur_row - screen->top_marg)); | ^~~~~~~~~ cursor.c: At top level: cursor.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] 210 | CarriageReturn(screen) | ^~~~~~~~~~~~~~ cursor.c:221:1: warning: return type defaults to 'int' [-Wimplicit-int] 221 | CursorSave(term, sc) | ^~~~~~~~~~ cursor.c:238:1: warning: return type defaults to 'int' [-Wimplicit-int] 238 | CursorRestore(term, sc) | ^~~~~~~~~~~~~ input.c: In function 'AdjustAfterInput': input.c:50:17: warning: implicit declaration of function 'WindowScroll' [-Wimplicit-function-declaration] 50 | WindowScroll(screen, 0); | ^~~~~~~~~~~~ input.c:56:33: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 56 | Bell(XkbBI_MarginBell,0); | ^~~~ | XBell input.c: At top level: input.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] 67 | Input (keyboard, screen, event, eightbit) | ^~~~~ button.c: In function 'ReHiliteText': button.c:1323:21: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] 1323 | ScrnRefresh(screen, frow, fcol, 1, i, True); | ^~~~~~~~~~~ button.c: In function 'SaltTextAway': button.c:1386:32: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 1386 | if((line = (Ichr *)malloc((unsigned)((j + 1) * sizeof(Ichr)))) == (Ichr *)NULL) | ^~~~~~ button.c:43:1: note: include '' or provide a declaration of 'malloc' 42 | #include "menu.h" +++ |+#include 43 | button.c:1386:32: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 1386 | if((line = (Ichr *)malloc((unsigned)((j + 1) * sizeof(Ichr)))) == (Ichr *)NULL) | ^~~~~~ button.c:1386:32: note: include '' or provide a declaration of 'malloc' rm -f main.o button.c:1387:17: warning: implicit declaration of function 'SysError' [-Wimplicit-function-declaration] 1387 | SysError(ERROR_BMALLOC2); | ^~~~~~~~ input.c: In function 'Input': input.c:94:22: warning: implicit declaration of function 'XmuLookupKana'; did you mean 'XLookupNone'? [-Wimplicit-function-declaration] 94 | nbytes = XmuLookupKana (event, strbuf, STRBUFSIZE, | ^~~~~~~~~~~~~ | XLookupNone x86_64-gentoo-linux-musl-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -DUTMP -DUSE_TTY_GROUP -DOSMAJORVERSION=6 -DOSMINORVERSION=1 main.c button.c: In function 'ConvertSelection': button.c:1486:23: warning: implicit declaration of function 'convCStoCT' [-Wimplicit-function-declaration] 1486 | *length = convCStoCT(xterm->screen.selection, NULL); | ^~~~~~~~~~ input.c:124:17: warning: implicit declaration of function 'unparseseq' [-Wimplicit-function-declaration] 124 | unparseseq(&reply, pty); | ^~~~~~~~~~ button.c:1491:23: warning: implicit declaration of function 'convCStoLatin1' [-Wimplicit-function-declaration] 1491 | *length = convCStoLatin1(xterm->screen.selection, NULL); | ^~~~~~~~~~~~~~ input.c:125:17: warning: implicit declaration of function 'unparseputc' [-Wimplicit-function-declaration] 125 | unparseputc((char)(keysym-XK_KP_F1+'P'), pty); | ^~~~~~~~~~~ button.c: At top level: input.c:229:9: warning: 'return' with no value, in function returning non-void 229 | return; | ^~~~~~ input.c:67:1: note: declared here 67 | Input (keyboard, screen, event, eightbit) | ^~~~~ input.c: At top level: input.c:232:1: warning: return type defaults to 'int' [-Wimplicit-int] 232 | StringInput (screen, string, nbytes) | ^~~~~~~~~~~ button.c:1690:1: warning: return type defaults to 'int' [-Wimplicit-int] 1690 | DisownSelection(termw) | ^~~~~~~~~~~~~~~ button.c: In function 'SaveText': button.c:1765:20: warning: implicit declaration of function 'ScrnGetAttributes' [-Wimplicit-function-declaration] 1765 | if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) { | ^~~~~~~~~~~~~~~~~ main.c:1166:27: warning: initialization of 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1166 | Pixmap BackgroundPixmap = NULL; | ^~~~ main.c:1167:33: warning: initialization of 'Pixmap' {aka 'long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion] 1167 | Pixmap BackgroundPixmap_shape = NULL; | ^~~~ main.c:1241:1: warning: return type defaults to 'int' [-Wimplicit-int] 1241 | main (argc, argv) | ^~~~ main.c: In function 'main': main.c:1279:14: error: invalid use of undefined type 'struct termio' 1279 | d_tio.c_iflag = ICRNL|IXON; | ^ main.c:1280:14: error: invalid use of undefined type 'struct termio' 1280 | d_tio.c_oflag = OPOST|ONLCR|TAB3; | ^ main.c:1327:14: error: invalid use of undefined type 'struct termio' 1327 | d_tio.c_cflag = B9600|CS8|CREAD|PARENB|HUPCL; | ^ main.c:1329:14: error: invalid use of undefined type 'struct termio' 1329 | d_tio.c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK; | ^ main.c:1331:14: error: invalid use of undefined type 'struct termio' 1331 | d_tio.c_lflag |= ECHOKE|IEXTEN; | ^ main.c:1334:14: error: invalid use of undefined type 'struct termio' 1334 | d_tio.c_lflag |= ECHOCTL|IEXTEN; | ^ main.c:1339:14: error: invalid use of undefined type 'struct termio' 1339 | d_tio.c_line = 0; | ^ main.c:1345:14: error: invalid use of undefined type 'struct termio' 1345 | d_tio.c_cc[VINTR] = 'C' & 0x3f; /* '^C' */ | ^ main.c:1346:14: error: invalid use of undefined type 'struct termio' 1346 | d_tio.c_cc[VERASE] = 0x7f; /* DEL */ | ^ main.c:1347:14: error: invalid use of undefined type 'struct termio' 1347 | d_tio.c_cc[VKILL] = 'U' & 0x3f; /* '^U' */ | ^ main.c:1348:14: error: invalid use of undefined type 'struct termio' 1348 | d_tio.c_cc[VQUIT] = CQUIT; /* '^\' */ | ^ main.c:1349:14: error: invalid use of undefined type 'struct termio' 1349 | d_tio.c_cc[VEOF] = CEOF; /* '^D' */ | ^ main.c:1350:14: error: invalid use of undefined type 'struct termio' 1350 | d_tio.c_cc[VEOL] = CEOL; /* '^@' */ | ^ main.c:1355:14: error: invalid use of undefined type 'struct termio' 1355 | d_tio.c_cc[VLNEXT] = CLNEXT; | ^ main.c:1358:14: error: invalid use of undefined type 'struct termio' 1358 | d_tio.c_cc[VWERASE] = CWERASE; | ^ main.c:1361:14: error: invalid use of undefined type 'struct termio' 1361 | d_tio.c_cc[VREPRINT] = CRPRNT; | ^ main.c:1367:14: error: invalid use of undefined type 'struct termio' 1367 | d_tio.c_cc[VDISCARD] = CFLUSH; | ^ main.c:1373:14: error: invalid use of undefined type 'struct termio' 1373 | d_tio.c_cc[VSTOP] = CSTOP; | ^ main.c:1376:14: error: invalid use of undefined type 'struct termio' 1376 | d_tio.c_cc[VSTART] = CSTART; | ^ main.c:1379:14: error: invalid use of undefined type 'struct termio' 1379 | d_tio.c_cc[VSUSP] = CSUSP; | ^ main.c:1389:31: error: storage size of 'deftio' isn't known 1389 | struct termio deftio; | ^~~~~~ main.c:1391:26: error: invalid use of undefined type 'struct termio' 1391 | d_tio.c_cc[VINTR] = deftio.c_cc[VINTR]; | ^ main.c:1392:26: error: invalid use of undefined type 'struct termio' 1392 | d_tio.c_cc[VQUIT] = deftio.c_cc[VQUIT]; | ^ main.c:1393:26: error: invalid use of undefined type 'struct termio' 1393 | d_tio.c_cc[VERASE] = deftio.c_cc[VERASE]; | ^ main.c:1394:26: error: invalid use of undefined type 'struct termio' 1394 | d_tio.c_cc[VKILL] = deftio.c_cc[VKILL]; | ^ main.c:1395:26: error: invalid use of undefined type 'struct termio' 1395 | d_tio.c_cc[VEOF] = deftio.c_cc[VEOF]; | ^ main.c:1396:26: error: invalid use of undefined type 'struct termio' 1396 | d_tio.c_cc[VEOL] = deftio.c_cc[VEOL]; | ^ main.c:1401:26: error: invalid use of undefined type 'struct termio' 1401 | d_tio.c_cc[VEOL2] = deftio.c_cc[VEOL2]; | ^ main.c:1404:26: error: invalid use of undefined type 'struct termio' 1404 | d_tio.c_cc[VLNEXT] = deftio.c_cc[VLNEXT]; | ^ main.c:1407:26: error: invalid use of undefined type 'struct termio' 1407 | d_tio.c_cc[VWERASE] = deftio.c_cc[VWERASE]; | ^ main.c:1410:26: error: invalid use of undefined type 'struct termio' 1410 | d_tio.c_cc[VREPRINT] = deftio.c_cc[VREPRINT]; | ^ main.c:1416:26: error: invalid use of undefined type 'struct termio' 1416 | d_tio.c_cc[VDISCARD] = deftio.c_cc[VDISCARD]; | ^ main.c:1422:26: error: invalid use of undefined type 'struct termio' 1422 | d_tio.c_cc[VSTOP] = deftio.c_cc[VSTOP]; | ^ main.c:1425:26: error: invalid use of undefined type 'struct termio' 1425 | d_tio.c_cc[VSTART] = deftio.c_cc[VSTART]; | ^ main.c:1428:26: error: invalid use of undefined type 'struct termio' 1428 | d_tio.c_cc[VSUSP] = deftio.c_cc[VSUSP]; | ^ main.c:1460:27: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] 1460 | XtSetErrorHandler(xt_error); | ^~~~~~~~ In file included from /usr/include/X11/IntrinsicP.h:51, from ptyx.h:35, from main.c:71: /usr/include/X11/Intrinsic.h:1775:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' 1775 | XtErrorHandler /* handler */ _X_NORETURN | ^ main.c:1726:9: warning: implicit declaration of function 'get_terminal' [-Wimplicit-function-declaration] 1726 | get_terminal (); | ^~~~~~~~~~~~ main.c:1727:9: warning: implicit declaration of function 'spawn' [-Wimplicit-function-declaration] 1727 | spawn (); | ^~~~~ main.c:1776:17: warning: implicit declaration of function 'Error'; did you mean 'xerror'? [-Wimplicit-function-declaration] 1776 | Error(); | ^~~~~ | xerror main.c:1828:41: warning: comparison between pointer and integer 1828 | if(BackgroundPixmap_shape != NULL) | ^~ main.c:1846:25: warning: implicit declaration of function 'VTRun' [-Wimplicit-function-declaration] 1846 | VTRun(); | ^~~~~ main.c: At top level: main.c:1866:1: warning: return type defaults to 'int' [-Wimplicit-int] 1866 | get_pty (pty) | ^~~~~~~ main.c: In function 'get_pty': main.c:1967:16: warning: implicit declaration of function 'pty_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 1967 | return pty_search(pty); | ^~~~~~~~~~ | bsearch main.c: At top level: main.c:2034:1: warning: return type defaults to 'int' [-Wimplicit-int] 2034 | get_terminal () | ^~~~~~~~~~~~ main.c:2185:1: warning: return type defaults to 'int' [-Wimplicit-int] 2185 | spawn () | ^~~~~ main.c: In function 'spawn': main.c:2203:23: error: storage size of 'tio' isn't known 2203 | struct termio tio; | ^~~ main.c:2204:23: error: storage size of 'dummy_tio' isn't known 2204 | struct termio dummy_tio; | ^~~~~~~~~ main.c:2319:39: error: 'd_tio' has an incomplete type 'struct termio' 2319 | tio = d_tio; | ^~~~~ main.c:2330:29: warning: implicit declaration of function 'SysError'; did you mean 'HsSysError'? [-Wimplicit-function-declaration] 2330 | SysError(ERROR_OPDEVTTY); | ^~~~~~~~ | HsSysError main.c:2349:39: error: 'd_tio' has an incomplete type 'struct termio' 2349 | tio = d_tio; | ^~~~~ main.c:2410:13: warning: implicit declaration of function 'VTInit' [-Wimplicit-function-declaration] 2410 | VTInit(); /* realize now so know window size for tty driver */ | ^~~~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER -c -o menu.o menu.c main.c:2444:17: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] 2444 | if (tgetent (ptr, resource.term_name) == 1) { | ^~~~~~~ | getenv main.c:2449:21: warning: implicit declaration of function 'resize' [-Wimplicit-function-declaration] 2449 | resize (screen, TermName, termcap, newtc); | ^~~~~~ main.c:3022:17: warning: implicit declaration of function 'Setenv'; did you mean 'setenv'? [-Wimplicit-function-declaration] 3022 | Setenv ("TERM=", TermName); | ^~~~~~ | setenv main.c:3273:19: warning: implicit declaration of function 'initgroups' [-Wimplicit-function-declaration] 3273 | initgroups (pw->pw_name, pw->pw_gid); | ^~~~~~~~~~ In file included from main.c:2702: /usr/include/grp.h:46:5: note: previous declaration of 'initgroups' with type 'int(const char *, gid_t)' {aka 'int(const char *, unsigned int)'} 46 | int initgroups(const char *, gid_t); | ^~~~~~~~~~ rm -f misc.o x86_64-gentoo-linux-musl-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -Dlinux -D__amd64__ -D_POSIX_SOURCE -D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE -DFUNCPROTO=15 -DNARROWPROTO -DKTERM -DSTATUSLINE -DKEEPALIVE -DWALLPAPER misc.c main.c:3344:21: warning: implicit declaration of function 'remove_termcap_entry' [-Wimplicit-function-declaration] 3344 | remove_termcap_entry (newtc, ":ti="); | ^~~~~~~~~~~~~~~~~~~~ main.c:3430:25: warning: missing sentinel in function call [-Wformat=] 3430 | 0); | ^ main.c: At top level: main.c:3689:1: warning: return type defaults to 'int' [-Wimplicit-int] 3689 | resize(screen, TermName, oldtc, newtc) | ^~~~~~ main.c: In function 'reapchild': main.c:3777:13: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] 3777 | Cleanup (0); | ^~~~~~~ | SmsCleanUp main.c: At top level: main.c:3785:1: warning: return type defaults to 'int' [-Wimplicit-int] 3785 | consolepr(fmt,x0,x1,x2,x3,x4,x5,x6,x7,x8,x9) | ^~~~~~~~~ main.c: In function 'consolepr': main.c:3785:1: warning: type of 'x0' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x3' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x4' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x5' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x6' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x7' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x8' defaults to 'int' [-Wimplicit-int] main.c:3785:1: warning: type of 'x9' defaults to 'int' [-Wimplicit-int] main.c: At top level: main.c:3811:1: warning: return type defaults to 'int' [-Wimplicit-int] 3811 | remove_termcap_entry (buf, str) | ^~~~~~~~~~~~~~~~~~~~ menu.c: In function 'domenu': menu.c:207:9: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 207 | Bell(XkbBI_MinorError,0); | ^~~~ | XBell main.c:411:22: error: storage size of 'd_tio' isn't known 411 | static struct termio d_tio; | ^~~~~ menu.c: In function 'do_securekbd': menu.c:433:9: warning: implicit declaration of function 'ReverseVideo'; did you mean 'XtCReverseVideo'? [-Wimplicit-function-declaration] 433 | ReverseVideo (term); | ^~~~~~~~~~~~ | XtCReverseVideo menu.c: In function 'do_redraw': menu.c:489:5: warning: implicit declaration of function 'Redraw'; did you mean 'do_redraw'? [-Wimplicit-function-declaration] 489 | Redraw (); | ^~~~~~ | do_redraw menu.c: In function 'do_quit': menu.c:555:5: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] 555 | Cleanup (0); | ^~~~~~~ | SmsCleanUp make: *** [Makefile:1070: main.o] Error 1 shuffle=2290945145 make: *** Waiting for unfinished jobs.... menu.c: In function 'do_scrollbar': menu.c:571:9: warning: implicit declaration of function 'ScrollBarOff' [-Wimplicit-function-declaration] 571 | ScrollBarOff (screen); | ^~~~~~~~~~~~ menu.c:573:9: warning: implicit declaration of function 'ScrollBarOn' [-Wimplicit-function-declaration] 573 | ScrollBarOn (term, FALSE, FALSE); | ^~~~~~~~~~~ menu.c: In function 'do_jumpscroll': menu.c:588:33: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 588 | if (screen->scroll_amt) FlushScroll(screen); | ^~~~~~~~~~~ misc.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] 64 | xevents() | ^~~~~~~ menu.c: In function 'do_softreset': menu.c:752:5: warning: implicit declaration of function 'VTReset' [-Wimplicit-function-declaration] 752 | VTReset (FALSE); | ^~~~~~~ misc.c: In function 'xevents': misc.c:74:17: warning: implicit declaration of function 'FlushScroll' [-Wimplicit-function-declaration] 74 | FlushScroll(screen); | ^~~~~~~~~~~ misc.c:92:13: warning: 'return' with no value, in function returning non-void 92 | return; | ^~~~~~ misc.c:64:1: note: declared here 64 | xevents() | ^~~~~~~ misc.c:96:25: warning: 'return' with no value, in function returning non-void 96 | return; | ^~~~~~ misc.c:64:1: note: declared here 64 | xevents() | ^~~~~~~ menu.c: In function 'do_clearsavedlines': menu.c:771:5: warning: implicit declaration of function 'ScrollBarDrawThumb' [-Wimplicit-function-declaration] 771 | ScrollBarDrawThumb(screen->scrollWidget); | ^~~~~~~~~~~~~~~~~~ misc.c: In function 'make_colored_cursor': misc.c:156:9: warning: implicit declaration of function 'recolor_cursor'; did you mean 'XRecolorCursor'? [-Wimplicit-function-declaration] 156 | recolor_cursor (c, fg, bg); | ^~~~~~~~~~~~~~ | XRecolorCursor menu.c: In function 'do_statusline': misc.c: In function 'HandleKeyPressed': menu.c:803:9: warning: implicit declaration of function 'HideStatus' [-Wimplicit-function-declaration] 803 | HideStatus(); | ^~~~~~~~~~ misc.c:172:9: warning: implicit declaration of function 'Input' [-Wimplicit-function-declaration] 172 | Input (&term->keyboard, screen, &event->xkey, False); | ^~~~~ menu.c:805:9: warning: implicit declaration of function 'ShowStatus' [-Wimplicit-function-declaration] 805 | ShowStatus(); | ^~~~~~~~~~ misc.c: In function 'HandleStringEvent': misc.c:225:13: warning: implicit declaration of function 'StringInput' [-Wimplicit-function-declaration] 225 | StringInput (screen, hexval, 1); | ^~~~~~~~~~~ menu.c: In function 'do_reversestatus': menu.c:820:5: warning: implicit declaration of function 'ScrnRefresh' [-Wimplicit-function-declaration] 820 | ScrnRefresh(screen, screen->max_row+1, 0, 1, screen->max_col+1, False); | ^~~~~~~~~~~ misc.c: In function 'DoSpecialEnterNotify': misc.c:248:9: warning: implicit declaration of function 'selectwindow' [-Wimplicit-function-declaration] 248 | selectwindow(screen, INWINDOW); | ^~~~~~~~~~~~ menu.c: In function 'do_vtfont': menu.c:920:13: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] 920 | SetVTFont (i, True, NULL, NULL); | ^~~~~~~~~ | XSetFont misc.c: In function 'DoSpecialLeaveNotify': misc.c:277:9: warning: implicit declaration of function 'unselectwindow' [-Wimplicit-function-declaration] 277 | unselectwindow(screen, INWINDOW); | ^~~~~~~~~~~~~~ misc.c: In function 'HandleFocusChange': misc.c:308:21: warning: implicit declaration of function 'Bell'; did you mean 'XBell'? [-Wimplicit-function-declaration] 308 | Bell(XkbBI_Info, 100); | ^~~~ | XBell misc.c:309:21: warning: implicit declaration of function 'ReverseVideo'; did you mean 'HandleReverseVideo'? [-Wimplicit-function-declaration] 309 | ReverseVideo(term); | ^~~~~~~~~~~~ | HandleReverseVideo misc.c: At top level: misc.c:318:1: warning: return type defaults to 'int' [-Wimplicit-int] 318 | selectwindow(screen, flag) | ^~~~~~~~~~~~ misc.c: In function 'selectwindow': misc.c:338:21: warning: implicit declaration of function 'HideCursor'; did you mean 'BadCursor'? [-Wimplicit-function-declaration] 338 | HideCursor(); | ^~~~~~~~~~ | BadCursor misc.c:341:25: warning: implicit declaration of function 'ShowCursor'; did you mean 'CWCursor'? [-Wimplicit-function-declaration] 341 | ShowCursor(); | ^~~~~~~~~~ | CWCursor misc.c:342:17: warning: 'return' with no value, in function returning non-void 342 | return; | ^~~~~~ misc.c:318:1: note: declared here 318 | selectwindow(screen, flag) | ^~~~~~~~~~~~ misc.c: At top level: misc.c:348:1: warning: return type defaults to 'int' [-Wimplicit-int] 348 | unselectwindow(screen, flag) | ^~~~~~~~~~~~~~ misc.c: In function 'unselectwindow': misc.c:352:35: warning: 'return' with no value, in function returning non-void 352 | if (screen->always_highlight) return; | ^~~~~~ misc.c:348:1: note: declared here 348 | unselectwindow(screen, flag) | ^~~~~~~~~~~~~~ misc.c: At top level: misc.c:377:1: warning: return type defaults to 'int' [-Wimplicit-int] 377 | Bell(which,percent) | ^~~~ misc.c: In function 'Bell': misc.c:401:17: warning: 'return' with no value, in function returning non-void 401 | return; | ^~~~~~ misc.c:377:1: note: declared here 377 | Bell(which,percent) | ^~~~ misc.c:408:13: warning: 'return' with no value, in function returning non-void 408 | return; | ^~~~~~ misc.c:377:1: note: declared here 377 | Bell(which,percent) | ^~~~ misc.c:414:9: warning: implicit declaration of function 'VisualBell' [-Wimplicit-function-declaration] 414 | VisualBell(); | ^~~~~~~~~~ misc.c: At top level: misc.c:439:1: warning: return type defaults to 'int' [-Wimplicit-int] 439 | VisualBell() | ^~~~~~~~~~ misc.c:503:1: warning: return type defaults to 'int' [-Wimplicit-int] 503 | Redraw() | ^~~~~~ misc.c:759:1: warning: return type defaults to 'int' [-Wimplicit-int] 759 | do_osc(func) | ^~~~~~ misc.c: In function 'do_osc': misc.c:784:17: warning: implicit declaration of function 'Changename' [-Wimplicit-function-declaration] 784 | Changename(buf); | ^~~~~~~~~~ misc.c:785:17: warning: implicit declaration of function 'Changetitle' [-Wimplicit-function-declaration] 785 | Changetitle(buf); | ^~~~~~~~~~~ misc.c:817:17: warning: implicit declaration of function 'SetVTFont'; did you mean 'XSetFont'? [-Wimplicit-function-declaration] 817 | SetVTFont (fontMenu_fontescape, True, buf, NULL); | ^~~~~~~~~ | XSetFont misc.c: At top level: misc.c:827:8: warning: return type defaults to 'int' [-Wimplicit-int] 827 | static ChangeGroup(attribute, value) | ^~~~~~~~~~~ misc.c:838:1: warning: return type defaults to 'int' [-Wimplicit-int] 838 | Changename(name) | ^~~~~~~~~~ misc.c:844:1: warning: return type defaults to 'int' [-Wimplicit-int] 844 | Changetitle(name) | ^~~~~~~~~~~ misc.c:853:1: warning: return type defaults to 'int' [-Wimplicit-int] 853 | Panic(s, a) | ^~~~~ misc.c:875:1: warning: return type defaults to 'int' [-Wimplicit-int] 875 | SysError (i) | ^~~~~~~~ misc.c: In function 'SysError': misc.c:884:9: warning: implicit declaration of function 'Cleanup'; did you mean 'SmsCleanUp'? [-Wimplicit-function-declaration] 884 | Cleanup(i); | ^~~~~~~ | SmsCleanUp misc.c: At top level: misc.c:887:1: warning: return type defaults to 'int' [-Wimplicit-int] 887 | Error (i) | ^~~~~ misc.c:898:1: warning: return type defaults to 'int' [-Wimplicit-int] 898 | Cleanup (code) | ^~~~~~~ misc.c: In function 'Cleanup': misc.c:908:9: warning: implicit declaration of function 'Exit'; did you mean 'exit'? [-Wimplicit-function-declaration] 908 | Exit (code); | ^~~~ | exit misc.c: At top level: misc.c:918:1: warning: return type defaults to 'int' [-Wimplicit-int] 918 | Setenv (var, value) | ^~~~~~ misc.c: In function 'Setenv': misc.c:931:17: warning: 'return' with no value, in function returning non-void 931 | return; | ^~~~~~ misc.c:918:1: note: declared here 918 | Setenv (var, value) | ^~~~~~ misc.c: At top level: misc.c:965:1: warning: return type defaults to 'int' [-Wimplicit-int] 965 | xerror(d, ev) | ^~~~~~ misc.c:975:1: warning: return type defaults to 'int' [-Wimplicit-int] 975 | xioerror(dpy) | ^~~~~~~~ misc.c:995:1: warning: return type defaults to 'int' [-Wimplicit-int] 995 | XStrCmp(s1, s2) | ^~~~~~~ * ERROR: x11-terms/kterm-6.2.0-r7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-terms/kterm-6.2.0-r7::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-terms/kterm-6.2.0-r7::gentoo'`. * The complete build log is located at '/var/log/portage/x11-terms:kterm-6.2.0-r7:20230101-125139.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-terms/kterm-6.2.0-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-terms/kterm-6.2.0-r7/temp/environment'. * Working directory: '/var/tmp/portage/x11-terms/kterm-6.2.0-r7/work/kterm-6.2.0' * S: '/var/tmp/portage/x11-terms/kterm-6.2.0-r7/work/kterm-6.2.0'