=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for kterm-6.2.0nb23
--- button.o ---
--- kfontlist.c ---
--- button.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -DKTERM -DSTATUSLINE -DKEEPALIVE  -I/usr/pkg/include -c button.c
--- kfontlist.c ---
m4 kfontlist.m4 > kfontlist.c
--- cursor.o ---
gcc -O2 -fno-strict-aliasing      -I/usr/pkg/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -DKTERM -DSTATUSLINE -DKEEPALIVE  -I/usr/pkg/include -c cursor.c
--- button.o ---
button.c:44:14: warning: incompatible redeclaration of library function 'malloc'
extern char *malloc();
             ^
button.c:44:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
button.c:389:6: warning: implicit declaration of function 'check_ctext_kterm' is invalid in C99 [-Wimplicit-function-declaration]
        if (check_ctext_kterm((char*)value, *length)) {
            ^
button.c:426:9: warning: implicit declaration of function 'convCTtoCS' is invalid in C99 [-Wimplicit-function-declaration]
    n = convCTtoCS(ct, len, NULL);
        ^
button.c:456:9: warning: implicit declaration of function 'convUTF8toCS' is invalid in C99 [-Wimplicit-function-declaration]
    n = convUTF8toCS(ut, len, NULL);
        ^
button.c:554:6: warning: implicit declaration of function 'v_write' is invalid in C99 [-Wimplicit-function-declaration]
            v_write(pty, lag, cp - lag + 1);
            ^
button.c:687:6: warning: implicit declaration of function 'HideCursor' is invalid in C99 [-Wimplicit-function-declaration]
            HideCursor ();
            ^
button.c:752:4: warning: implicit declaration of function 'TrackText' is invalid in C99 [-Wimplicit-function-declaration]
                        TrackText(0, 0, 0, 0);
                        ^
button.c:784:3: warning: implicit declaration of function 'DisownSelection' is invalid in C99 [-Wimplicit-function-declaration]
                DisownSelection(term);
                ^
button.c:894:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ScrollSelection(screen, amount)
^~~~~~~~~~~~~~~
button.c:925:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
button.c:929:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ResizeSelection (screen, rows, cols)
^~~~~~~~~~~~~~~
button.c:947:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
button.c:959:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register row, col;
        ~~~~~~~~ ^
button.c:959:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register row, col;
        ~~~~~~~~      ^
button.c:1334:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a)
                    ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
button.c:1334:18: note: place parentheses around the '&&' expression to silence this warning
                if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a)
                               ^
                    (                       )
button.c:1334:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a)
                                             ~~ ~~~~~~~~~~~^~~~~~~~~~~~~
button.c:1334:46: note: place parentheses around the '&&' expression to silence this warning
                if (0x41 <= c2 && c2 <= 0x5a || 0x61 <= c2 && c2 <= 0x7a)
                                                           ^
                                                (                       )
button.c:1346:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58)
                    ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
button.c:1346:18: note: place parentheses around the '&&' expression to silence this warning
                if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58)
                               ^
                    (                       )
button.c:1346:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58)
                                             ~~ ~~~~~~~~~~~^~~~~~~~~~~~~
button.c:1346:46: note: place parentheses around the '&&' expression to silence this warning
                if (0x21 <= c2 && c2 <= 0x38 || 0x41 <= c2 && c2 <= 0x58)
                                                           ^
                                                (                       )
button.c:1350:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71)
                    ~~~~~~~~~~~^~~~~~~~~~~~~ ~~
button.c:1350:18: note: place parentheses around the '&&' expression to silence this warning
                if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71)
                               ^
                    (                       )
button.c:1350:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71)
                                             ~~ ~~~~~~~~~~~^~~~~~~~~~~~~
button.c:1350:46: note: place parentheses around the '&&' expression to silence this warning
                if (0x21 <= c2 && c2 <= 0x41 || 0x51 <= c2 && c2 <= 0x71)
                                                           ^
                                                (                       )
button.c:1358:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
button.c:1358:46: note: place parentheses around the '&&' expression to silence this warning
                if (0x30 <= c1 && c1 <= 0x4e && 0x21 <= c2 && c2 <= 0x7e
                                                           ^
                    (                                                   )
button.c:1359:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                        || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */
                        ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
button.c:1359:18: note: place parentheses around the '&&' expression to silence this warning
                        || c1 == 0x4f && (0x21 <= c2 || c2 <= 0x53)) /* dai_1_suijun */
                                      ^
                           (                                       )
button.c:1361:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
button.c:1361:46: note: place parentheses around the '&&' expression to silence this warning
                if (0x50 <= c1 && c1 <= 0x73 && 0x21 <= c2 && c2 <= 0x7e
                                                           ^
                    (                                                   )
button.c:1362:18: warning: '&&' within '||' [-Wlogical-op-parentheses]
                        || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */
                        ~~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
button.c:1362:18: note: place parentheses around the '&&' expression to silence this warning
                        || c1 == 0x74 && (0x21 <= c2 || c2 <= 0x24)) /* dai_2_suijun */
                                      ^
                           (                                       )
button.c:1371:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
TrackText(frow, fcol, trow, tcol)
^~~~~~~~~
button.c:1384:50: error: non-void function 'TrackText' should return a value [-Wreturn-type]
            trow == old_endrow   && tcol == old_endcol) return;
                                                        ^
button.c:1439:7: warning: implicit declaration of function 'ScrnRefresh' is invalid in C99 [-Wimplicit-function-declaration]
                    ScrnRefresh(screen, frow, fcol, 1, i, True);
                    ^
button.c:1503:3: warning: implicit declaration of function 'SysError' is invalid in C99 [-Wimplicit-function-declaration]
                SysError(ERROR_BMALLOC2);
                ^
button.c:1603:16: warning: implicit declaration of function 'pasteCStoUTF8' is invalid in C99 [-Wimplicit-function-declaration]
            *length = pasteCStoUTF8(xterm->screen.selection, NULL);
                      ^
button.c:1608:16: warning: implicit declaration of function 'convCStoCT' is invalid in C99 [-Wimplicit-function-declaration]
            *length = convCStoCT(xterm->screen.selection, NULL);
                      ^
button.c:1613:16: warning: implicit declaration of function 'convCStoLatin1' is invalid in C99 [-Wimplicit-function-declaration]
            *length = convCStoLatin1(xterm->screen.selection, NULL);
                      ^
button.c:1812:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
DisownSelection(termw)
^~~~~~~~~~~~~~~
button.c:1887:6: warning: implicit declaration of function 'ScrnGetAttributes' is invalid in C99 [-Wimplicit-function-declaration]
                if(ScrnGetAttributes(screen, row + screen->topline, 0, &attr, 1) == 1) {
                   ^
button.c:1901:28: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if (c < ' ' || c == 0x7f && !(g & CS96)) {
                            ~~ ~~~~~~~~~~^~~~~~~~~~~~~~
button.c:1901:28: note: place parentheses around the '&&' expression to silence this warning
                if (c < ' ' || c == 0x7f && !(g & CS96)) {
                                         ^
                               (                       )
33 warnings and 1 error generated.
*** [button.o] Error code 1

make: stopped in /scratch/x11/kterm/work/kterm-6.2.0
--- cursor.o ---
cursor.c:47:2: warning: implicit declaration of function 'TrackText' is invalid in C99 [-Wimplicit-function-declaration]
        TrackText(0, 0, 0, 0);
        ^
cursor.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorSet(screen, row, col, flags)
^~~~~~~~~
cursor.c:76:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cursor.c:81:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorBack(screen, n)
^~~~~~~~~~
cursor.c:105:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cursor.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorForward(screen, n)
^~~~~~~~~~~~~
cursor.c:119:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cursor.c:125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorDown(screen, n)
^~~~~~~~~~
cursor.c:139:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cursor.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorUp(screen, n)
^~~~~~~~
cursor.c:159:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cursor.c:165:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
Index(screen, amount)
^~~~~
cursor.c:178:3: error: non-void function 'Index' should return a value [-Wreturn-type]
                return;
                ^
cursor.c:182:2: warning: implicit declaration of function 'Scroll' is invalid in C99 [-Wimplicit-function-declaration]
        Scroll(screen, amount - j);
        ^
cursor.c:189:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
RevIndex(screen, amount)
^~~~~~~~
cursor.c:200:3: error: non-void function 'RevIndex' should return a value [-Wreturn-type]
                return;
                ^
cursor.c:203:2: warning: implicit declaration of function 'RevScroll' is invalid in C99 [-Wimplicit-function-declaration]
        RevScroll(screen, amount - (screen->cur_row - screen->top_marg));
        ^
cursor.c:210:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CarriageReturn(screen)
^~~~~~~~~~~~~~
cursor.c:221:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorSave(term, sc)
^~~~~~~~~~
cursor.c:238:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
CursorRestore(term, sc)
^~~~~~~~~~~~~
18 warnings and 2 errors generated.
*** [cursor.o] Error code 1

make: stopped in /scratch/x11/kterm/work/kterm-6.2.0
2 errors

make: stopped in /scratch/x11/kterm/work/kterm-6.2.0
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/x11/kterm
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/x11/kterm
