=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/lang/cu-prolog", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cu-prolog-3.94 --- main.o --- --- jpsgsub.o --- --- mainsub.o --- --- jpsgsub.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c jpsgsub.c --- main.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c main.c --- mainsub.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c mainsub.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) | ^~~~~~~~ --- 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 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': --- mainsub.o --- mainsub.c: In function 'decode_pname': --- main.o --- 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))) | ^~~~~~ --- mainsub.o --- mainsub.c:63:32: error: implicit declaration of function 'atoi'; did you mean 'atof'? [-Wimplicit-function-declaration] 63 | return(atoi(fname + 1)); | ^~~~ | atof --- main.o --- main.c:252:31: note: include '' or provide a declaration of 'malloc' --- mainsub.o --- mainsub.c: In function 'spyswitch': --- main.o --- main.c:255:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 255 | exit(0); | ^~~~ --- mainsub.o --- mainsub.c:74:9: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 74 | if (strcmp (fname, "*") == 0) { | ^~~~~~ --- main.o --- main.c:255:9: note: include '' or provide a declaration of 'exit' --- mainsub.o --- mainsub.c:21:1: note: include '' or provide a declaration of 'strcmp' 20 | #include "include.h" +++ |+#include 21 | --- main.o --- 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': --- 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) | ^~~~~~~~ --- main.o --- 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' --- jpsgsub.o --- 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.o --- 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 --- 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' --- jpsgsub.o --- jpsgsub.c: In function 'init_category': --- mainsub.o --- 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' --- jpsgsub.o --- 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: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' --- 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 '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 --- 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': 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); | ^~~~~~~~~~~~ --- main.o --- main.c: In function 'defnewfunc': main.c:801:20: error: implicit declaration of function 'literalnumber' [-Wimplicit-function-declaration] 801 | it->it_cnumber = literalnumber(c); | ^~~~~~~~~~~~~ --- mainsub.o --- 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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ mainsub.c: In function 'oscommand': 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 /tmp/work/lang/cu-prolog/work/src --- main.o --- *** [main.o] Error code 1 bmake: stopped making "cup" in /tmp/work/lang/cu-prolog/work/src --- mainsub.o --- *** [mainsub.o] Error code 1 bmake: stopped making "cup" in /tmp/work/lang/cu-prolog/work/src bmake: 3 errors bmake: stopped making "cup" in /tmp/work/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