=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Building for xcal-4.1nb4
sh C_from_help.sh
sh C_from_ad.sh
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal.c
xcal.c:330:1: warning: return type of 'main' is not 'int' [-Wmain-return-type]
void
^
xcal.c:330:1: note: change return type to 'int'
void
^~~~
int
xcal.c:435:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(0);
        ^
xcal.c:435:2: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xcal.c:671:6: warning: implicit declaration of function 'strfdate' is invalid in C99 [-Wimplicit-function-declaration]
        if (strfdate(buf, len, fmt, da) == 0) {
            ^
xcal.c:683:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static          firsttime;
        ~~~~~~          ^
xcal.c:688:15: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types]
                (void) time(&ti);
                            ^~~
xcal.c:691:17: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types]
        tm = localtime(&ti);
                       ^~~
/usr/include/time.h:96:36: note: passing argument to parameter here
struct tm *localtime(const time_t *) __RENAME(__locatime50);
                                   ^
xcal.c:717:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        static          firsttime;
        ~~~~~~          ^
xcal.c:721:14: warning: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types]
        (void) time(&ti);
                    ^~~
xcal.c:722:17: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types]
        tm = localtime(&ti);
                       ^~~
/usr/include/time.h:96:36: note: passing argument to parameter here
struct tm *localtime(const time_t *) __RENAME(__locatime50);
                                   ^
9 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_alarm.c
xcal_alarm.c:94:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register        ct;
        ~~~~~~~~        ^
xcal_alarm.c:113:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (str = appResources.countdown) {
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
xcal_alarm.c:113:10: note: place parentheses around the assignment to silence this warning
        if (str = appResources.countdown) {
                ^
            (                           )
xcal_alarm.c:113:10: note: use '==' to turn this assignment into an equality comparison
        if (str = appResources.countdown) {
                ^
                ==
xcal_alarm.c:335:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
                exit(1);
                ^
xcal_alarm.c:335:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xcal_alarm.c:467:11: warning: enumeration value 'AllDone' not handled in switch [-Wswitch]
                switch (state) {
                        ^
xcal_alarm.c:626:17: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types]
        tm = localtime(&ti);
                       ^~~
/usr/include/time.h:96:36: note: passing argument to parameter here
struct tm *localtime(const time_t *) __RENAME(__locatime50);
                                   ^
xcal_alarm.c:653:6: warning: implicit declaration of function 'system' is invalid in C99 [-Wimplicit-function-declaration]
                                        system(cmd);
                                        ^
6 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_buts.c
xcal_buts.c:83:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (ap = LookActive(but)) {
            ~~~^~~~~~~~~~~~~~~~~
xcal_buts.c:83:9: note: place parentheses around the assignment to silence this warning
        if (ap = LookActive(but)) {
               ^
            (                   )
xcal_buts.c:83:9: note: use '==' to turn this assignment into an equality comparison
        if (ap = LookActive(but)) {
               ^
               ==
xcal_buts.c:99:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (ap = LookPopup(popup))
               ~~~^~~~~~~~~~~~~~~~~~
xcal_buts.c:99:12: note: place parentheses around the assignment to silence this warning
        while (ap = LookPopup(popup))
                  ^
               (                    )
xcal_buts.c:99:12: note: use '==' to turn this assignment into an equality comparison
        while (ap = LookPopup(popup))
                  ^
                  ==
xcal_buts.c:133:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (ap = LookActive(but)) {
            ~~~^~~~~~~~~~~~~~~~~
xcal_buts.c:133:9: note: place parentheses around the assignment to silence this warning
        if (ap = LookActive(but)) {
               ^
            (                   )
xcal_buts.c:133:9: note: use '==' to turn this assignment into an equality comparison
        if (ap = LookActive(but)) {
               ^
               ==
3 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_days.c
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_edit.c
xcal_edit.c:337:18: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
        register        i;
        ~~~~~~~~        ^
xcal_edit.c:1197:18: warning: too few arguments in call to 'NewMeWrap'
                mw = NewMeWrap();       /* shouldn`t happen */
                     ~~~~~~~~~ ^
2 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_help.c
xcal_help.c:177:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (he = findHelp(name))
                    ~~~^~~~~~~~~~~~~~~~
xcal_help.c:177:10: note: place parentheses around the assignment to silence this warning
                if (he = findHelp(name))
                       ^
                    (                  )
xcal_help.c:177:10: note: use '==' to turn this assignment into an equality comparison
                if (he = findHelp(name))
                       ^
                       ==
xcal_help.c:194:19: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration]
        if ((fd = open(appResources.helpfile, 0)) < 0)
                  ^
xcal_help.c:199:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                close(fd);
                ^
xcal_help.c:274:2: warning: implicit declaration of function 'HelpButtonOn' is invalid in C99 [-Wimplicit-function-declaration]
        HelpButtonOn((Widget) closure);
        ^
4 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_popup.c
xcal_popup.c:231:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (errstr = DateParse(XawDialogGetValueString(dia), &wanted)) {
            ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xcal_popup.c:231:13: note: place parentheses around the assignment to silence this warning
        if (errstr = DateParse(XawDialogGetValueString(dia), &wanted)) {
                   ^
            (                                                        )
xcal_popup.c:231:13: note: use '==' to turn this assignment into an equality comparison
        if (errstr = DateParse(XawDialogGetValueString(dia), &wanted)) {
                   ^
                   ==
xcal_popup.c:284:8: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration]
                mo = atoi(wk);
                     ^
2 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_strip.c
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c xcal_memo.c
xcal_memo.c:396:9: warning: & has lower precedence than <; < will be evaluated first [-Wparentheses]
        if (hh & hh < max)
               ^~~~~~~~~~
xcal_memo.c:396:9: note: place parentheses around the '<' expression to silence this warning
        if (hh & hh < max)
               ^
                 (       )
xcal_memo.c:396:9: note: place parentheses around the & expression to evaluate it first
        if (hh & hh < max)
               ^
            (      )
1 warning generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c strfdate.c
strfdate.c:99:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                                if (d->wday < 0 || d->wday > 6)
                                    ~~~~~~~ ^ ~
strfdate.c:105:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                                if (d->wday < 0 || d->wday > 6)
                                    ~~~~~~~ ^ ~
strfdate.c:111:18: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                                if (d->month < 0 || d->month > 11)
                                    ~~~~~~~~ ^ ~
strfdate.c:118:18: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
                                if (d->month < 0 || d->month > 11)
                                    ~~~~~~~~ ^ ~
strfdate.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
_conv(n, digits, pad)
^
strfdate.c:192:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
_add(str)
^
6 warnings generated.
cc -O      -I/usr/pkg/include -I /usr/X11R7/include       -DLONG_IS_32_BITS -DVER_VEC  -I/usr/X11R7/include -c version.c
bmake: don't know how to make /usr/pkg/lib/libXaw.a. Stop

bmake: stopped in /usr/pkgsrc/work/time/xcal/work/xcal41
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/time/xcal
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/time/xcal