=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/shells/esh", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for esh-0.8nb4 --- list.o --- --- hash.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c hash.c --- list.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c list.c list.c: In function 'ls_free_all': list.c:98:25: error: passing argument 2 of 'hash_free' from incompatible pointer type [-Wincompatible-pointer-types] 98 | hash_free(ls->data, gc_free, ls_free_all); | ^~~~~~~ | | | void (*)(void *) In file included from list.c:13: hash.h:49:30: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *)' 49 | void (*func1)(), | ~~~~~~~^~~~~~~~ In file included from list.c:11: gc.h:25:13: note: 'gc_free' declared here 25 | extern void gc_free(void* ptr); | ^~~~~~~ list.c:98:34: error: passing argument 3 of 'hash_free' from incompatible pointer type [-Wincompatible-pointer-types] 98 | hash_free(ls->data, gc_free, ls_free_all); | ^~~~~~~~~~~ | | | void (*)(list *) hash.h:50:30: note: expected 'void (*)(void)' but argument is of type 'void (*)(list *)' 50 | void (*func2)()); | ~~~~~~~^~~~~~~~ list.c:57:6: note: 'ls_free_all' declared here 57 | void ls_free_all(list* ls) { | ^~~~~~~~~~~ --- hash.o --- hash.c: In function 'hash_free': hash.c:144:9: error: too many arguments to function 'func1'; expected 0, have 1 144 | func1(he->key); | ^~~~~ ~~~~~~~ hash.c:147:9: error: too many arguments to function 'func2'; expected 0, have 1 147 | func2(he->data); | ^~~~~ ~~~~~~~~ --- list.o --- *** [list.o] Error code 1 bmake: stopped making "all" in /tmp/work/shells/esh/work/esh --- hash.o --- *** [hash.o] Error code 1 bmake: stopped making "all" in /tmp/work/shells/esh/work/esh bmake: 2 errors bmake: stopped making "all" in /tmp/work/shells/esh/work/esh *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/esh *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/esh