>>> Building on exopi-6 under devel/jam DIST = [devel/jam:jam-2.5.tar] FULLPKGNAME = jam-2.5p3 distfiles size=614400 >>> Running build in devel/jam at 1735132703.59 ===> devel/jam ===> Building from scratch jam-2.5p3 ===> Verifying specs: c ===> found c.100.3 ===> Checking files for jam-2.5p3 `/exopi-cvs/ports/distfiles/jam-2.5.tar' is up to date. >> (SHA256) all files: OK ===> Extracting for jam-2.5p3 ===> Patching for jam-2.5p3 ===> Applying OpenBSD patch patch-Jambase Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |sync with ports/graphics/argyll/patches/patch-Jambase | |--- Jambase.orig Wed Apr 23 05:45:49 2003 |+++ Jambase Sat Jan 25 13:09:14 2014 -------------------------- Patching file Jambase using Plan A... Hunk #1 succeeded at 516. Hunk #2 succeeded at 541. Hunk #3 succeeded at 1129. done ===> Applying OpenBSD patch patch-Jamfile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Jamfile.orig Wed Apr 17 21:27:35 2002 |+++ Jamfile Thu Feb 13 15:18:22 2003 -------------------------- Patching file Jamfile using Plan A... Hunk #1 succeeded at 4. done ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Makefile.orig Fri Apr 21 17:14:32 2006 |+++ Makefile Fri Apr 21 17:14:57 2006 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-jam_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- jam.h.orig Fri Apr 21 17:09:04 2006 |+++ jam.h Fri Apr 21 17:12:06 2006 -------------------------- Patching file jam.h using Plan A... Hunk #1 succeeded at 290. Hunk #2 succeeded at 393. done ===> Applying OpenBSD patch patch-jambase_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- jambase.c.orig Thu Aug 19 19:19:35 2004 |+++ jambase.c Sat Jan 25 13:09:39 2014 -------------------------- Patching file jambase.c using Plan A... Hunk #1 succeeded at 313. Hunk #2 succeeded at 333. Hunk #3 succeeded at 702. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for jam-2.5p3 ===> Configuring for jam-2.5p3 ===> Building for jam-2.5p3 cc -o ./jam0 -O2 -pipe builtins.c 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 In file included from builtins.c:34: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from command.c:14: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from compile.c:71: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from execunix.c:41: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ execunix.c:232:13: warning: call to undeclared library function 'vfork' with type 'int (void)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((pid = vfork()) == 0) ^ execunix.c:232:13: note: include the header or explicitly provide a declaration for 'vfork' execunix.c:234:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] execvp( argv[0], argv ); ^ execunix.c:235:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] _exit(127); ^ execunix.c:235:6: note: include the header or explicitly provide a declaration for '_exit' execunix.c:277:15: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( ( w = wait( &status ) ) == -1 && errno == EINTR ) ^ 5 warnings generated. In file included from execvms.c:27: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from expand.c:32: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ expand.c:84:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] printf( "expand '%.*s'\n", end - in, in ); ~~^~ ~~~~~~~~ expand.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( colon = strchr( varname, MAGIC_COLON ) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:211:13: note: place parentheses around the assignment to silence this warning if( colon = strchr( varname, MAGIC_COLON ) ) ^ ( ) expand.c:211:13: note: use '==' to turn this assignment into an equality comparison if( colon = strchr( varname, MAGIC_COLON ) ) ^ == expand.c:221:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bracket = strchr( varname, MAGIC_LEFT ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:221:15: note: place parentheses around the assignment to silence this warning if( bracket = strchr( varname, MAGIC_LEFT ) ) ^ ( ) expand.c:221:15: note: use '==' to turn this assignment into an equality comparison if( bracket = strchr( varname, MAGIC_LEFT ) ) ^ == expand.c:225:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dash = strchr( bracket + 1, '-' ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:225:16: note: place parentheses around the assignment to silence this warning if( dash = strchr( bracket + 1, '-' ) ) ^ ( ) expand.c:225:16: note: use '==' to turn this assignment into an equality comparison if( dash = strchr( bracket + 1, '-' ) ) ^ == expand.c:451:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( p = strchr( mods, MAGIC_COLON ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:451:17: note: place parentheses around the assignment to silence this warning else if( p = strchr( mods, MAGIC_COLON ) ) ^ ( ) expand.c:451:17: note: use '==' to turn this assignment into an equality comparison else if( p = strchr( mods, MAGIC_COLON ) ) ^ == 6 warnings generated. In file included from filent.c:31: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from fileos2.c:30: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from fileunix.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ fileunix.c:139:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dirent = readdir( d ) ) ~~~~~~~^~~~~~~~~~~~~~ fileunix.c:139:16: note: place parentheses around the assignment to silence this warning while( dirent = readdir( d ) ) ^ ( ) fileunix.c:139:16: note: use '==' to turn this assignment into an equality comparison while( dirent = readdir( d ) ) ^ == fileunix.c:200:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( read( fd, buf, SARMAG ) != SARMAG || ^ fileunix.c:203:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close( fd ); ^ fileunix.c:309:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close( fd ); ^ 5 warnings generated. In file included from filevms.c:29: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from glob.c:29: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from hash.c:25: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ hash.c:242:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( here = ( *tab++ != (ITEM *)0 ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:242:12: note: place parentheses around the assignment to silence this warning if( here = ( *tab++ != (ITEM *)0 ) ) ^ ( ) hash.c:242:12: note: use '==' to turn this assignment into an equality comparison if( here = ( *tab++ != (ITEM *)0 ) ) ^ == hash.c:255:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] hp->tab.nel * sizeof( ITEM ** ) / 1024, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. In file included from headers.c:32: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from jam.c:104: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ jam.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main( int argc, char **argv, char **arg_environ ) ^ int jam.c:235:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:235:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ ( ) jam.c:235:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ == jam.c:318:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 's', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:318:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ ( ) jam.c:318:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ == jam.c:332:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:332:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ ( ) jam.c:332:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ == jam.c:342:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 't', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:342:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ ( ) jam.c:342:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ == jam.c:347:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( s = getoptval( optv, 'o', 0 ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:347:8: note: place parentheses around the assignment to silence this warning if( s = getoptval( optv, 'o', 0 ) ) ^ ( ) jam.c:347:8: note: use '==' to turn this assignment into an equality comparison if( s = getoptval( optv, 'o', 0 ) ) ^ == 7 warnings generated. In file included from jamgram.y:85: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from lists.c:27: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ lists.c:193:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( p = (char *)memchr( op, '"', ep - op ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:193:15: note: place parentheses around the assignment to silence this warning while( p = (char *)memchr( op, '"', ep - op ) ) ^ ( ) lists.c:193:15: note: use '==' to turn this assignment into an equality comparison while( p = (char *)memchr( op, '"', ep - op ) ) ^ == 2 warnings generated. In file included from make.c:53: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ make.c:182:34: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] printf( "make\t--\t%s%s\n", spaces( depth ), t->name ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:182:34: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:238:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, t->boundname ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:238:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:247:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, target_bind[ t->binding ] ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:247:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:252:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, ctime( &t->time ) ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:252:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:476:3: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:476:3: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ 6 warnings generated. In file included from make1.c:52: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ make1.c:389:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( !unlink( targets->string ) ) ^ 2 warnings generated. In file included from newstr.c:29: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from option.c:19: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from parse.c:18: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from pathunix.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ pathunix.c:113:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( q = (char *)memchr( q, '.', end - q ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pathunix.c:113:11: note: place parentheses around the assignment to silence this warning while( q = (char *)memchr( q, '.', end - q ) ) ^ ( ) pathunix.c:113:11: note: use '==' to turn this assignment into an equality comparison while( q = (char *)memchr( q, '.', end - q ) ) ^ == 2 warnings generated. In file included from pathvms.c:28: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from rules.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from scan.c:22: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from search.c:13: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ search.c:37:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( varlist = var_get( "LOCATE" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:37:14: note: place parentheses around the assignment to silence this warning if( varlist = var_get( "LOCATE" ) ) ^ ( ) search.c:37:14: note: use '==' to turn this assignment into an equality comparison if( varlist = var_get( "LOCATE" ) ) ^ == search.c:51:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( varlist = var_get( "SEARCH" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:51:19: note: place parentheses around the assignment to silence this warning else if( varlist = var_get( "SEARCH" ) ) ^ ( ) search.c:51:19: note: use '==' to turn this assignment into an equality comparison else if( varlist = var_get( "SEARCH" ) ) ^ == 3 warnings generated. In file included from timestamp.c:15: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. In file included from variable.c:33: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ variable.c:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = strchr( *e, '=' ) ) ~~~~^~~~~~~~~~~~~~~~~~~ variable.c:85:14: note: place parentheses around the assignment to silence this warning if( val = strchr( *e, '=' ) ) ^ ( ) variable.c:85:14: note: use '==' to turn this assignment into an equality comparison if( val = strchr( *e, '=' ) ) ^ == variable.c:109:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ~~^~~~~~~~~~~~~~~~~~~~~ variable.c:109:24: note: place parentheses around the assignment to silence this warning for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ ( ) variable.c:109:24: note: use '==' to turn this assignment into an equality comparison for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ == variable.c:195:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( l = list_next( l ) ) ~~^~~~~~~~~~~~~~~~ variable.c:195:13: note: place parentheses around the assignment to silence this warning if( l = list_next( l ) ) ^ ( ) variable.c:195:13: note: use '==' to turn this assignment into an equality comparison if( l = list_next( l ) ) ^ == 4 warnings generated. ld: warning: jam.c(/tmp/jam-34a345.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: scan.c(/tmp/scan-1c99c7.o:(symdump)): warning: sprintf() is often misused, please use snprintf() ./jam0 ...found 166 target(s)... ...updating 33 target(s)... MkDir1 bin Cc bin/builtins.o In file included from builtins.c:34: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/command.o In file included from command.c:14: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/compile.o In file included from compile.c:71: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/execunix.o In file included from execunix.c:41: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ execunix.c:232:13: warning: call to undeclared library function 'vfork' with type 'int (void)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ((pid = vfork()) == 0) ^ execunix.c:232:13: note: include the header or explicitly provide a declaration for 'vfork' execunix.c:234:6: warning: call to undeclared function 'execvp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] execvp( argv[0], argv ); ^ execunix.c:235:6: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] _exit(127); ^ execunix.c:235:6: note: include the header or explicitly provide a declaration for '_exit' execunix.c:277:15: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] while( ( w = wait( &status ) ) == -1 && errno == EINTR ) ^ 5 warnings generated. Cc bin/fileunix.o In file included from fileunix.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ fileunix.c:139:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( dirent = readdir( d ) ) ~~~~~~~^~~~~~~~~~~~~~ fileunix.c:139:16: note: place parentheses around the assignment to silence this warning while( dirent = readdir( d ) ) ^ ( ) fileunix.c:139:16: note: use '==' to turn this assignment into an equality comparison while( dirent = readdir( d ) ) ^ == fileunix.c:200:6: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( read( fd, buf, SARMAG ) != SARMAG || ^ fileunix.c:203:6: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close( fd ); ^ fileunix.c:309:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] close( fd ); ^ 5 warnings generated. Cc bin/pathunix.o In file included from pathunix.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ pathunix.c:113:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( q = (char *)memchr( q, '.', end - q ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pathunix.c:113:11: note: place parentheses around the assignment to silence this warning while( q = (char *)memchr( q, '.', end - q ) ) ^ ( ) pathunix.c:113:11: note: use '==' to turn this assignment into an equality comparison while( q = (char *)memchr( q, '.', end - q ) ) ^ == 2 warnings generated. Yacc1 jamgram.c jamgram.h YaccMv jamgram.c jamgram.h Cc bin/jamgram.o In file included from jamgram.y:85: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/expand.o In file included from expand.c:32: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ expand.c:84:25: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] printf( "expand '%.*s'\n", end - in, in ); ~~^~ ~~~~~~~~ expand.c:211:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( colon = strchr( varname, MAGIC_COLON ) ) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:211:13: note: place parentheses around the assignment to silence this warning if( colon = strchr( varname, MAGIC_COLON ) ) ^ ( ) expand.c:211:13: note: use '==' to turn this assignment into an equality comparison if( colon = strchr( varname, MAGIC_COLON ) ) ^ == expand.c:221:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( bracket = strchr( varname, MAGIC_LEFT ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:221:15: note: place parentheses around the assignment to silence this warning if( bracket = strchr( varname, MAGIC_LEFT ) ) ^ ( ) expand.c:221:15: note: use '==' to turn this assignment into an equality comparison if( bracket = strchr( varname, MAGIC_LEFT ) ) ^ == expand.c:225:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( dash = strchr( bracket + 1, '-' ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:225:16: note: place parentheses around the assignment to silence this warning if( dash = strchr( bracket + 1, '-' ) ) ^ ( ) expand.c:225:16: note: use '==' to turn this assignment into an equality comparison if( dash = strchr( bracket + 1, '-' ) ) ^ == expand.c:451:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( p = strchr( mods, MAGIC_COLON ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ expand.c:451:17: note: place parentheses around the assignment to silence this warning else if( p = strchr( mods, MAGIC_COLON ) ) ^ ( ) expand.c:451:17: note: use '==' to turn this assignment into an equality comparison else if( p = strchr( mods, MAGIC_COLON ) ) ^ == 6 warnings generated. Cc bin/glob.o In file included from glob.c:29: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/hash.o In file included from hash.c:25: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ hash.c:242:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( here = ( *tab++ != (ITEM *)0 ) ) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ hash.c:242:12: note: place parentheses around the assignment to silence this warning if( here = ( *tab++ != (ITEM *)0 ) ) ^ ( ) hash.c:242:12: note: use '==' to turn this assignment into an equality comparison if( here = ( *tab++ != (ITEM *)0 ) ) ^ == hash.c:255:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] hp->tab.nel * sizeof( ITEM ** ) / 1024, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. Cc bin/headers.o In file included from headers.c:32: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/lists.o In file included from lists.c:27: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ lists.c:193:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while( p = (char *)memchr( op, '"', ep - op ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lists.c:193:15: note: place parentheses around the assignment to silence this warning while( p = (char *)memchr( op, '"', ep - op ) ) ^ ( ) lists.c:193:15: note: use '==' to turn this assignment into an equality comparison while( p = (char *)memchr( op, '"', ep - op ) ) ^ == 2 warnings generated. Cc bin/make.o In file included from make.c:53: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ make.c:182:34: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] printf( "make\t--\t%s%s\n", spaces( depth ), t->name ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:182:34: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:238:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, t->boundname ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:238:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:247:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, target_bind[ t->binding ] ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:247:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:252:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name, ctime( &t->time ) ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:252:4: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ make.c:476:3: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] spaces( depth ), t->name ); ^~~~~~~~~~~~~~~ make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ~~~~~~~~~~~~~~~~~~~^~~~ make.c:476:3: note: use array indexing to silence this warning make.c:108:41: note: expanded from macro 'spaces' # define spaces(x) ( " " + 16 - ( x > 16 ? 16 : x ) ) ^ 6 warnings generated. Cc bin/make1.o In file included from make1.c:52: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ make1.c:389:8: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if( !unlink( targets->string ) ) ^ 2 warnings generated. Cc bin/newstr.o In file included from newstr.c:29: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/option.o In file included from option.c:19: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/parse.o In file included from parse.c:18: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/regexp.o Cc bin/rules.o In file included from rules.c:36: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/scan.o In file included from scan.c:22: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/search.o In file included from search.c:13: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ search.c:37:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( varlist = var_get( "LOCATE" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:37:14: note: place parentheses around the assignment to silence this warning if( varlist = var_get( "LOCATE" ) ) ^ ( ) search.c:37:14: note: use '==' to turn this assignment into an equality comparison if( varlist = var_get( "LOCATE" ) ) ^ == search.c:51:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] else if( varlist = var_get( "SEARCH" ) ) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ search.c:51:19: note: place parentheses around the assignment to silence this warning else if( varlist = var_get( "SEARCH" ) ) ^ ( ) search.c:51:19: note: use '==' to turn this assignment into an equality comparison else if( varlist = var_get( "SEARCH" ) ) ^ == 3 warnings generated. Cc bin/timestamp.o In file included from timestamp.c:15: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ 1 warning generated. Cc bin/variable.o In file included from variable.c:33: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ variable.c:85:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( val = strchr( *e, '=' ) ) ~~~~^~~~~~~~~~~~~~~~~~~ variable.c:85:14: note: place parentheses around the assignment to silence this warning if( val = strchr( *e, '=' ) ) ^ ( ) variable.c:85:14: note: use '==' to turn this assignment into an equality comparison if( val = strchr( *e, '=' ) ) ^ == variable.c:109:24: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ~~^~~~~~~~~~~~~~~~~~~~~ variable.c:109:24: note: place parentheses around the assignment to silence this warning for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ ( ) variable.c:109:24: note: use '==' to turn this assignment into an equality comparison for( pp = val + 1; p = strchr( pp, split ); pp = p + 1 ) ^ == variable.c:195:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( l = list_next( l ) ) ~~^~~~~~~~~~~~~~~~ variable.c:195:13: note: place parentheses around the assignment to silence this warning if( l = list_next( l ) ) ^ ( ) variable.c:195:13: note: use '==' to turn this assignment into an equality comparison if( l = list_next( l ) ) ^ == 4 warnings generated. Archive bin/libjam.a ar: warning: creating bin/libjam.a Ranlib bin/libjam.a Cc bin/mkjambase.o mkjambase.c:27:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main( int argc, char **argv, char **envp ) ^ int 1 warning generated. Link bin/mkjambase Chmod1 bin/mkjambase Cc bin/jam.o In file included from jam.c:104: ./jam.h:294:10: warning: 'unix' macro redefined [-Wmacro-redefined] # define unix ^ :361:9: note: previous definition is here #define unix 1 ^ jam.c:169:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main( int argc, char **argv, char **arg_environ ) ^ int jam.c:235:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:235:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ ( ) jam.c:235:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 'd', n ); n++ ) ^ == jam.c:318:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 's', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:318:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ ( ) jam.c:318:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 's', n ); n++ ) ^ == jam.c:332:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:332:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ ( ) jam.c:332:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 'f', n ); n++ ) ^ == jam.c:342:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for( n = 0; s = getoptval( optv, 't', n ); n++ ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:342:16: note: place parentheses around the assignment to silence this warning for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ ( ) jam.c:342:16: note: use '==' to turn this assignment into an equality comparison for( n = 0; s = getoptval( optv, 't', n ); n++ ) ^ == jam.c:347:8: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( s = getoptval( optv, 'o', 0 ) ) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ jam.c:347:8: note: place parentheses around the assignment to silence this warning if( s = getoptval( optv, 'o', 0 ) ) ^ ( ) jam.c:347:8: note: use '==' to turn this assignment into an equality comparison if( s = getoptval( optv, 'o', 0 ) ) ^ == 7 warnings generated. GenFile1 jambase.c Cc bin/jambase.o Link bin/jam ld: warning: variable.c(variable.o:(var_string) in archive bin/libjam.a): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: scan.c(scan.o:(symdump) in archive bin/libjam.a): warning: sprintf() is often misused, please use snprintf() Chmod1 bin/jam ...updated 33 target(s)... >>> Running package in devel/jam at 1735132717.34 ===> devel/jam ===> Faking installation for jam-2.5p3 /exopi-obj/pobj/jam-2.5/bin/install -c -s -m 755 /exopi-obj/pobj/jam-2.5/jam-2.5/bin/jam /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/bin /exopi-obj/pobj/jam-2.5/bin/install -d -m 755 /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam /exopi-obj/pobj/jam-2.5/bin/install -c -m 644 /exopi-obj/pobj/jam-2.5/jam-2.5/Jam.html /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam /exopi-obj/pobj/jam-2.5/bin/install -c -m 644 /exopi-obj/pobj/jam-2.5/jam-2.5/Jambase.html /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam /exopi-obj/pobj/jam-2.5/bin/install -c -m 644 /exopi-obj/pobj/jam-2.5/jam-2.5/Jamfile.html /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam /exopi-obj/pobj/jam-2.5/bin/install -c -m 644 /exopi-obj/pobj/jam-2.5/jam-2.5/README /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam /exopi-obj/pobj/jam-2.5/bin/install -c -m 644 /exopi-obj/pobj/jam-2.5/jam-2.5/RELNOTES /exopi-obj/pobj/jam-2.5/fake-amd64/usr/local/share/doc/jam ===> Building package for jam-2.5p3 Create /exopi-cvs/ports/packages/amd64/all/jam-2.5p3.tgz Creating package jam-2.5p3 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|******** | 13% checksumming|************ | 20% checksumming|**************** | 27% checksumming|******************** | 33% checksumming|************************ | 40% checksumming|**************************** | 47% checksumming|********************************* | 53% checksumming|************************************* | 60% checksumming|***************************************** | 67% checksumming|********************************************* | 73% checksumming|************************************************* | 80% checksumming|***************************************************** | 87% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|***************************** | 45% archiving|************************************** | 60% archiving|******************************************** | 68% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/jam-2.5p3.tgz >>> Running clean in devel/jam at 1735132719.51 ===> devel/jam ===> Cleaning for jam-2.5p3 >>> Ended at 1735132720.16 max_stuck=0.00/build=13.68/package=2.19/clean=0.73