+ 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/cu-prolog-3.94/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/cu-prolog-3.94/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cu-prolog-3.94 --- main.o --- --- jpsgsub.o --- --- mainsub.o --- --- modular.o --- --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c --- jpsgsub.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c jpsgsub.c --- mainsub.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c mainsub.c --- modular.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c modular.c --- main.o --- In file included from main.c:31: include.h:282:9: warning: "isfinite" redefined 282 | #define isfinite(F) ( ((F->f_mark) & FINITEFUN) != 0) | ^~~~~~~~ In file included from /usr/include/math.h:36, from include.h:23: /usr/include/iso/math_c99.h:73:9: note: this is the location of the previous definition 73 | #define isfinite(x) (__builtin_isfinite(x) != 0) | ^~~~~~~~ --- mainsub.o --- In file included from mainsub.c:20: include.h:282:9: warning: "isfinite" redefined 282 | #define isfinite(F) ( ((F->f_mark) & FINITEFUN) != 0) | ^~~~~~~~ In file included from /usr/include/math.h:36, from include.h:23: /usr/include/iso/math_c99.h:73:9: note: this is the location of the previous definition 73 | #define isfinite(x) (__builtin_isfinite(x) != 0) | ^~~~~~~~ --- jpsgsub.o --- In file included from jpsgsub.c:15: include.h:282:9: warning: "isfinite" redefined 282 | #define isfinite(F) ( ((F->f_mark) & FINITEFUN) != 0) | ^~~~~~~~ In file included from /usr/include/math.h:36, from include.h:23: /usr/include/iso/math_c99.h:73:9: note: this is the location of the previous definition 73 | #define isfinite(x) (__builtin_isfinite(x) != 0) | ^~~~~~~~ --- modular.o --- In file included from modular.c:16: include.h:282:9: warning: "isfinite" redefined 282 | #define isfinite(F) ( ((F->f_mark) & FINITEFUN) != 0) | ^~~~~~~~ In file included from /usr/include/math.h:36, from include.h:23: /usr/include/iso/math_c99.h:73:9: note: this is the location of the previous definition 73 | #define isfinite(x) (__builtin_isfinite(x) != 0) | ^~~~~~~~ --- jpsgsub.o --- jpsgsub.c: In function 'init_category': jpsgsub.c:51:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 51 | strcpy(catname[0],"POS");cattype[0] = Normal; | ^~~~~~ jpsgsub.c:16:1: note: include '' or provide a declaration of 'strcpy' 15 | #include "include.h" +++ |+#include 16 | jpsgsub.c:51:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 51 | strcpy(catname[0],"POS");cattype[0] = Normal; | ^~~~~~ jpsgsub.c:51:9: note: include '' or provide a declaration of 'strcpy' --- mainsub.o --- mainsub.c: In function 'decode_pname': mainsub.c:63:32: error: implicit declaration of function 'atoi'; did you mean 'atof'? [-Wimplicit-function-declaration] 63 | return(atoi(fname + 1)); | ^~~~ | atof mainsub.c: In function 'spyswitch': mainsub.c:74:9: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 74 | if (strcmp (fname, "*") == 0) { | ^~~~~~ mainsub.c:21:1: note: include '' or provide a declaration of 'strcmp' 20 | #include "include.h" +++ |+#include 21 | --- jpsgsub.o --- jpsgsub.c: In function 'list_to_cat': jpsgsub.c:70:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 70 | strcpy(catname[i],vname(head_of_list(t))); | ^~~~~~ jpsgsub.c:70:17: note: include '' or provide a declaration of 'strcpy' --- main.o --- main.c: In function 'decode_args': main.c:71:16: error: implicit declaration of function 'atoi'; did you mean 'atof'? [-Wimplicit-function-declaration] 71 | size = atoi(arg+2)*1000; | ^~~~ | atof --- mainsub.o --- mainsub.c: In function 'loghandle': mainsub.c:337:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 337 | strcpy (logfile, "no"); | ^~~~~~ mainsub.c:337:9: note: include '' or provide a declaration of 'strcpy' mainsub.c:337:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] mainsub.c:337:9: note: include '' or provide a declaration of 'strcpy' --- main.o --- main.c: In function 'system_heap_alloc': main.c:230:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 230 | if (NULL == (sheap=(int *)malloc(SHEAP_SIZE+1))) | ^~~~~~ main.c:33:1: note: include '' or provide a declaration of 'malloc' 32 | #include +++ |+#include 33 | main.c:230:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 230 | if (NULL == (sheap=(int *)malloc(SHEAP_SIZE+1))) | ^~~~~~ main.c:230:31: note: include '' or provide a declaration of 'malloc' --- mainsub.o --- mainsub.c:354:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 354 | strcpy (logfile, fname); | ^~~~~~ mainsub.c:354:17: note: include '' or provide a declaration of 'strcpy' --- main.o --- main.c:233:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 233 | exit(0); | ^~~~ main.c:233:9: note: include '' or provide a declaration of 'exit' main.c:233:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] main.c:233:9: note: include '' or provide a declaration of 'exit' main.c: In function 'user_heap_alloc': main.c:241:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 241 | if (NULL == (heap=(int *)malloc(HEAP_SIZE+1))) | ^~~~~~ main.c:241:30: note: include '' or provide a declaration of 'malloc' main.c:244:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 244 | exit(0); | ^~~~ main.c:244:9: note: include '' or provide a declaration of 'exit' --- modular.o --- modular.c: In function 'tepairtype': modular.c:379:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 379 | return(((int)t + (int)e) % UHASHSIZE); | ^ modular.c:379:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 379 | return(((int)t + (int)e) % UHASHSIZE); | ^ modular.c: In function 'push_log': include.h:479:33: error: implicit declaration of function 'challoc'; did you mean 'nalloc'? [-Wimplicit-function-declaration] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^~~~~~~ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ modular.c:414:9: note: in expansion of macro 'MEMORY_ALLOC' 414 | MEMORY_ALLOC(u,up_log,TEMPORAL); | ^~~~~~~~~~~~ --- main.o --- main.c: In function 'cstr_heap_alloc': main.c:252:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 252 | if (NULL == (cheap=(int *)malloc(CHEAP_SIZE+1))) | ^~~~~~ main.c:252:31: note: include '' or provide a declaration of 'malloc' main.c:255:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 255 | exit(0); | ^~~~ main.c:255:9: note: include '' or provide a declaration of 'exit' main.c: In function 'env_heap_alloc': main.c:263:41: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 263 | if (NULL == (eheap = (struct pair *)malloc(ESP_SIZE+1))) | ^~~~~~ main.c:263:41: note: include '' or provide a declaration of 'malloc' --- modular.o --- include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ modular.c:414:9: note: in expansion of macro 'MEMORY_ALLOC' 414 | MEMORY_ALLOC(u,up_log,TEMPORAL); | ^~~~~~~~~~~~ modular.c: In function 'push_pstlog': include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ modular.c:441:9: note: in expansion of macro 'MEMORY_ALLOC' 441 | MEMORY_ALLOC(u,up_log,TEMPORAL); | ^~~~~~~~~~~~ --- main.o --- main.c:266:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 266 | exit(0); | ^~~~ main.c:266:9: note: include '' or provide a declaration of 'exit' main.c: In function 'ustack_alloc': main.c:274:44: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 274 | if (NULL == (ustack = (struct ustack *)malloc(USTACK_SIZE+1))) | ^~~~~~ main.c:274:44: note: include '' or provide a declaration of 'malloc' main.c:277:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 277 | exit(0); | ^~~~ main.c:277:9: note: include '' or provide a declaration of 'exit' main.c: In function 'name_heap_alloc': main.c:285:34: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 285 | if (NULL == (nheap = (char *)malloc(NAME_SIZE+1))) | ^~~~~~ main.c:285:34: note: include '' or provide a declaration of 'malloc' main.c:288:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 288 | exit(0); | ^~~~ main.c:288:9: note: include '' or provide a declaration of 'exit' main.c: In function 'heap_realloc': main.c:307:5: error: implicit declaration of function 'cfree' [-Wimplicit-function-declaration] 307 | cfree((char *)sheap); SHEAP_SIZE=SHEAP_SIZE*1.2; system_heap_alloc(); | ^~~~~ main.c: In function 'prepare': main.c:337:15: error: implicit declaration of function 'isatty'; did you mean 'isatom'? [-Wimplicit-function-declaration] 337 | tty = isatty(0); | ^~~~~~ | isatom --- modular.o --- modular.c: In function 'up_pst': include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ modular.c:565:3: note: in expansion of macro 'MEMORY_ALLOC' 565 | MEMORY_ALLOC(nt,pst,flag); | ^~~~~~~~~~~~ include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ modular.c:568:3: note: in expansion of macro 'MEMORY_ALLOC' 568 | MEMORY_ALLOC(pv,pstvar,flag); | ^~~~~~~~~~~~ --- main.o --- main.c: In function 'garbagecollect': main.c:550:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 550 | strcpy(nbuf, "TEMPF.###"); /* temporary file */ | ^~~~~~ main.c:33:1: note: include '' or provide a declaration of 'strcpy' 32 | #include +++ |+#include 33 | main.c:550:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 550 | strcpy(nbuf, "TEMPF.###"); /* temporary file */ | ^~~~~~ main.c:550:9: note: include '' or provide a declaration of 'strcpy' main.c: In function 'edit_predicate': main.c:563:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 563 | strcpy(nbuf, "TEMPF.prd"); /* temporary file */ | ^~~~~~ main.c:563:9: note: include '' or provide a declaration of 'strcpy' --- mainsub.o --- mainsub.c: In function 'calc_component': include.h:479:33: error: implicit declaration of function 'challoc'; did you mean 'nalloc'? [-Wimplicit-function-declaration] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^~~~~~~ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:650:25: note: in expansion of macro 'MEMORY_ALLOC' 650 | MEMORY_ALLOC(fl,funclist,TEMPORAL); | ^~~~~~~~~~~~ include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:650:25: note: in expansion of macro 'MEMORY_ALLOC' 650 | MEMORY_ALLOC(fl,funclist,TEMPORAL); | ^~~~~~~~~~~~ mainsub.c: In function 'recalc_component': --- main.o --- main.c:564:9: error: implicit declaration of function 'system'; did you mean 'issystem'? [-Wimplicit-function-declaration] 564 | system("rm -f TEMPF.prd"); /* delete old temp file */ | ^~~~~~ | issystem main.c: In function 'defnewfunc': --- mainsub.o --- include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:694:25: note: in expansion of macro 'MEMORY_ALLOC' 694 | MEMORY_ALLOC(fl,funclist,TEMPORAL); | ^~~~~~~~~~~~ mainsub.c: In function 'add_label': include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:894:9: note: in expansion of macro 'MEMORY_ALLOC' 894 | MEMORY_ALLOC(nc,component,flag); | ^~~~~~~~~~~~ --- modular.o --- modular.c: In function 'try_fold': modular.c:726:11: error: implicit declaration of function 'literalnumber'; did you mean 'termnumber'? [-Wimplicit-function-declaration] 726 | count = literalnumber(c); /* number of terms in c */ | ^~~~~~~~~~~~~ | termnumber modular.c:732:23: error: implicit declaration of function 'match' [-Wimplicit-function-declaration] 732 | if (match(c, it->it_clause->c_link, e) == FALSE) | ^~~~~ modular.c: In function 'match_term': include.h:185:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 185 | (is_string(t) && (strcmp(str_value(t),str_value(u)) == 0)) ||\ | ^~~~~~ modular.c:804:27: note: in expansion of macro 'atomic_equal' 804 | if ((t1==t2) ||(atomic_equal(t1,t2))) return(TRUE); | ^~~~~~~~~~~~ --- mainsub.o --- mainsub.c: In function 'copy_component': include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:909:5: note: in expansion of macro 'MEMORY_ALLOC' 909 | MEMORY_ALLOC(nc,component,flag); | ^~~~~~~~~~~~ mainsub.c: In function 'merge_component': include.h:479:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 479 | #define cnew(s) (struct s *)challoc(sizeof (struct s) / sizeof (int)) | ^ include.h:487:17: note: in expansion of macro 'cnew' 487 | X=cnew(Y); break; \ | ^~~~ mainsub.c:944:21: note: in expansion of macro 'MEMORY_ALLOC' 944 | MEMORY_ALLOC(nc,component,flag); --- modular.o --- modular.c:17:1: note: include '' or provide a declaration of 'strcmp' 16 | #include "include.h" +++ |+#include 17 | --- mainsub.o --- | ^~~~~~~~~~~~ mainsub.c: In function 'oscommand': --- main.o --- main.c:801:20: error: implicit declaration of function 'literalnumber' [-Wimplicit-function-declaration] 801 | it->it_cnumber = literalnumber(c); | ^~~~~~~~~~~~~ --- mainsub.o --- mainsub.c:973:9: error: implicit declaration of function 'system'; did you mean 'issystem'? [-Wimplicit-function-declaration] 973 | if (system (nbuf) != 0) | ^~~~~~ | issystem mainsub.c: In function 'quit_prolog': mainsub.c:999:13: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 999 | exit (1); /* end */ | ^~~~ mainsub.c:21:1: note: include '' or provide a declaration of 'exit' 20 | #include "include.h" +++ |+#include 21 | mainsub.c:999:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 999 | exit (1); /* end */ | ^~~~ mainsub.c:999:13: note: include '' or provide a declaration of 'exit' --- jpsgsub.o --- *** [jpsgsub.o] Error code 1 bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src --- modular.o --- *** [modular.o] Error code 1 bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src --- main.o --- *** [main.o] Error code 1 bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src --- mainsub.o --- *** [mainsub.o] Error code 1 bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src bmake: 4 errors bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/cu-prolog *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/lang/cu-prolog