+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ncdc-1.24.1nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ncdc-1.24.1nb1/work.log ===> Building for ncdc-1.24.1nb1 --- all --- /opt/pkg/bin/bmake all-am --- src/.dirstamp --- --- src/.deps/.dirstamp --- --- doc/.dirstamp --- --- doc/.deps/.dirstamp --- --- deps/.dirstamp --- --- deps/.deps/.dirstamp --- --- deps/ylib/.dirstamp --- --- deps/ylib/.deps/.dirstamp --- --- doc/gendoc.o --- --- deps/makeheaders.o --- --- doc/gendoc.o --- CC doc/gendoc.o --- deps/makeheaders.o --- CC deps/makeheaders.o --- deps/yxml.o --- --- deps/ylib/yuri.o --- --- deps/yxml.o --- CC deps/yxml.o --- deps/ylib/yuri.o --- CC deps/ylib/yuri.o --- deps/makeheaders.o --- deps/makeheaders.c: In function 'StrDup': deps/makeheaders.c:438:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 438 | nByte = strlen(zSrc); | ^~~~~~ deps/makeheaders.c:50:1: note: include '' or provide a declaration of 'strlen' 49 | # include +++ |+#include 50 | #endif deps/makeheaders.c:438:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 438 | nByte = strlen(zSrc); | ^~~~~~ deps/makeheaders.c:438:13: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:441:3: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 441 | strncpy(zDest,zSrc,nByte); | ^~~~~~~ deps/makeheaders.c:441:3: note: include '' or provide a declaration of 'strncpy' deps/makeheaders.c:441:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] deps/makeheaders.c:441:3: note: include '' or provide a declaration of 'strncpy' deps/makeheaders.c: In function 'StringAppend': deps/makeheaders.c:465:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 465 | nByte = strlen(zText); | ^~~~~~ deps/makeheaders.c:465:13: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:476:3: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 476 | strncpy(&pStr->zText[pStr->nUsed],zText,nByte); | ^~~~~~~ deps/makeheaders.c:476:3: note: include '' or provide a declaration of 'strncpy' deps/makeheaders.c: In function 'Hash': deps/makeheaders.c:489:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 489 | n = strlen(z); | ^~~~~~ deps/makeheaders.c:489:9: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'FindDecl': deps/makeheaders.c:507:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 507 | len = strlen(zName); | ^~~~~~ deps/makeheaders.c:507:11: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:511:16: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 511 | while( p && (strncmp(p->zName,zName,len)!=0 || p->zName[len]!=0) ){ | ^~~~~~~ deps/makeheaders.c:511:16: note: include '' or provide a declaration of 'strncmp' deps/makeheaders.c:511:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 511 | while( p && (strncmp(p->zName,zName,len)!=0 || p->zName[len]!=0) ){ | ^~~ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'InstallDecl': deps/makeheaders.c:527:20: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 527 | while( pOther && strcmp(pDecl->zName,pOther->zName)!=0 ){ | ^~~~~~ deps/makeheaders.c:527:20: note: include '' or provide a declaration of 'strcmp' deps/makeheaders.c: In function 'IdentTableInsert': deps/makeheaders.c:618:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 618 | nId = strlen(zId); | ^~~~~~ deps/makeheaders.c:618:11: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:622:32: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 622 | if( strncmp(zId,pId->zName,nId)==0 && pId->zName[nId]==0 ){ | ^~~ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'IdentTableTest': deps/makeheaders.c:651:11: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 651 | nId = strlen(zId); | ^~~~~~ deps/makeheaders.c:651:11: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:655:32: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 655 | if( strncmp(zId,pId->zName,nId)==0 && pId->zName[nId]==0 ){ | ^~~ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'WriteFile': deps/makeheaders.c:731:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 731 | fwrite(zOutput,1,strlen(zOutput),pOut); | ^~~~~~ deps/makeheaders.c:731:20: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'GetNonspaceToken': deps/makeheaders.c:1044:30: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1044 | if( strncmp(z,"if",2)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1046:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1046 | }else if( strncmp(z,"endif",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'TokensToString': deps/makeheaders.c:1388:68: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1388 | if( pFirst->nText==6 && strncmp(pFirst->zText,"EXPORT",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1394:67: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1394 | case 6: skipOne = !strncmp(pFirst->zText,"PUBLIC", 6); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1395:67: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1395 | case 7: skipOne = !strncmp(pFirst->zText,"PRIVATE",7); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1396:69: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1396 | case 9: skipOne = !strncmp(pFirst->zText,"PROTECTED",9); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1429:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1429 | StringAppend(&str,zTerm,strlen(zTerm)); | ^~~~~~ deps/makeheaders.c:1429:29: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'ProcessTypeDecl': deps/makeheaders.c:1593:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1593 | if( pName->nText==5 && strncmp(pName->zText,"class",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'ProcessMethodDef': deps/makeheaders.c:1694:52: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1694 | case 6: rc = strncmp(pFirst->zText,"PUBLIC",6); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1695:53: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1695 | case 7: rc = strncmp(pFirst->zText,"PRIVATE",7); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1696:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1696 | case 9: rc = strncmp(pFirst->zText,"PROTECTED",9); break; | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'isVariableDef': deps/makeheaders.c:1890:69: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1890 | (pEnd->pPrev->nText!=8 || strncmp(pEnd->pPrev->zText,"operator",8)!=0) | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'ProcessDecl': deps/makeheaders.c:1947:61: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1947 | ((pFirst->nText==6 && strncmp(pFirst->zText,"static",6)==0) | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:1948:63: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 1948 | || (pFirst->nText==5 && strncmp(pFirst->zText,"LOCAL",6)==0)) | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'PushIfMacro': deps/makeheaders.c:2036:16: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2036 | nByte += strlen(zPrefix) + 2; | ^~~~~~ deps/makeheaders.c:2036:16: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'ParsePreprocessor': deps/makeheaders.c:2094:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2094 | if( nCmd==5 && strncmp(zCmd,"endif",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2105:46: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2105 | }else if( nCmd==6 && strncmp(zCmd,"define",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2128:47: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2128 | }else if( nCmd==7 && strncmp(zCmd,"include",7)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2148:57: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2148 | pInclude = SafeMalloc( sizeof(Include) + nArg*2 + strlen(zIf) + 10 ); | ^~~~~~ deps/makeheaders.c:2148:57: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c:2164:42: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2164 | }else if( nCmd==2 && strncmp(zCmd,"if",2)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2175:45: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2175 | if( nArg==9 && strncmp(zArg,"INTERFACE",9)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2177:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2177 | }else if( nArg==16 && strncmp(zArg,"EXPORT_INTERFACE",16)==0 ){ | ^~ : note: built-in 'strncmp' declared here deps/makeheaders.c:2179:58: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2179 | }else if( nArg==15 && strncmp(zArg,"LOCAL_INTERFACE",15)==0 ){ | ^~ : note: built-in 'strncmp' declared here deps/makeheaders.c:2184:45: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2184 | }else if( nCmd==5 && strncmp(zCmd,"ifdef",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2195:46: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2195 | }else if( nCmd==6 && strncmp(zCmd,"ifndef",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2206:44: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2206 | }else if( nCmd==4 && strncmp(zCmd,"else",4)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2218:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2218 | PushIfMacro("!",pIf->zCondition,strlen(pIf->zCondition),pIf->nLine,0); | ^~~~~~ deps/makeheaders.c:2218:39: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'ParseFile': deps/makeheaders.c:2281:55: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2281 | && strncmp(pList->pPrev->zText,"operator",8)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2318:62: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2318 | if( pList->nText==5 && strncmp(pList->zText,"class",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2324:63: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2324 | if( pList->nText==6 && strncmp(pList->zText,"EXPORT",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2331:61: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2331 | if( pList->nText==4 && strncmp(pList->zText,"enum",4)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2337:69: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2337 | }else if( pList->nText==6 && strncmp(pList->zText,"extern",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2339:73: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2339 | if( pList && pList->nText==3 && strncmp(pList->zText,"\"C\"",3)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2350:63: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2350 | if( pList->nText==6 && strncmp(pList->zText,"inline",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2356:62: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2356 | if( pList->nText==5 && strncmp(pList->zText,"LOCAL",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2363:64: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2363 | if( pList->nText==6 && strncmp(pList->zText, "PUBLIC",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2366:71: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2366 | }else if( pList->nText==7 && strncmp(pList->zText, "PRIVATE",7)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2369:72: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2369 | }else if( pList->nText==9 && strncmp(pList->zText,"PROTECTED",9)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2376:63: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2376 | if( pList->nText==6 && strncmp(pList->zText,"struct",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2382:69: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2382 | }else if( pList->nText==6 && strncmp(pList->zText,"static",6)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2388:64: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2388 | if( pList->nText==7 && strncmp(pList->zText,"typedef",7)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c:2394:62: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2394 | if( pList->nText==5 && strncmp(pList->zText,"union",5)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'InsertExtraDecl': deps/makeheaders.c:2455:7: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2455 | i = strlen(pDecl->zDecl) - 1; | ^~~~~~ deps/makeheaders.c:2455:7: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'DeclareObject': deps/makeheaders.c:2582:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 2582 | if( strncmp(p->zFwd,"typedef",7)==0 ){ | ^ : note: built-in 'strncmp' declared here deps/makeheaders.c: In function 'MakeHeader': deps/makeheaders.c:2830:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2830 | pFile->zHdr, (int)strlen(pFile->zHdr), ""); | ^~~~~~ deps/makeheaders.c:2830:26: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'DocumentationDump': deps/makeheaders.c:2991:26: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2991 | pDecl->zIf ? (int)strlen(pDecl->zIf)+1 : 0, | ^~~~~~ deps/makeheaders.c:2991:26: note: include '' or provide a declaration of 'strlen' deps/makeheaders.c: In function 'AddParameters': deps/makeheaders.c:3190:11: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 3190 | strcpy( zNew[j], zBuf ); | ^~~~~~ deps/makeheaders.c:3190:11: note: include '' or provide a declaration of 'strcpy' deps/makeheaders.c:3190:11: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] deps/makeheaders.c:3190:11: note: include '' or provide a declaration of 'strcpy' --- src/version.h --- GEN src/version.h --- deps/makeheaders.o --- *** [deps/makeheaders.o] Error code 1 bmake[1]: stopped making "all-am" in /home/pbulk/build/net/ncdc/work/ncdc-1.24.1 bmake[1]: 1 error bmake[1]: stopped making "all-am" in /home/pbulk/build/net/ncdc/work/ncdc-1.24.1 bmake: stopped making "all" in /home/pbulk/build/net/ncdc/work/ncdc-1.24.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ncdc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ncdc