+ case "${usergroup_phase}" in + '[' build '!=' install ']' + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/mydns-pgsql-1.1.0nb19/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 WRKLOG=/tmp/bulklog/mydns-pgsql-1.1.0nb19/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mydns-pgsql-1.1.0nb19 => Substituting "user" in src/mydns/conf.c --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in pkg Making all in contrib Making all in intl Making all in po Making all in m4 Making all in doc --- sedfile --- if ! test -f ../version.sed; then cd .. && /opt/pkg/bin/bmake sedfile; fi --- sedfile --- --- mydns.8 --- --- mydnscheck.8 --- --- mydns.conf.5 --- --- mydns-conf.8 --- --- mydnscheck.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydnscheck.8.in | tr -s '\n' > mydnscheck.8 --- mydns.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydns.8.in | tr -s '\n' > mydns.8 --- mydns.conf.5 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydns.conf.5.in | tr -s '\n' > mydns.conf.5 --- mydns-conf.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydns-conf.8.in | tr -s '\n' > mydns-conf.8 --- mydnsexport.8 --- --- mydnsimport.8 --- --- mydnsptrconvert.8 --- --- mydnsexport.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydnsexport.8.in | tr -s '\n' > mydnsexport.8 --- mydnsptrconvert.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydnsptrconvert.8.in | tr -s '\n' > mydnsptrconvert.8 --- mydnsimport.8 --- /usr/bin/bash ../missing --run sed -f ../version.sed mydnsimport.8.in | tr -s '\n' > mydnsimport.8 Making all in lib --- alloca.o --- --- cidr.o --- --- conf.o --- --- error.o --- --- alloca.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -fomit-frame-pointer -finline-functions -ffast-math -funsigned-char -MT alloca.o -MD -MP -MF ".deps/alloca.Tpo" -c -o alloca.o alloca.c; then mv -f ".deps/alloca.Tpo" ".deps/alloca.Po"; else rm -f ".deps/alloca.Tpo"; exit 1; fi --- cidr.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -fomit-frame-pointer -finline-functions -ffast-math -funsigned-char -MT cidr.o -MD -MP -MF ".deps/cidr.Tpo" -c -o cidr.o cidr.c; then mv -f ".deps/cidr.Tpo" ".deps/cidr.Po"; else rm -f ".deps/cidr.Tpo"; exit 1; fi --- conf.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -fomit-frame-pointer -finline-functions -ffast-math -funsigned-char -MT conf.o -MD -MP -MF ".deps/conf.Tpo" -c -o conf.o conf.c; then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; else rm -f ".deps/conf.Tpo"; exit 1; fi --- error.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -fomit-frame-pointer -finline-functions -ffast-math -funsigned-char -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi --- getopt.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/opt/pkg/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -fomit-frame-pointer -finline-functions -ffast-math -funsigned-char -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi --- error.o --- error.c: In function '_error_out': error.c:143:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 143 | exit(EXIT_FAILURE); | ^~~~ error.c:24:1: note: include '' or provide a declaration of 'exit' 23 | #include "mydnsutil.h" +++ |+#include 24 | error.c:143:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 143 | exit(EXIT_FAILURE); | ^~~~ error.c:143:17: note: include '' or provide a declaration of 'exit' error.c:143:22: error: 'EXIT_FAILURE' undeclared (first use in this function) 143 | exit(EXIT_FAILURE); | ^~~~~~~~~~~~ error.c:143:22: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' error.c:143:22: note: each undeclared identifier is reported only once for each function it appears in *** [error.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0/lib --- getopt.o --- getopt.c: In function '_getopt_internal': getopt.c:410:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 410 | if (optind != argc && !strcmp (argv[optind], "--")) | ^~~~~~ getopt.c:79:1: note: include '' or provide a declaration of 'strcmp' 78 | #include "getopt.h" +++ |+#include 79 | getopt.c:486:50: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 486 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ getopt.c:41:12: note: built-in 'strncmp' declared here 41 | extern int strncmp(); | ^~~~~~~ getopt.c:488:39: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 488 | if (nameend - nextchar == strlen (p->name)) | ^~~~~~ getopt.c:488:39: note: include '' or provide a declaration of 'strlen' getopt.c:488:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] getopt.c:488:39: note: include '' or provide a declaration of 'strlen' getopt.c:512:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 512 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:512:23: note: include '' or provide a declaration of 'strlen' getopt.c:542:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 542 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:542:31: note: include '' or provide a declaration of 'strlen' getopt.c:555:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 555 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:555:31: note: include '' or provide a declaration of 'strlen' getopt.c:559:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 559 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:559:23: note: include '' or provide a declaration of 'strlen' --- conf.o --- conf.c: In function 'conf_get_option': conf.c:60:22: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 60 | if (!(name = malloc(1 * sizeof(char)))) | ^~~~~~ conf.c:23:1: note: include '' or provide a declaration of 'malloc' 22 | #include "mydnsutil.h" +++ |+#include 23 | conf.c:60:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 60 | if (!(name = malloc(1 * sizeof(char)))) | ^~~~~~ conf.c:60:22: note: include '' or provide a declaration of 'malloc' conf.c:62:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 62 | if (!(value = malloc(1 * sizeof(char)))) | ^~~~~~ conf.c:62:23: note: include '' or provide a declaration of 'malloc' conf.c:85:46: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 85 | if (!(name = malloc(nlen + 2))) | ^~~~~~ conf.c:85:46: note: include '' or provide a declaration of 'malloc' conf.c:90:46: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 90 | if (!(name = realloc(name, (nlen + 2)))) | ^~~~~~~ conf.c:90:46: note: include '' or provide a declaration of 'realloc' conf.c:90:46: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] conf.c:90:46: note: include '' or provide a declaration of 'realloc' conf.c:100:47: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 100 | if (!(value = malloc(vlen + 2))) | ^~~~~~ conf.c:100:47: note: include '' or provide a declaration of 'malloc' conf.c:105:47: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 105 | if (!(value = realloc(value, (vlen + 2)))) | ^~~~~~~ conf.c:105:47: note: include '' or provide a declaration of 'realloc' In file included from conf.c:22: mydnsutil.h:359:26: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:120:17: note: in expansion of macro 'Free' 120 | Free(name); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:120:17: note: in expansion of macro 'Free' 120 | Free(name); | ^~~~ mydnsutil.h:359:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:120:17: note: in expansion of macro 'Free' 120 | Free(name); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:120:17: note: in expansion of macro 'Free' 120 | Free(name); | ^~~~ mydnsutil.h:359:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:127:17: note: in expansion of macro 'Free' 127 | Free(value); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:127:17: note: in expansion of macro 'Free' 127 | Free(value); | ^~~~ conf.c: In function 'conf_clobber': mydnsutil.h:359:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:148:25: note: in expansion of macro 'Free' 148 | Free(c->value); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:148:25: note: in expansion of macro 'Free' 148 | Free(c->value); | ^~~~ conf.c: In function 'conf_set': conf.c:180:58: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 180 | if (!(c->value = malloc(strlen(value) + 2))) | ^~~~~~ conf.c:180:58: note: include '' or provide a declaration of 'malloc' conf.c:185:58: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 185 | if (!(c->value = realloc(c->value, strlen(c->value) + strlen(value) + 2))) | ^~~~~~~ conf.c:185:58: note: include '' or provide a declaration of 'realloc' conf.c:195:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 195 | if (!(new = (CONF *)calloc(1, sizeof(CONF)))) | ^~~~~~ conf.c:195:29: note: include '' or provide a declaration of 'calloc' conf.c:195:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] conf.c:195:29: note: include '' or provide a declaration of 'calloc' conf.c: In function 'conf_load': mydnsutil.h:359:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:275:33: note: in expansion of macro 'Free' 275 | Free(name); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:275:33: note: in expansion of macro 'Free' 275 | Free(name); | ^~~~ mydnsutil.h:359:26: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:279:33: note: in expansion of macro 'Free' 279 | Free(value); | ^~~~ mydnsutil.h:359:26: note: include '' or provide a declaration of 'free' 359 | #define Free(P) if ((P)) free((P)), (P) = NULL | ^~~~ conf.c:279:33: note: in expansion of macro 'Free' 279 | Free(value); | ^~~~ --- getopt.o --- *** [getopt.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0/lib --- conf.o --- *** [conf.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0/lib bmake[2]: 3 errors bmake[2]: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0/lib *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/mydns-pgsql/work/mydns-1.1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mydns-pgsql *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/mydns-pgsql