+ 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/fastcap-2.0.19920918nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fastcap-2.0.19920918nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fastcap-2.0.19920918nb4 cd src ; /opt/pkg/bin/bmake fastcap gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DFOUR -c ./mulGlobal.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DFOUR -c ./mulSetup.c In file included from ./mulSetup.c:36: ./mulSetup.c: In function 'mulInit': ./mulGlobal.h:76:28: error: implicit declaration of function 'ualloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] 76 | #define CALCORE(NUM, TYPE) ualloc((unsigned)(NUM)*sizeof(TYPE)) | ^~~~~~ ./mulGlobal.h:118:29: note: in expansion of macro 'CALCORE' 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^~~~~~~ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' 61 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' 61 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~ ./mulGlobal.h:109:32: error: implicit declaration of function 'sbrk' [-Wimplicit-function-declaration] 109 | memcount/1024, sbrk(0)); \ | ^~~~ ./mulGlobal.h:124:8: note: in expansion of macro 'DUMPALLOCSIZ' 124 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ ./mulSetup.c:61:3: note: in expansion of macro 'CALLOC' 61 | CALLOC(sys, 1, ssystem, ON, AMSC); | ^~~~~~ ./mulSetup.c:67:3: error: implicit declaration of function 'getrelations' [-Wimplicit-function-declaration] 67 | getrelations(sys); /* Get all the prnts and kids for each cube. */ | ^~~~~~~~~~~~ ./mulSetup.c:69:3: error: implicit declaration of function 'setPosition' [-Wimplicit-function-declaration] 69 | setPosition(sys); /* Figures out position of cube center. */ | ^~~~~~~~~~~ ./mulSetup.c:74:3: error: implicit declaration of function 'setExact' [-Wimplicit-function-declaration] 74 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^~~~~~~~ ./mulSetup.c:74:17: error: implicit declaration of function 'multerms' [-Wimplicit-function-declaration] 74 | setExact(sys, multerms(sys->order)); /* Note cubes to be done exactly and | ^~~~~~~~ ./mulSetup.c: In function 'placeq': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:169:3: note: in expansion of macro 'CALLOC' 169 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:170:3: note: in expansion of macro 'CALLOC' 170 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:173:3: note: in expansion of macro 'CALLOC' 173 | CALLOC(sys->is_dummy, totalq+1, int, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:176:3: note: in expansion of macro 'CALLOC' 176 | CALLOC(sys->is_dielec, totalq+1, int, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:180:5: note: in expansion of macro 'CALLOC' 180 | CALLOC(cubes, MAXDEP+1, cube****, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:184:7: note: in expansion of macro 'CALLOC' 184 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:186:9: note: in expansion of macro 'CALLOC' 186 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:188:11: note: in expansion of macro 'CALLOC' 188 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:207:7: note: in expansion of macro 'CALLOC' 207 | CALLOC(cubes[i], side, cube***, OFF, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:213:9: note: in expansion of macro 'CALLOC' 213 | CALLOC(cubes[i][j], side, cube**, OFF, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:219:11: note: in expansion of macro 'CALLOC' 219 | CALLOC(cubes[i][j][k], side, cube*, OFF, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:234:11: note: in expansion of macro 'CALLOC' 234 | CALLOC(nextc, 1, cube, OFF, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:241:11: note: in expansion of macro 'CALLOC' 241 | CALLOC(nextc->upnumeles, 1, int, OFF, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:298:5: note: in expansion of macro 'CALLOC' 298 | CALLOC(cubes, sys->depth+1, cube****, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:300:7: note: in expansion of macro 'CALLOC' 300 | CALLOC(cubes[i], side, cube***, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:302:9: note: in expansion of macro 'CALLOC' 302 | CALLOC(cubes[i][j], side, cube**, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:304:11: note: in expansion of macro 'CALLOC' 304 | CALLOC(cubes[i][j][k], side, cube*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:318:9: note: in expansion of macro 'CALLOC' 318 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:321:9: note: in expansion of macro 'CALLOC' 321 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:340:11: note: in expansion of macro 'CALLOC' 340 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:341:11: note: in expansion of macro 'CALLOC' 341 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:398:8: error: return type defaults to 'int' [-Wimplicit-int] 398 | static placeqold(sys, charges) | ^~~~~~~~~ ./mulSetup.c: In function 'placeqold': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:427:3: note: in expansion of macro 'CALLOC' 427 | CALLOC(sys->q, totalq+1, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:428:3: note: in expansion of macro 'CALLOC' 428 | CALLOC(sys->p, totalq+1, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:450:7: note: in expansion of macro 'CALLOC' 450 | CALLOC(nextc, 1, cube, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:453:7: note: in expansion of macro 'CALLOC' 453 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:468:11: note: in expansion of macro 'CALLOC' 468 | CALLOC(nextc->chgs, nextc->upnumeles[0], charge*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:469:11: note: in expansion of macro 'CALLOC' 469 | CALLOC(nextc->upnumeles, 1, int, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:497:1: error: return type defaults to 'int' [-Wimplicit-int] 497 | getrelations(sys) | ^~~~~~~~~~~~ ./mulSetup.c: In function 'getrelations': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:511:15: note: in expansion of macro 'CALLOC' 511 | CALLOC(nextc->kids, nextc->numkids, cube*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:524:17: note: in expansion of macro 'CALLOC' 524 | CALLOC(parent, 1, cube, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:539:1: error: return type defaults to 'int' [-Wimplicit-int] 539 | setPosition(sys) | ^~~~~~~~~~~ ./mulSetup.c:576:8: error: return type defaults to 'int' [-Wimplicit-int] 576 | static indexkid(sys, dad, pqindex, pcindex) | ^~~~~~~~ ./mulSetup.c: In function 'indexkid': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:585:7: note: in expansion of macro 'CALLOC' 585 | CALLOC(dad->upvects, 1, double*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:586:7: note: in expansion of macro 'CALLOC' 586 | CALLOC(dad->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:614:1: error: return type defaults to 'int' [-Wimplicit-int] 614 | setExact(sys, numterms) | ^~~~~~~~ ./mulSetup.c: In function 'setExact': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:684:17: note: in expansion of macro 'CALLOC' 684 | CALLOC(nc->upvects, 1, double*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:685:17: note: in expansion of macro 'CALLOC' 685 | CALLOC(nc->upnumeles, 1, int, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:688:17: note: in expansion of macro 'CALLOC' 688 | CALLOC(nc->chgs, num_eval_pnts, charge*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:696:27: note: in expansion of macro 'CALLOC' 696 | CALLOC(nc->nbr_is_dummy, 1, int*, ON, AMSC); | ^~~~~~ ./mulSetup.c: In function 'getnbrs': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:773:33: note: in expansion of macro 'CALLOC' 773 | if(nc->numnbrs > 0) CALLOC(nc->nbrs, numnbrs, cube*, ON, AMSC); | ^~~~~~ ./mulSetup.c: In function 'linkcubes': ./mulSetup.c:809:48: error: implicit declaration of function 'multerms' [-Wimplicit-function-declaration] 809 | int dindex, side, depth=sys->depth, numterms=multerms(sys->order); | ^~~~~~~~ ./mulSetup.c:621:36: note: previous declaration of 'multerms' with type 'int()' 621 | int numchgs, num_eval_pnts, first, multerms(); | ^~~~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:812:3: note: in expansion of macro 'CALLOC' 812 | CALLOC(sys->multilist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:813:3: note: in expansion of macro 'CALLOC' 813 | CALLOC(sys->locallist, sys->depth+1, cube*, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:827:17: note: in expansion of macro 'CALLOC' 827 | CALLOC(nc->multi, numterms, double, ON, AMSC); | ^~~~~~ ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:839:17: note: in expansion of macro 'CALLOC' 839 | CALLOC(nc->local, numterms, double, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:859:8: error: return type defaults to 'int' [-Wimplicit-int] 859 | static setMaxq(sys) | ^~~~~~~ ./mulSetup.c:952:8: error: return type defaults to 'int' [-Wimplicit-int] 952 | static markUp(child, flag) | ^~~~~~ ./mulSetup.c:970:8: error: return type defaults to 'int' [-Wimplicit-int] 970 | static getInter(child) | ^~~~~~~~ ./mulSetup.c: In function 'getInter': ./mulGlobal.h:118:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | else if(((PNTR)=(TYPE*)CALCORE(NUM, TYPE))==NULL) { \ | ^ ./mulSetup.c:1031:17: note: in expansion of macro 'CALLOC' 1031 | if(vects > 0) CALLOC(child->interList, vects, cube*, ON, AMSC); | ^~~~~~ ./mulSetup.c: At top level: ./mulSetup.c:1040:8: error: return type defaults to 'int' [-Wimplicit-int] 1040 | static getAllInter(sys) | ^~~~~~~~~~~ ./mulSetup.c:1062:8: error: return type defaults to 'int' [-Wimplicit-int] 1062 | static set_vector_masks(sys) | ^~~~~~~~~~~~~~~~ *** Error code 1 Stop. bmake[1]: stopped making "fastcap" in /home/pbulk/build/cad/fastcap/work/src *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/cad/fastcap/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cad/fastcap *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/cad/fastcap