+ 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/p5-Math-BigInteger-1.0nb18/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/p5-Math-BigInteger-1.0nb18/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for p5-Math-BigInteger-1.0nb18 --- blib/lib/Math/.exists --- --- blib/arch/.exists --- --- blib/lib/auto/Math/BigInteger/.exists --- --- blib/arch/auto/Math/BigInteger/.exists --- --- blib/bin/.exists --- --- blib/script/.exists --- --- blib/man1/.exists --- --- blib/man3/.exists --- --- config --- --- subdirs --- --- dynamic --- --- BigInteger.c --- "/opt/pkg/bin/perl" "/opt/pkg/lib/perl5/5.40.0/ExtUtils/xsubpp" -typemap '/opt/pkg/lib/perl5/5.40.0/ExtUtils/typemap' -typemap '/home/pbulk/build/math/p5-Math-BigInteger/work/Math-BigInteger-1.0/typemap' BigInteger.xs > BigInteger.xsc --- BigInteger.bs --- --- bn.o --- --- BigInteger.bs --- Running Mkbootstrap for BigInteger () --- bn.o --- gcc -c -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -fwrapv -fno-strict-aliasing -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/opt/pkg/lib/perl5/5.40.0/x86_64-solaris-thread-multi-64/CORE" bn.c --- BigInteger.bs --- chmod 644 "BigInteger.bs" --- bn_mul.o --- --- bn_regs.o --- --- bn.o --- bn.c: In function 'bn_num_bits': bn.c:92:17: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 92 | abort(); | ^~~~~ bn.c:50:1: note: include '' or provide a declaration of 'abort' 49 | #include "bn.h" +++ |+#include 50 | bn.c:92:17: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 92 | abort(); | ^~~~~ bn.c:92:17: note: include '' or provide a declaration of 'abort' bn.c: In function 'bn_free': bn.c:139:27: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 139 | if (a->d != NULL) free(a->d); | ^~~~ bn.c:139:27: note: include '' or provide a declaration of 'free' bn.c:139:27: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] --- bn_mul.o --- gcc -c -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -fwrapv -fno-strict-aliasing -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/opt/pkg/lib/perl5/5.40.0/x86_64-solaris-thread-multi-64/CORE" bn_mul.c --- bn_regs.o --- gcc -c -D_REENTRANT -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/usr/include -fwrapv -fno-strict-aliasing -I/usr/local/include -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include -I/usr/include -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC "-I/opt/pkg/lib/perl5/5.40.0/x86_64-solaris-thread-multi-64/CORE" bn_regs.c --- bn.o --- bn.c:139:27: note: include '' or provide a declaration of 'free' bn.c:140:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 140 | free(a); | ^~~~ bn.c:140:9: note: include '' or provide a declaration of 'free' bn.c: In function 'bn_new': bn.c:162:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 162 | ret=(BIGNUM *)malloc(sizeof(BIGNUM)); | ^~~~~~ bn.c:162:23: note: include '' or provide a declaration of 'malloc' bn.c:162:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] bn.c:162:23: note: include '' or provide a declaration of 'malloc' bn.c:173:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 173 | memset(p,0,(ret->max+1)*sizeof(p[0])); | ^~~~~~ bn.c:50:1: note: include '' or provide a declaration of 'memset' 49 | #include "bn.h" +++ |+#include 50 | bn.c:173:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 173 | memset(p,0,(ret->max+1)*sizeof(p[0])); | ^~~~~~ bn.c:173:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_expand': bn.c:189:36: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 189 | p=b->d=(BN_ULONG *)realloc(b->d,sizeof(BN_ULONG)*n+1); | ^~~~~~~ bn.c:189:36: note: include '' or provide a declaration of 'realloc' bn.c:189:36: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] bn.c:189:36: note: include '' or provide a declaration of 'realloc' bn.c:192:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 192 | memset(&(p[b->max]),0,((n+1)-b->max)*sizeof(p[0])); | ^~~~~~ bn.c:192:17: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_copy': bn.c:217:9: error: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 217 | memcpy(a->d,b->d,sizeof(b->d[0])*b->top); | ^~~~~~ bn.c:217:9: note: include '' or provide a declaration of 'memcpy' bn.c:217:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] bn.c:217:9: note: include '' or provide a declaration of 'memcpy' bn.c:218:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 218 | memset(&(a->d[b->top]),0,sizeof(a->d[0])*(a->max-b->top)); | ^~~~~~ bn.c:218:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_zero': bn.c:231:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 231 | memset(a->d,0,a->max*sizeof(a->d[0])); | ^~~~~~ bn.c:231:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_one': bn.c:240:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 240 | memset(a->d,0,a->max); | ^~~~~~ bn.c:240:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_set_word': bn.c:252:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 252 | memset(a->d,0,a->max); | ^~~~~~ bn.c:252:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_add': bn.c:420:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 420 | memcpy(rp,ap,sizeof(*ap)*(max-i)); | ^~~~~~ bn.c:420:9: note: include '' or provide a declaration of 'memcpy' bn.c: In function 'bn_SUB': bn.c:524:9: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 524 | memcpy(rp,ap,sizeof(*rp)*(max-i)); | ^~~~~~ bn.c:524:9: note: include '' or provide a declaration of 'memcpy' bn.c: In function 'bn_lshift': bn.c:680:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 680 | memset(t,0,nw*sizeof(t[0])); | ^~~~~~ bn.c:680:9: note: include '' or provide a declaration of 'memset' bn.c: In function 'bn_div': bn.c:889:24: error: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 889 | return NULL; | ^~~~ --- bn_regs.o --- bn_regs.c: In function 'bn_get_reg': bn_regs.c:91:33: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 91 | regs=(BIGNUM **)malloc(sizeof(BIGNUM *)*1); | ^~~~~~ bn_regs.c:50:1: note: include '' or provide a declaration of 'malloc' 49 | #include "bn.h" +++ |+#include 50 | bn_regs.c:91:33: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 91 | regs=(BIGNUM **)malloc(sizeof(BIGNUM *)*1); | ^~~~~~ bn_regs.c:91:33: note: include '' or provide a declaration of 'malloc' bn_regs.c:99:33: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 99 | regs=(BIGNUM **)realloc(regs,sizeof(BIGNUM *)*num_regs); | ^~~~~~~ bn_regs.c:99:33: note: include '' or provide a declaration of 'realloc' bn_regs.c:99:33: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] bn_regs.c:99:33: note: include '' or provide a declaration of 'realloc' *** [bn_regs.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/p5-Math-BigInteger/work/Math-BigInteger-1.0 --- bn.o --- *** [bn.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/math/p5-Math-BigInteger/work/Math-BigInteger-1.0 --- BigInteger.c --- Please specify prototyping behavior for BigInteger.xs (see perlxs manual) mv BigInteger.xsc BigInteger.c bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/math/p5-Math-BigInteger/work/Math-BigInteger-1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/p5-Math-BigInteger *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/p5-Math-BigInteger