+ 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/xmagv-1.11/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmagv-1.11/work.log ===> Building for xmagv-1.11 --- xmagv._man --- --- fblib.o --- --- xmagv.o --- --- error.o --- --- xmagv._man --- rm -f xmagv._man if test -z "" ; then cd `dirname xmagv` && ln -s `basename xmagv.man` `basename xmagv._man`; else cpp -undef -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xmagv.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xmagv._man; fi --- error.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c error.c --- fblib.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c fblib.c --- xmagv.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c xmagv.c xmagv.c:576:1: error: return type defaults to 'int' [-Wimplicit-int] 576 | PreDumpPixels(p) | ^~~~~~~~~~~~~ xmagv.c:613:1: error: return type defaults to 'int' [-Wimplicit-int] 613 | PostDumpPixels(p) | ^~~~~~~~~~~~~~ xmagv.c:629:1: error: return type defaults to 'int' [-Wimplicit-int] 629 | DumpPpm6(wp, x, y, xs, n, buf, pp) | ^~~~~~~~ xmagv.c: In function 'DumpPpm6': xmagv.c:629:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] xmagv.c:629:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] xmagv.c:629:1: error: type of 'xs' defaults to 'int' [-Wimplicit-int] xmagv.c:629:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] xmagv.c: At top level: xmagv.c:642:1: error: return type defaults to 'int' [-Wimplicit-int] 642 | DumpPpm(wp, x, y, xs, n, buf, pp) | ^~~~~~~ xmagv.c: In function 'DumpPpm': xmagv.c:642:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] xmagv.c:642:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] xmagv.c:642:1: error: type of 'xs' defaults to 'int' [-Wimplicit-int] xmagv.c:642:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] xmagv.c: At top level: xmagv.c:666:1: error: return type defaults to 'int' [-Wimplicit-int] 666 | DumpPix(wp, x, y, xs, n, buf, pp) | ^~~~~~~ xmagv.c: In function 'DumpPix': xmagv.c:666:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] xmagv.c:666:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] xmagv.c:666:1: error: type of 'xs' defaults to 'int' [-Wimplicit-int] xmagv.c:666:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] xmagv.c: At top level: xmagv.c:690:1: error: return type defaults to 'int' [-Wimplicit-int] 690 | DumpBit(wp, x, y, xs, n, buf, pp) | ^~~~~~~ xmagv.c: In function 'DumpBit': xmagv.c:690:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] xmagv.c:690:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] xmagv.c:690:1: error: type of 'xs' defaults to 'int' [-Wimplicit-int] xmagv.c:690:1: error: type of 'n' defaults to 'int' [-Wimplicit-int] xmagv.c: At top level: xmagv.c:733:1: error: return type defaults to 'int' [-Wimplicit-int] 733 | DumpPixels(wp, x, y, xs, pp) | ^~~~~~~~~~ xmagv.c: In function 'DumpPixels': xmagv.c:733:1: error: type of 'x' defaults to 'int' [-Wimplicit-int] xmagv.c:733:1: error: type of 'y' defaults to 'int' [-Wimplicit-int] xmagv.c:733:1: error: type of 'xs' defaults to 'int' [-Wimplicit-int] xmagv.c: In function 'DecodePixGroup': xmagv.c:781:5: error: type of 'y' defaults to 'int' [-Wimplicit-int] 781 | int DecodePixGroup(p, pbuf, y, x2, f) | ^~~~~~~~~~~~~~ xmagv.c:781:5: error: type of 'x2' defaults to 'int' [-Wimplicit-int] xmagv.c:781:5: error: type of 'f' defaults to 'int' [-Wimplicit-int] xmagv.c: At top level: xmagv.c:860:1: error: return type defaults to 'int' [-Wimplicit-int] 860 | AllocMemories(p) | ^~~~~~~~~~~~~ xmagv.c:893:1: error: return type defaults to 'int' [-Wimplicit-int] 893 | optnum(ac, av, n, max) | ^~~~~~ xmagv.c:988:1: error: return type defaults to 'int' [-Wimplicit-int] 988 | f_bit1(ac, av) | ^~~~~~ xmagv.c:1398:1: error: return type defaults to 'int' [-Wimplicit-int] 1398 | disp_mag_file(path) | ^~~~~~~~~~~~~ --- fblib.o --- fblib.c: In function 'OpenWindow': fblib.c:232:23: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 232 | img->data = (char *)malloc(img->bytes_per_line * fb_ysize); | ^~~~~~ fblib.c:11:1: note: include '' or provide a declaration of 'malloc' 10 | #include "fb.h" +++ |+#include 11 | fblib.c:232:23: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 232 | img->data = (char *)malloc(img->bytes_per_line * fb_ysize); | ^~~~~~ fblib.c:232:23: note: include '' or provide a declaration of 'malloc' fblib.c: In function 'FB_open': fblib.c:514:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 514 | fb_xcoltbl = (XColor *)malloc(sizeof(*fb_xcoltbl)*fb_xcoln); | ^~~~~~ fblib.c:514:26: note: include '' or provide a declaration of 'malloc' fblib.c: In function 'FB_close': fblib.c:530:3: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 530 | free(fb_xcolf); | ^~~~ fblib.c:530:3: note: include '' or provide a declaration of 'free' fblib.c:530:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fblib.c:530:3: note: include '' or provide a declaration of 'free' --- xmagv.o --- *** [xmagv.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/xmagv/work/xmagv --- fblib.o --- *** [fblib.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/xmagv/work/xmagv bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/graphics/xmagv/work/xmagv *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/xmagv *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/xmagv