=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/mm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> 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] 653 | else /* confirm char no longer breaks */ | ^ ccmd.c:1067:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1067 | 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] 914 | } | ^ ccmdmd.c:965:27: warning: incompatible function pointer types passing 'Sigval' (aka 'int (*)(int)') to parameter of type 'void (*)(int)' [-Wincompatible-function-pointer-types] 965 | oldhand = signal(SIGINT,(Sigval)sighand); /* install our handler, get prior */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 965 | 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] 967 | signal(SIGINT,oldhand); /* yup, leave it there */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 969 | oldhand = signal(SIGTSTP,(Sigval)sighand); /* install ours for TSTP too */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 969 | 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] 971 | signal(SIGTSTP,oldhand); /* but leave theirs intact */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 975 | oldhand = signal(SIGWINCH,(Sigval)sighand); /* install ours for TSTP too */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 975 | 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] 977 | signal(SIGWINCH,oldhand); /* but leave theirs intact */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 996 | oldhand = signal(SIGINT,(Sigval)SIG_DFL); /* remove INT handler */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 996 | 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] 998 | signal(SIGINT,oldhand); /* replace if not ours */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 1000 | oldhand = signal(SIGTSTP,(Sigval)SIG_DFL); /* remove TSTP handler */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 1000 | 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] 1002 | signal(SIGTSTP,oldhand); /* replace if not ours */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 1006 | oldhand = signal(SIGWINCH,(Sigval)SIG_DFL); /* remove TSTP handler */ | ^~~~~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 1006 | 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] 1008 | signal(SIGWINCH,oldhand); /* replace if not ours */ | ^~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/signal.h:390:26: note: passing argument to parameter here 390 | 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] 280 | 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] 100 | 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] 216 | while (*cp++ = *(*cplt)++); /* copy remainder of noise word */ | ~~~~~~^~~~~~~~~~~~ cmnoi.c:216:15: note: place parentheses around the assignment to silence this warning 216 | while (*cp++ = *(*cplt)++); /* copy remainder of noise word */ | ^ | ( ) cmnoi.c:216:15: note: use '==' to turn this assignment into an equality comparison 216 | 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] 103 | 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] 180 | 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] 215 | 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] 639 | else | ^ datime.c:1006:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1006 | 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] 599 | (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' 52 | void unsetenv ARGS((const char *name)); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:268:6: note: previous declaration is here 268 | int unsetenv(const char *) __DARWIN_ALIAS(unsetenv); | ^ setenv.c:81:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 81 | while (*C++ = *value++); | ~~~~~^~~~~~~~~~ setenv.c:81:16: note: place parentheses around the assignment to silence this warning 81 | while (*C++ = *value++); | ^ | ( ) setenv.c:81:16: note: use '==' to turn this assignment into an equality comparison 81 | while (*C++ = *value++); | ^ | == setenv.c:113:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 113 | for (*C++ = '='; *C++ = *value++;); | ~~~~~^~~~~~~~~~ setenv.c:113:24: note: place parentheses around the assignment to silence this warning 113 | for (*C++ = '='; *C++ = *value++;); | ^ | ( ) setenv.c:113:24: note: use '==' to turn this assignment into an equality comparison 113 | for (*C++ = '='; *C++ = *value++;); | ^ | == setenv.c:124:1: error: conflicting types for 'unsetenv' 124 | unsetenv(const char *name) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:268:6: note: previous declaration is here 268 | int unsetenv(const char *) __DARWIN_ALIAS(unsetenv); | ^ 2 warnings and 2 errors generated. *** Error code 1 Stop. bmake[1]: stopped making "all" in /var/tmp/work/mail/mm/work/mm/ccmd *** Error code 1 Stop. bmake: stopped making "macosx" in /var/tmp/work/mail/mm/work/mm/ccmd *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/mm *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/mm