=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/acunia-jam", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for acunia-jam-1.0nb2 --- jam0 --- cc -o jam0 command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c execunix.c:220:13: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 220 | if ((pid = vfork()) == 0) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 1 warning generated. expand.c:71:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 71 | printf( "expand '%.*s'\n", end - in, in ); | ~~^~ ~~~~~~~~ expand.c:197:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:197:13: note: place parentheses around the assignment to silence this warning 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^ | ( ) expand.c:197:13: note: use '==' to turn this assignment into an equality comparison 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^ | == expand.c:200:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:200:15: note: place parentheses around the assignment to silence this warning 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^ | ( ) expand.c:200:15: note: use '==' to turn this assignment into an equality comparison 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^ | == expand.c:204:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if( dash = strchr( bracket + 1, '-' ) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:204:16: note: place parentheses around the assignment to silence this warning 204 | if( dash = strchr( bracket + 1, '-' ) ) | ^ | ( ) expand.c:204:16: note: use '==' to turn this assignment into an equality comparison 204 | if( dash = strchr( bracket + 1, '-' ) ) | ^ | == expand.c:487:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:487:9: note: place parentheses around the assignment to silence this warning 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ^ | ( ) expand.c:487:9: note: use '==' to turn this assignment into an equality comparison 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ^ | == 5 warnings generated. fileunix.c:126:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | while( dirent = readdir( d ) ) | ~~~~~~~^~~~~~~~~~~~~~ fileunix.c:126:16: note: place parentheses around the assignment to silence this warning 126 | while( dirent = readdir( d ) ) | ^ | ( ) fileunix.c:126:16: note: use '==' to turn this assignment into an equality comparison 126 | while( dirent = readdir( d ) ) | ^ | == 1 warning generated. hash.c:244:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:244:12: note: place parentheses around the assignment to silence this warning 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^ | ( ) hash.c:244:12: note: use '==' to turn this assignment into an equality comparison 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^ | == hash.c:257:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 251 | printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", | ~~ | %lu 252 | hp->name, 253 | count, 254 | hp->items.nel, 255 | hp->tab.nel, 256 | hp->items.nel * hp->items.size / 1024, 257 | hp->tab.nel * sizeof( ITEM ** ) / 1024, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. jam.c:214:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:214:16: note: place parentheses around the assignment to silence this warning 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ | ( ) jam.c:214:16: note: use '==' to turn this assignment into an equality comparison 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ | == jam.c:291:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:291:16: note: place parentheses around the assignment to silence this warning 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ | ( ) jam.c:291:16: note: use '==' to turn this assignment into an equality comparison 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ | == jam.c:306:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:306:16: note: place parentheses around the assignment to silence this warning 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ | ( ) jam.c:306:16: note: use '==' to turn this assignment into an equality comparison 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ | == jam.c:316:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:316:16: note: place parentheses around the assignment to silence this warning 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ | ( ) jam.c:316:16: note: use '==' to turn this assignment into an equality comparison 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ | == jam.c:321:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 321 | if( s = getoptval( optv, 'o', 0 ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:321:8: note: place parentheses around the assignment to silence this warning 321 | if( s = getoptval( optv, 'o', 0 ) ) | ^ | ( ) jam.c:321:8: note: use '==' to turn this assignment into an equality comparison 321 | if( s = getoptval( optv, 'o', 0 ) ) | ^ | == 5 warnings generated. y.tab.c:354:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 354 | if (yyn = yydefred[yystate]) goto yyreduce; | ~~~~^~~~~~~~~~~~~~~~~~~ y.tab.c:354:13: note: place parentheses around the assignment to silence this warning 354 | if (yyn = yydefred[yystate]) goto yyreduce; | ^ | ( ) y.tab.c:354:13: note: use '==' to turn this assignment into an equality comparison 354 | if (yyn = yydefred[yystate]) goto yyreduce; | ^ | == 1 warning generated. make.c:161:34: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 161 | printf( "make\t--\t%s%s\n", spaces( depth ), t->name ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:161:34: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:225:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 225 | spaces( depth ), t->name, t->boundname ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:225:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:234:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 234 | spaces( depth ), t->name, target_bind[ t->binding ] ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:234:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:239:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 239 | spaces( depth ), t->name, ctime( &t->time ) ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:239:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:429:3: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 429 | spaces( depth ), t->name ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:429:3: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ 5 warnings generated. pathunix.c:118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pathunix.c:118:11: note: place parentheses around the assignment to silence this warning 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ^ | ( ) pathunix.c:118:11: note: use '==' to turn this assignment into an equality comparison 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ^ | == 1 warning generated. search.c:35:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | if( varlist = var_get( "LOCATE" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:35:14: note: place parentheses around the assignment to silence this warning 35 | if( varlist = var_get( "LOCATE" ) ) | ^ | ( ) search.c:35:14: note: use '==' to turn this assignment into an equality comparison 35 | if( varlist = var_get( "LOCATE" ) ) | ^ | == search.c:49:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | else if( varlist = var_get( "SEARCH" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:49:19: note: place parentheses around the assignment to silence this warning 49 | else if( varlist = var_get( "SEARCH" ) ) | ^ | ( ) search.c:49:19: note: use '==' to turn this assignment into an equality comparison 49 | else if( varlist = var_get( "SEARCH" ) ) | ^ | == 2 warnings generated. variable.c:84:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if( val = strchr( *e, '=' ) ) | ~~~~^~~~~~~~~~~~~~~~~~~ variable.c:84:14: note: place parentheses around the assignment to silence this warning 84 | if( val = strchr( *e, '=' ) ) | ^ | ( ) variable.c:84:14: note: use '==' to turn this assignment into an equality comparison 84 | if( val = strchr( *e, '=' ) ) | ^ | == variable.c:108:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ~~^~~~~~~~~~~~~~~~~~~~~ variable.c:108:24: note: place parentheses around the assignment to silence this warning 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ | ( ) variable.c:108:24: note: use '==' to turn this assignment into an equality comparison 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ | == 2 warnings generated. --- all --- ./jam0 ...found 137 target(s)... ...updating 34 target(s)... MkDir1 bin.macosx Cc bin.macosx/command.o Cc bin.macosx/compile.o Cc bin.macosx/execunix.o execunix.c:220:13: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 220 | if ((pid = vfork()) == 0) | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ 1 warning generated. Cc bin.macosx/fileunix.o fileunix.c:126:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 126 | while( dirent = readdir( d ) ) | ~~~~~~~^~~~~~~~~~~~~~ fileunix.c:126:16: note: place parentheses around the assignment to silence this warning 126 | while( dirent = readdir( d ) ) | ^ | ( ) fileunix.c:126:16: note: use '==' to turn this assignment into an equality comparison 126 | while( dirent = readdir( d ) ) | ^ | == 1 warning generated. Cc bin.macosx/pathunix.o pathunix.c:118:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pathunix.c:118:11: note: place parentheses around the assignment to silence this warning 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ^ | ( ) pathunix.c:118:11: note: use '==' to turn this assignment into an equality comparison 118 | while( q = (char *)memchr( q, '.', end - q ) ) | ^ | == 1 warning generated. GenFile1 jamgram.y jamgramtab.h Yacc1 jamgram.c jamgram.h YaccMv jamgram.c jamgram.h Cc bin.macosx/jamgram.o Cc bin.macosx/expand.o expand.c:71:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] 71 | printf( "expand '%.*s'\n", end - in, in ); | ~~^~ ~~~~~~~~ expand.c:197:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:197:13: note: place parentheses around the assignment to silence this warning 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^ | ( ) expand.c:197:13: note: use '==' to turn this assignment into an equality comparison 197 | if( colon = strchr( varname, MAGIC_COLON ) ) | ^ | == expand.c:200:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:200:15: note: place parentheses around the assignment to silence this warning 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^ | ( ) expand.c:200:15: note: use '==' to turn this assignment into an equality comparison 200 | if( bracket = strchr( varname, MAGIC_LEFT ) ) | ^ | == expand.c:204:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 204 | if( dash = strchr( bracket + 1, '-' ) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:204:16: note: place parentheses around the assignment to silence this warning 204 | if( dash = strchr( bracket + 1, '-' ) ) | ^ | ( ) expand.c:204:16: note: use '==' to turn this assignment into an equality comparison 204 | if( dash = strchr( bracket + 1, '-' ) ) | ^ | == expand.c:487:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:487:9: note: place parentheses around the assignment to silence this warning 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ^ | ( ) expand.c:487:9: note: use '==' to turn this assignment into an equality comparison 487 | if( p = strchr( mods, MAGIC_COLON ) ) | ^ | == 5 warnings generated. Cc bin.macosx/glob.o Cc bin.macosx/hash.o hash.c:244:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:244:12: note: place parentheses around the assignment to silence this warning 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^ | ( ) hash.c:244:12: note: use '==' to turn this assignment into an equality comparison 244 | if( here = ( *tab++ != (ITEM *)0 ) ) | ^ | == hash.c:257:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 251 | printf( "%s table: %d+%d+%d (%dK+%dK) items+table+hash, %f density\n", | ~~ | %lu 252 | hp->name, 253 | count, 254 | hp->items.nel, 255 | hp->tab.nel, 256 | hp->items.nel * hp->items.size / 1024, 257 | hp->tab.nel * sizeof( ITEM ** ) / 1024, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Cc bin.macosx/headers.o Cc bin.macosx/lists.o Cc bin.macosx/make.o make.c:161:34: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 161 | printf( "make\t--\t%s%s\n", spaces( depth ), t->name ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:161:34: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:225:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 225 | spaces( depth ), t->name, t->boundname ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:225:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:234:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 234 | spaces( depth ), t->name, target_bind[ t->binding ] ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:234:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:239:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 239 | spaces( depth ), t->name, ctime( &t->time ) ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:239:4: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ make.c:429:3: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 429 | spaces( depth ), t->name ); | ^~~~~~~~~~~~~~~ make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ~~~~~~~~~~~~~~~~~~~^~~~ make.c:429:3: note: use array indexing to silence this warning make.c:92:41: note: expanded from macro 'spaces' 92 | # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) | ^ 5 warnings generated. Cc bin.macosx/make1.o Cc bin.macosx/newstr.o Cc bin.macosx/option.o Cc bin.macosx/parse.o Cc bin.macosx/regexp.o Cc bin.macosx/rules.o Cc bin.macosx/scan.o Cc bin.macosx/search.o search.c:35:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | if( varlist = var_get( "LOCATE" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:35:14: note: place parentheses around the assignment to silence this warning 35 | if( varlist = var_get( "LOCATE" ) ) | ^ | ( ) search.c:35:14: note: use '==' to turn this assignment into an equality comparison 35 | if( varlist = var_get( "LOCATE" ) ) | ^ | == search.c:49:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 49 | else if( varlist = var_get( "SEARCH" ) ) | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:49:19: note: place parentheses around the assignment to silence this warning 49 | else if( varlist = var_get( "SEARCH" ) ) | ^ | ( ) search.c:49:19: note: use '==' to turn this assignment into an equality comparison 49 | else if( varlist = var_get( "SEARCH" ) ) | ^ | == 2 warnings generated. Cc bin.macosx/timestamp.o Cc bin.macosx/variable.o variable.c:84:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 84 | if( val = strchr( *e, '=' ) ) | ~~~~^~~~~~~~~~~~~~~~~~~ variable.c:84:14: note: place parentheses around the assignment to silence this warning 84 | if( val = strchr( *e, '=' ) ) | ^ | ( ) variable.c:84:14: note: use '==' to turn this assignment into an equality comparison 84 | if( val = strchr( *e, '=' ) ) | ^ | == variable.c:108:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ~~^~~~~~~~~~~~~~~~~~~~~ variable.c:108:24: note: place parentheses around the assignment to silence this warning 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ | ( ) variable.c:108:24: note: use '==' to turn this assignment into an equality comparison 108 | for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) | ^ | == 2 warnings generated. Archive bin.macosx/libjam.a libtool: Missing --mode=XXX libtool -o bin.macosx/libjam.a bin.macosx/command.o bin.macosx/compile.o bin.macosx/execunix.o bin.macosx/fileunix.o bin.macosx/pathunix.o bin.macosx/jamgram.o bin.macosx/expand.o bin.macosx/glob.o bin.macosx/hash.o bin.macosx/headers.o bin.macosx/lists.o bin.macosx/make.o bin.macosx/make1.o bin.macosx/newstr.o bin.macosx/option.o bin.macosx/parse.o bin.macosx/regexp.o bin.macosx/rules.o bin.macosx/scan.o bin.macosx/search.o bin.macosx/timestamp.o bin.macosx/variable.o ...failed Archive bin.macosx/libjam.a ... Cc bin.macosx/mkjambase.o Link bin.macosx/mkjambase Chmod1 bin.macosx/mkjambase Cc bin.macosx/jam.o jam.c:214:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:214:16: note: place parentheses around the assignment to silence this warning 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ | ( ) jam.c:214:16: note: use '==' to turn this assignment into an equality comparison 214 | for( n = 0; s = getoptval( optv, 'd', n ); n++ ) | ^ | == jam.c:291:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:291:16: note: place parentheses around the assignment to silence this warning 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ | ( ) jam.c:291:16: note: use '==' to turn this assignment into an equality comparison 291 | for( n = 0; s = getoptval( optv, 's', n ); n++ ) | ^ | == jam.c:306:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:306:16: note: place parentheses around the assignment to silence this warning 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ | ( ) jam.c:306:16: note: use '==' to turn this assignment into an equality comparison 306 | for( n = 0; s = getoptval( optv, 'f', n ); n++ ) | ^ | == jam.c:316:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:316:16: note: place parentheses around the assignment to silence this warning 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ | ( ) jam.c:316:16: note: use '==' to turn this assignment into an equality comparison 316 | for( n = 0; s = getoptval( optv, 't', n ); n++ ) | ^ | == jam.c:321:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 321 | if( s = getoptval( optv, 'o', 0 ) ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:321:8: note: place parentheses around the assignment to silence this warning 321 | if( s = getoptval( optv, 'o', 0 ) ) | ^ | ( ) jam.c:321:8: note: use '==' to turn this assignment into an equality comparison 321 | if( s = getoptval( optv, 'o', 0 ) ) | ^ | == 5 warnings generated. GenFile1 jambase.c Cc bin.macosx/jambase.o ...skipped jam for lack of libjam.a... ...failed updating 1 target(s)... ...skipped 1 target(s)... ...updated 32 target(s)... *** [all] Error code 1 bmake: stopped making "all" in /var/tmp/work/devel/acunia-jam/work/jam bmake: 1 error bmake: stopped making "all" in /var/tmp/work/devel/acunia-jam/work/jam *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/acunia-jam *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/acunia-jam