=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmimedir", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libmimedir-0.5.1nb1 --- dirsynt.lo --- --- parse.lo --- --- get.lo --- --- dirsynt.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o dirsynt.lo -c dirsynt.c --- parse.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o parse.lo -c parse.c --- get.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o get.lo -c get.c --- dirsynt.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c dirsynt.c -fPIC -DPIC -o .libs/dirsynt.o --- get.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c get.c -fPIC -DPIC -o .libs/get.o --- parse.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c parse.c -fPIC -DPIC -o .libs/parse.o --- get.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c get.c -o get.o >/dev/null 2>&1 --- parse.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c parse.c -o parse.o >/dev/null 2>&1 --- dirsynt.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c dirsynt.c -o dirsynt.o >/dev/null 2>&1 --- dup.lo --- --- free.lo --- --- dup.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o dup.lo -c dup.c --- free.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o free.lo -c free.c --- dup.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c dup.c -fPIC -DPIC -o .libs/dup.o --- free.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c free.c -fPIC -DPIC -o .libs/free.o --- memmem.lo --- sh ./libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -o memmem.lo -c memmem.c --- dup.lo --- dup.c: In function 'mdir_dup_list': dup.c:43:25: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 43 | list = (char **)malloc((size + 1) * sizeof(char *)); | ^~~~~~ dup.c:32:1: note: include '' or provide a declaration of 'malloc' 31 | #include "dirsynt.h" +++ |+#include 32 | dup.c:43:25: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 43 | list = (char **)malloc((size + 1) * sizeof(char *)); | ^~~~~~ dup.c:43:25: note: include '' or provide a declaration of 'malloc' dup.c: In function 'mdir_dup_param': dup.c:66:30: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 66 | mdpn = (mdir_param *)calloc(1, sizeof(mdir_param)); | ^~~~~~ dup.c:66:30: note: include '' or provide a declaration of 'calloc' dup.c:66:30: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] dup.c:66:30: note: include '' or provide a declaration of 'calloc' dup.c:73:25: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 73 | free(mdpn); | ^~~~ dup.c:73:25: note: include '' or provide a declaration of 'free' dup.c:73:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] dup.c:73:25: note: include '' or provide a declaration of 'free' dup.c:81:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 81 | free(mdpn->key); | ^~~~ dup.c:81:33: note: include '' or provide a declaration of 'free' dup.c:82:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 82 | free(mdpn); | ^~~~ dup.c:82:25: note: include '' or provide a declaration of 'free' dup.c: In function 'mdir_dup_params': dup.c:101:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 101 | mdpn = (mdir_param **)malloc((size + 1) * sizeof(mdir_param *)); | ^~~~~~ dup.c:101:31: note: include '' or provide a declaration of 'malloc' dup.c: In function 'mdir_dup_line': dup.c:125:28: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] 125 | mdn = (mdir_line *)calloc(1, sizeof(mdir_line)); | ^~~~~~ dup.c:125:28: note: include '' or provide a declaration of 'calloc' dup.c: In function 'mdir_dup': dup.c:171:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 171 | mdn = (mdir_line **)malloc((size + 1) * sizeof(mdir_line *)); | ^~~~~~ dup.c:171:29: note: include '' or provide a declaration of 'malloc' --- free.lo --- free.c: In function 'mdir_free_params': free.c:44:25: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 44 | free(kv->key); | ^~~~ free.c:32:1: note: include '' or provide a declaration of 'free' 31 | #include "dirsynt.h" +++ |+#include 32 | free.c:44:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 44 | free(kv->key); | ^~~~ free.c:44:25: note: include '' or provide a declaration of 'free' free.c:47:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 47 | free(kv); | ^~~~ free.c:47:17: note: include '' or provide a declaration of 'free' free.c:50:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 50 | free(mdp); | ^~~~ free.c:50:9: note: include '' or provide a declaration of 'free' free.c: In function 'mdir_free_line': free.c:61:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 61 | free(line->name); | ^~~~ free.c:61:17: note: include '' or provide a declaration of 'free' free.c:69:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 69 | free(line); | ^~~~ free.c:69:9: note: include '' or provide a declaration of 'free' free.c: In function 'mdir_free': free.c:88:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 88 | free(mdep); | ^~~~ free.c:88:9: note: include '' or provide a declaration of 'free' --- dup.lo --- *** [dup.lo] Error code 1 bmake: stopped making "all" in /tmp/work/devel/libmimedir/work/libmimedir-0.5.1 --- free.lo --- *** [free.lo] Error code 1 bmake: stopped making "all" in /tmp/work/devel/libmimedir/work/libmimedir-0.5.1 --- memmem.lo --- libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DHAVE_CONFIG_H -c memmem.c -fPIC -DPIC -o .libs/memmem.o memmem.c: In function '_mdir_mem_realloc': memmem.c:55:13: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 55 | p = realloc(op, size); | ^~~~~~~ memmem.c:30:1: note: include '' or provide a declaration of 'realloc' 29 | #include "intern.h" +++ |+#include 30 | #include "libmimedir.h" memmem.c:55:13: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 55 | p = realloc(op, size); | ^~~~~~~ memmem.c:55:13: note: include '' or provide a declaration of 'realloc' memmem.c: In function '_mdir_mem_forgetchunk': memmem.c:80:17: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 80 | abort(); | ^~~~~ memmem.c:80:17: note: include '' or provide a declaration of 'abort' memmem.c:80:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] memmem.c:80:17: note: include '' or provide a declaration of 'abort' memmem.c: In function '_mdir_mem_free': memmem.c:88:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 88 | abort(); | ^~~~~ memmem.c:88:17: note: include '' or provide a declaration of 'abort' memmem.c:90:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 90 | free(p); | ^~~~ memmem.c:90:17: note: include '' or provide a declaration of 'free' memmem.c:90:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] memmem.c:90:17: note: include '' or provide a declaration of 'free' memmem.c: In function '_mdir_mem_addchunk': memmem.c:99:39: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 99 | mch = (struct mdir_memchunk *)malloc(sizeof(struct mdir_memchunk)); | ^~~~~~ memmem.c:99:39: note: include '' or provide a declaration of 'malloc' memmem.c:99:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] memmem.c:99:39: note: include '' or provide a declaration of 'malloc' memmem.c: In function '_mdir_mem_forget2': memmem.c:117:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 117 | free(mdm->p); | ^~~~ memmem.c:117:17: note: include '' or provide a declaration of 'free' memmem.c:123:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 123 | free(mdm); | ^~~~ memmem.c:123:9: note: include '' or provide a declaration of 'free' memmem.c: In function '_mdir_mem_malloc': memmem.c:136:13: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 136 | p = malloc(size); | ^~~~~~ memmem.c:136:13: note: include '' or provide a declaration of 'malloc' memmem.c:141:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 141 | free(p); | ^~~~ memmem.c:141:17: note: include '' or provide a declaration of 'free' memmem.c: In function '_mdir_mem_strdup': memmem.c:156:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 156 | free(p); | ^~~~ memmem.c:156:17: note: include '' or provide a declaration of 'free' memmem.c: In function '_mdir_list_free': memmem.c:220:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 220 | free(*vp); | ^~~~ memmem.c:220:17: note: include '' or provide a declaration of 'free' memmem.c:221:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 221 | free(list); | ^~~~ memmem.c:221:9: note: include '' or provide a declaration of 'free' *** [memmem.lo] Error code 1 bmake: stopped making "all" in /tmp/work/devel/libmimedir/work/libmimedir-0.5.1 bmake: 3 errors bmake: stopped making "all" in /tmp/work/devel/libmimedir/work/libmimedir-0.5.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmimedir *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/libmimedir