+ 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 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c 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) | ^~~~~~~~ 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 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' 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' 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' 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 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' 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': main.c:801:20: error: implicit declaration of function 'literalnumber' [-Wimplicit-function-declaration] 801 | it->it_cnumber = literalnumber(c); | ^~~~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped making "cup" in /home/pbulk/build/lang/cu-prolog/work/src *** Error code 1 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