+ 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/swiggle-0.4nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/swiggle-0.4nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for swiggle-0.4nb3 --- swiggle.o --- --- resize.o --- --- html.o --- --- swiggle.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/pkg/include -c swiggle.c --- resize.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/pkg/include -c resize.c --- html.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -Wall -I/usr/local/include -I/usr/local/include/libexif -I/opt/pkg/include -c html.c --- swiggle.o --- swiggle.c: In function 'main': swiggle.c:272:30: error: 'struct dirent' has no member named 'd_type' 272 | if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') { | ^ swiggle.c:272:41: error: 'DT_DIR' undeclared (first use in this function) 272 | if (albums[i].d_type == DT_DIR && albums[i].d_name[0] != '.') { | ^~~~~~ swiggle.c:272:41: note: each undeclared identifier is reported only once for each function it appears in swiggle.c: In function 'processdir': swiggle.c:341:26: error: 'struct dirent' has no member named 'd_type' 341 | if ((dent->d_type != DT_REG) || | ^~ swiggle.c:341:38: error: 'DT_REG' undeclared (first use in this function) 341 | if ((dent->d_type != DT_REG) || | ^~~~~~ --- resize.o --- resize.c: In function 'resize_bicubic': resize.c:110:17: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 110 | bzero(y_vector, s_row_width * sizeof(double)); | ^~~~~ resize.c:110:17: warning: incompatible implicit declaration of built-in function 'bzero' [-Wbuiltin-declaration-mismatch] resize.c:65:19: warning: variable 'i' set but not used [-Wunused-but-set-variable] 65 | int comp, i, next_col, next_row, num_rows; | ^ --- swiggle.o --- swiggle.c: In function 'find_orphans': swiggle.c:834:34: error: 'struct dirent' has no member named 'd_type' 834 | if ((dent->d_type != DT_REG) || | ^~ swiggle.c:834:46: error: 'DT_REG' undeclared (first use in this function) 834 | if ((dent->d_type != DT_REG) || | ^~~~~~ *** [swiggle.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/www/swiggle/work/swiggle-0.4 --- html.o --- html.c: In function 'create_html': html.c:74:33: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 74 | sprintf(tmp, "%s.tmp", final); | ^~~~ html.c:74:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 74 | sprintf(tmp, "%s.tmp", final); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ html.c: In function 'create_thumbindex': html.c:226:33: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 226 | sprintf(tmp, "%s.tmp", final); | ^~~~ html.c:226:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 226 | sprintf(tmp, "%s.tmp", final); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/www/swiggle/work/swiggle-0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/swiggle *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/swiggle