+ 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/gt-itm-0pre19961004nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gt-itm-0pre19961004nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gt-itm-0pre19961004nb1 --- itm.o --- --- geog.o --- --- ts.o --- --- dfs.o --- --- geog.o --- gcc -I../include -L../lib -I/opt/pkg/include -c geog.c In file included from geog.c:16: ../include/geog.h:44:9: warning: "MAXNAMELEN" redefined 44 | #define MAXNAMELEN 128 | ^~~~~~~~~~ In file included from geog.c:10: /usr/include/sys/param.h:202:9: note: this is the location of the previous definition 202 | #define MAXNAMELEN 256 | ^~~~~~~~~~ geog.c: In function 'randomize': geog.c:75:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 75 | register i,indx; | ^ geog.c:75:12: error: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 75 | register i,indx; | ^~~~ geog.c: In function 'geo': geog.c:153:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 153 | register i,j; | ^ geog.c:153:12: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 153 | register i,j; | ^ geog.c:189:26: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 189 | occ = (u_char *) alloca(nbytes); | ^~~~~~ geog.c:189:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] geog.c:238:17: error: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration] 238 | die("Bad edge method in geo()!"); | ^~~ | div geog.c: In function 'geo_hier': geog.c:359:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 359 | register i,k,indx; | ^ geog.c:359:12: error: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] 359 | register i,k,indx; | ^ geog.c:359:14: error: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 359 | register i,k,indx; | ^~~~ geog.c:392:30: error: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 392 | } while (tG != NULL && !isconnected(tG)); | ^~~~~~~~~~~ geog.c:397:19: error: implicit declaration of function 'fdiam'; did you mean 'fdim'? [-Wimplicit-function-declaration] 397 | maxDiam[0] = fdiam(tG); | ^~~~~ | fdim *** [geog.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/gt-itm/work/src --- ts.o --- gcc -I../include -L../lib -I/opt/pkg/include -c ts.c ts.c: In function 'fdiam': ts.c:74:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:74:12: error: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:74:14: error: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:83:25: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 83 | dist = (long **)alloca(i); | ^~~~~~ ts.c:83:25: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] ts.c:97:31: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 97 | dist[i] = (long *)alloca(g->n*sizeof(long)); | ^~~~~~ ts.c: In function 'die': ts.c:172:1: error: type of 's' defaults to 'int' [-Wimplicit-int] 172 | die(s) | ^~~ ts.c: In function 'copyedges': ts.c:185:10: error: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 185 | register i, indx; | ^ ts.c:185:13: error: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 185 | register i, indx; | ^~~~ ts.c: In function 'transtub': ts.c:299:14: error: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 299 | } while (!isconnected(topG) && ++numtries < 100); | ^~~~~~~~~~~ ts.c:309:4: error: implicit declaration of function 'randomize'; did you mean 'random'? [-Wimplicit-function-declaration] 309 | randomize(nnodes,topG->n,transpp->n,RANDMULT*topG->n); | ^~~~~~~~~ | random ts.c:522:44: error: implicit declaration of function 'idist' [-Wimplicit-function-declaration] 522 | gb_new_edge(dnp->flat,anp, idist(dnp->flat,anp)); | ^~~~~ ts.c:580:19: error: implicit declaration of function 'td_OK' [-Wimplicit-function-declaration] 580 | } while (!td_OK(snp,dnp)); | ^~~~~ ts.c:601:19: error: implicit declaration of function 'stubs_OK' [-Wimplicit-function-declaration] 601 | } while (!stubs_OK(dnp,ddnp)); | ^~~~~~~~ ts.c:618:9: error: implicit declaration of function 'printparms' [-Wimplicit-function-declaration] 618 | i += printparms(dnodename,toppp); | ^~~~~~~~~~ *** [ts.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/gt-itm/work/src --- itm.o --- gcc -I../include -L../lib -I/opt/pkg/include -c itm.c itm.c: In function 'makegraph': itm.c:208:9: error: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration] 208 | die(errstr); | ^~~ | div itm.c:270:36: error: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 270 | } while (G != NULL && !isconnected(G)); | ^~~~~~~~~~~ itm.c:290:19: error: implicit declaration of function 'save_graph'; did you mean 'makegraph'? [-Wimplicit-function-declaration] 290 | nerrors = save_graph(G, outfilename); | ^~~~~~~~~~ | makegraph itm.c: At top level: itm.c:299:1: error: return type defaults to 'int' [-Wimplicit-int] 299 | main(int argc, char **argv) | ^~~~ *** [itm.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/gt-itm/work/src --- dfs.o --- gcc -I../include -L../lib -I/opt/pkg/include -c dfs.c dfs.c:19:9: warning: "NBBY" redefined 19 | #define NBBY 8 | ^~~~ In file included from /usr/include/sys/types.h:687, from dfs.c:10: /usr/include/sys/select.h:103:9: note: this is the location of the previous definition 103 | #define NBBY _NBBY | ^~~~ dfs.c:23:1: error: return type defaults to 'int' [-Wimplicit-int] 23 | isconnected(Graph *G) | ^~~~~~~~~~~ dfs.c: In function 'isconnected': dfs.c:32:26: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 32 | vis = (u_char *) alloca(nbytes); | ^~~~~~ dfs.c:32:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] dfs.c:39:11: error: implicit declaration of function 'dfs'; did you mean 'ffs'? [-Wimplicit-function-declaration] 39 | i = (dfs(G,0,vis)==G->n); | ^~~ | ffs *** [dfs.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/gt-itm/work/src bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/net/gt-itm/work/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/gt-itm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/gt-itm