=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/xmailwatcher", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailwatcher-1.6nb3 --- xmailwatcher.o --- --- box.o --- --- xmailwatcher.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c xmailwatcher.c --- box.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -I/opt/pkg/include -c box.c box.c:153:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 153 | if (a = index(from, '(')) a++; | ~~^~~~~~~~~~~~~~~~~~ box.c:153:8: note: place parentheses around the assignment to silence this warning 153 | if (a = index(from, '(')) a++; | ^ | ( ) box.c:153:8: note: use '==' to turn this assignment into an equality comparison 153 | if (a = index(from, '(')) a++; | ^ | == box.c:155:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 155 | if (b = index(a, ')')) *b = '\0'; | ~~^~~~~~~~~~~~~~~ box.c:155:8: note: place parentheses around the assignment to silence this warning 155 | if (b = index(a, ')')) *b = '\0'; | ^ | ( ) box.c:155:8: note: use '==' to turn this assignment into an equality comparison 155 | if (b = index(a, ')')) *b = '\0'; | ^ | == box.c:157:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 157 | if (b = index(a, '<')) *b = '\0'; | ~~^~~~~~~~~~~~~~~ box.c:157:8: note: place parentheses around the assignment to silence this warning 157 | if (b = index(a, '<')) *b = '\0'; | ^ | ( ) box.c:157:8: note: use '==' to turn this assignment into an equality comparison 157 | if (b = index(a, '<')) *b = '\0'; | ^ | == box.c:207:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 207 | TERMINATE(from) | ^~~~~~~~~~~~~~~ box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ~~^~~~~~~~~~~~~~~~ box.c:207:5: note: place parentheses around the assignment to silence this warning box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:207:5: note: use '==' to turn this assignment into an equality comparison box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:211:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 211 | TERMINATE(subj) | ^~~~~~~~~~~~~~~ box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ~~^~~~~~~~~~~~~~~~ box.c:211:5: note: place parentheses around the assignment to silence this warning box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:211:5: note: use '==' to turn this assignment into an equality comparison box.c:190:42: note: expanded from macro 'TERMINATE' 190 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:373:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 373 | TERMINATE(from); | ^~~~~~~~~~~~~~~ box.c:316:42: note: expanded from macro 'TERMINATE' 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ~~^~~~~~~~~~~~~~~~ box.c:373:4: note: place parentheses around the assignment to silence this warning box.c:316:42: note: expanded from macro 'TERMINATE' 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:373:4: note: use '==' to turn this assignment into an equality comparison box.c:316:42: note: expanded from macro 'TERMINATE' 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:378:4: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] --- xmailwatcher.o --- xmailwatcher.c:333:13: warning: passing arguments to 'timedRescan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- box.o --- 378 | TERMINATE(subj); --- xmailwatcher.o --- 333 | timedRescan(NULL, NULL); | ^ --- box.o --- | ^~~~~~~~~~~~~~~ box.c:316:42: note: expanded from macro 'TERMINATE' --- xmailwatcher.o --- xmailwatcher.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | main(argc, argv) | ^ --- box.o --- 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ~~^~~~~~~~~~~~~~~~ box.c:378:4: note: place parentheses around the assignment to silence this warning box.c:316:42: note: expanded from macro 'TERMINATE' 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ box.c:378:4: note: use '==' to turn this assignment into an equality comparison box.c:316:42: note: expanded from macro 'TERMINATE' 316 | #define TERMINATE(x) x[79] = '\0'; if (n = index(x, '\n')) *n = '\0'; | ^ --- xmailwatcher.o --- xmailwatcher.c:342:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | static void iconCallback(w, client_data, call_data) | ^ xmailwatcher.c:153:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 153 | static void iconCallback(); | ^ xmailwatcher.c:377:4: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 377 | ctime(&time)); | ^ xmailwatcher.c:377:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 376 | have ? "Mail at %s" : "No mail since %s", | ~~ | %d 377 | ctime(&time)); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ xmailwatcher.c:377:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 376 | have ? "Mail at %s" : "No mail since %s", | ~~ | %d 377 | ctime(&time)); | ^~~~~~~~~~~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/secure/_stdio.h:50:56: note: expanded from macro 'sprintf' 50 | __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) | ^~~~~~~~~~~ xmailwatcher.c:448:17: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | timedScan, ctime(&lastTime)); | ^ xmailwatcher.c:448:17: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 447 | (void) printf("No change, %d %s", | ~~ | %d 448 | timedScan, ctime(&lastTime)); | ^~~~~~~~~~~~~~~~ xmailwatcher.c:455:17: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | timedScan, ctime(&sb.st_mtime)); | ^ xmailwatcher.c:455:17: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 454 | (void) printf("Empty, %d %s", | ~~ | %d 455 | timedScan, ctime(&sb.st_mtime)); | ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c:471:27: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 471 | timedScan, haveMail, ctime(&lastTime)); | ^ xmailwatcher.c:471:27: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 470 | (void) printf("Scanned, %d %d %s", | ~~ | %d 471 | timedScan, haveMail, ctime(&lastTime)); | ^~~~~~~~~~~~~~~~ xmailwatcher.c:477:14: warning: call to undeclared function 'ctime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 477 | mapped, ctime(&sb.st_mtime)); | ^ xmailwatcher.c:476:17: warning: format specifies type 'unsigned int' but the argument has type 'time_t' (aka 'long') [-Wformat] 475 | (void) printf("Changed but not scanned, %d %x %x %d %s", | ~~ | %lx 476 | timedScan, lastTime, sb.st_mtime, | ^~~~~~~~ xmailwatcher.c:476:27: warning: format specifies type 'unsigned int' but the argument has type '__darwin_time_t' (aka 'long') [-Wformat] 475 | (void) printf("Changed but not scanned, %d %x %x %d %s", | ~~ | %lx 476 | timedScan, lastTime, sb.st_mtime, | ^~~~~~~~~~~ xmailwatcher.c:477:14: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 475 | (void) printf("Changed but not scanned, %d %x %x %d %s", | ~~ | %d 476 | timedScan, lastTime, sb.st_mtime, 477 | mapped, ctime(&sb.st_mtime)); | ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c:415:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | static void rescanMailbox(timedScan) | ^ xmailwatcher.c:541:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | void timedRescan(d, t) | ^ xmailwatcher.c:150:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 150 | void timedRescan(); | ^ xmailwatcher.c:550:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | void listEvent(w, cd, e, ctd) | ^ xmailwatcher.c:151:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | void listEvent(); | ^ xmailwatcher.c:576:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | void iconEvent(w, cd, e, ctd) | ^ xmailwatcher.c:152:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | void iconEvent(); | ^ 24 warnings generated. --- xmailwatcher._man --- --- box.o --- 7 warnings generated. --- xmailwatcher._man --- rm -f xmailwatcher._man --- xmailwatcher --- --- xmailwatcher._man --- if test -z "" ; then cd `dirname xmailwatcher` && ln -s `basename xmailwatcher.man` `basename xmailwatcher._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xmailwatcher.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xmailwatcher._man; fi --- xmailwatcher --- rm -f xmailwatcher clang -o xmailwatcher -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xmailwatcher.o box.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11