===> Building for mm-0.96.0.14
/opt/pkg/bin/bmake    LIBTERM=-ltermcap  OS='-Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF'  all
m4 cmfnc.h4 | awk -f split.awk
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c ccmd.c
ccmd.c:653:5: warning: add explicit braces to avoid dangling else [-Wdangling-else]
    else                        /* confirm char no longer breaks */
    ^
ccmd.c:1067:8: warning: add explicit braces to avoid dangling else [-Wdangling-else]
              else if (cstlen > 0 && !xstrncmp(cmcsb._cmptr,CST,cstlen)) {
              ^
2 warnings generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c ccmdio.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c ccmdmd.c
ccmdmd.c:914:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ccmdmd.c:965:27: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGINT,(Sigval)sighand); /* install our handler, get prior */
                          ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:965:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGINT,(Sigval)sighand); /* install our handler, get prior */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:967:19: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGINT,oldhand);             /* yup, leave it there */
                  ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:969:28: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGTSTP,(Sigval)sighand);    /* install ours for TSTP too */
                           ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:969:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGTSTP,(Sigval)sighand);    /* install ours for TSTP too */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:971:20: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGTSTP,oldhand);            /* but leave theirs intact */
                   ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:975:29: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGWINCH,(Sigval)sighand);   /* install ours for TSTP too */
                            ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:975:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGWINCH,(Sigval)sighand);   /* install ours for TSTP too */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:977:21: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGWINCH,oldhand);           /* but leave theirs intact */
                    ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:996:27: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGINT,(Sigval)SIG_DFL);     /* remove INT handler */
                          ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:996:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGINT,(Sigval)SIG_DFL);     /* remove INT handler */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:998:19: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGINT,oldhand);             /* replace if not ours */
                  ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:1000:28: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGTSTP,(Sigval)SIG_DFL);    /* remove TSTP handler */
                           ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:1000:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGTSTP,(Sigval)SIG_DFL);    /* remove TSTP handler */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:1002:20: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGTSTP,oldhand);            /* replace if not ours */
                   ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:1006:29: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGWINCH,(Sigval)SIG_DFL);   /* remove TSTP handler */
                            ^~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
ccmdmd.c:1006:11: warning: incompatible function pointer types assigning to 'Sigval' (aka 'int (*)(int)') from 'void (*)(int)' [-Wincompatible-function-pointer-types]
  oldhand = signal(SIGWINCH,(Sigval)SIG_DFL);   /* remove TSTP handler */
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ccmdmd.c:1008:21: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types]
    signal(SIGWINCH,oldhand);           /* replace if not ours */
                    ^~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/signal.h:390:30: note: passing argument to parameter here
    void(*signal(int, void (*)(int)))(int);
                             ^
19 warnings generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c ccmdst.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c ccmdut.c
ccmdut.c:280:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else {
      ^
1 warning generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmcfm.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmchar.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmfil.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmfld.c
cmfld.c:100:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else {
      ^
1 warning generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmgrp.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmkey.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmmisc.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmnoi.c
cmnoi.c:216:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        while (*cp++ = *(*cplt)++); /* copy remainder of noise word */
               ~~~~~~^~~~~~~~~~~~
cmnoi.c:216:15: note: place parentheses around the assignment to silence this warning
        while (*cp++ = *(*cplt)++); /* copy remainder of noise word */
                     ^
               (                 )
cmnoi.c:216:15: note: use '==' to turn this assignment into an equality comparison
        while (*cp++ = *(*cplt)++); /* copy remainder of noise word */
                     ^
                     ==
1 warning generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmnum.c
cmnum.c:103:11: warning: cast to smaller integer type 'int' from 'pdat' (aka 'char *') [-Wpointer-to-int-cast]
  radix = (int) fdbp->_cmdat;   /* get the radix */
          ^~~~~~~~~~~~~~~~~~
cmnum.c:180:11: warning: cast to smaller integer type 'int' from 'pdat' (aka 'char *') [-Wpointer-to-int-cast]
  radix = (int) fdbp->_cmdat;   /* get radix and flags */
          ^~~~~~~~~~~~~~~~~~
cmnum.c:215:11: warning: cast to smaller integer type 'int' from 'pdat' (aka 'char *') [-Wpointer-to-int-cast]
  radix = (int) fdbp->_cmdat;   /* get flags and radix */
          ^~~~~~~~~~~~~~~~~~
3 warnings generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmpara.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmqst.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmswi.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmtad.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmtok.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmtxt.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmusr.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cmver.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c cursor.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c datime.c
In file included from datime.c:27:
./dtpat.h:639:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
datime.c:1006:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
2 warnings generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c dir.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c filelist.c
filelist.c:599:5: warning: expression result unused [-Wunused-value]
    (struct direct*)readdir(dirp);
    ^               ~~~~~~~~~~~~~
1 warning generated.
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c getenv.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c incversion.c
clang -g -Dunix -DBSD -DDIRENTLIB -DHAVE_BCOPY -DHAVE_MKSTEMP -DHAVE_NEW_BSD -DHAVE_UNSETENV -DHAVE_VPRINTF -I/opt/pkg/include/ncurses -c setenv.c
setenv.c:52:6: error: conflicting types for 'unsetenv'
void unsetenv ARGS((const char *name));
     ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:245:6: note: previous declaration is here
int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
         ^
setenv.c:81:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                        while (*C++ = *value++);
                               ~~~~~^~~~~~~~~~
setenv.c:81:16: note: place parentheses around the assignment to silence this warning
                        while (*C++ = *value++);
                                    ^
                               (              )
setenv.c:81:16: note: use '==' to turn this assignment into an equality comparison
                        while (*C++ = *value++);
                                    ^
                                    ==
setenv.c:113:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        for (*C++ = '='; *C++ = *value++;);
                         ~~~~~^~~~~~~~~~
setenv.c:113:24: note: place parentheses around the assignment to silence this warning
        for (*C++ = '='; *C++ = *value++;);
                              ^
                         (              )
setenv.c:113:24: note: use '==' to turn this assignment into an equality comparison
        for (*C++ = '='; *C++ = *value++;);
                              ^
                              ==
setenv.c:124:1: error: conflicting types for 'unsetenv'
unsetenv(const char *name)
^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:245:6: note: previous declaration is here
int      unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
         ^
2 warnings and 2 errors generated.
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Users/pbulk/build/mail/mm/work/mm/ccmd
*** Error code 1

Stop.
bmake: stopped making "macosx" in /Users/pbulk/build/mail/mm/work/mm/ccmd
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/mail/mm
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/mail/mm