+ 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/ldpc-20060208nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ldpc-20060208nb1/work.log ===> Building for ldpc-20060208nb1 --- modules --- gcc -c -O rcode.c gcc -c -O channel.c gcc -c -O dec.c gcc -c -O enc.c gcc -c -O alloc.c gcc -c -O intio.c gcc -c -O blockio.c gcc -c -O check.c gcc -c -O open.c gcc -c -O mod2dense.c gcc -c -O mod2sparse.c gcc -c -O mod2convert.c gcc -c -O distrib.c distrib.c: In function 'distrib_create': distrib.c:56:7: error: implicit declaration of function 'sscanf' [-Wimplicit-function-declaration] 56 | if (sscanf(c,"%d%c",&n,&junk)==1 && n>0) | ^~~~~~ distrib.c:22:1: note: include '' or provide a declaration of 'sscanf' 21 | #include "distrib.h" +++ |+#include 22 | distrib.c:56:7: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] 56 | if (sscanf(c,"%d%c",&n,&junk)==1 && n>0) | ^~~~~~ distrib.c:56:7: note: include '' or provide a declaration of 'sscanf' distrib.c:58:5: error: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 58 | sprintf(tstr,"1x%d",n); | ^~~~~~~ distrib.c:58:5: note: include '' or provide a declaration of 'sprintf' distrib.c:58:5: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] distrib.c:58:5: note: include '' or provide a declaration of 'sprintf' distrib.c:74:16: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] 74 | scan_num = sscanf(str, "%lgx%d%c", &prop, &n, &junk); | ^~~~~~ distrib.c:74:16: note: include '' or provide a declaration of 'sscanf' distrib.c:104:16: warning: incompatible implicit declaration of built-in function 'sscanf' [-Wbuiltin-declaration-mismatch] 104 | scan_num = sscanf(str, "%lgx%d%c", &prop, &n, &junk); | ^~~~~~ distrib.c:104:16: note: include '' or provide a declaration of 'sscanf' *** [modules] Error code 1 bmake: stopped making "progs" in /home/pbulk/build/devel/ldpc/work/LDPC-2006-02-08 bmake: 1 error bmake: stopped making "progs" in /home/pbulk/build/devel/ldpc/work/LDPC-2006-02-08 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ldpc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/ldpc