=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/viewfax", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for viewfax-2.4nb2 --- viewfax.o --- --- faxinput.o --- --- viewfax.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c viewfax.c --- faxinput.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxinput.c --- viewfax.o --- viewfax.c:143:23: warning: passing arguments to 'getopt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | while ((c = getopt(argc, argv, "b:d:fg:h:ilm:nruvw:z:24")) != -1) | ^ viewfax.c:231:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | fprintf(stderr, Banner); | ^~~~~~ viewfax.c:231:22: note: treat the string as an argument to avoid this 231 | fprintf(stderr, Banner); | ^ | "%s", --- faxinput.o --- faxinput.c:225:33: warning: format specifies type 'long' but the argument has type 't32bits' (aka 'unsigned int') [-Wformat] 224 | fprintf(stderr, "%s:%s StripsPerImage tag273=%d, tag279=%ld\n", | ~~~ | %u 225 | ProgName, name, nstrips, count); | ^~~~~ --- viewfax.o --- viewfax.c:375:45: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 375 | if (verbose) printf("\tmemused = %d\n", Memused); | ~~ ^~~~~~~ | %zu viewfax.c:728:10: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 728 | switch(XKeycodeToKeysym(Disp, Event.xkey.keycode, 0)) { | ^ /var/tmp/work/graphics/viewfax/work/.buildlink/include/X11/Xlib.h:1682:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here 1682 | _X_DEPRECATED | ^ /var/tmp/work/graphics/viewfax/work/.buildlink/include/X11/Xfuncproto.h:139:40: note: expanded from macro '_X_DEPRECATED' 139 | # define _X_DEPRECATED __attribute__((deprecated)) | ^ viewfax.c:1305:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] 1305 | d0 |= ((t >> shift) & 1); | ^~ viewfax.c:1299:12: note: initialize the variable 'd0' to silence this warning 1299 | t32bits d0; | ^ | = 0 viewfax.c:1261:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] 1261 | d0 |= t & 1; t >>= 1; | ^~ viewfax.c:1255:12: note: initialize the variable 'd0' to silence this warning 1255 | t32bits d0, d1, d2, d3; | ^ | = 0 viewfax.c:1262:6: warning: variable 'd1' is uninitialized when used here [-Wuninitialized] 1262 | d1 |= t & 1; t >>= 1; | ^~ viewfax.c:1255:16: note: initialize the variable 'd1' to silence this warning 1255 | t32bits d0, d1, d2, d3; | ^ | = 0 viewfax.c:1263:6: warning: variable 'd2' is uninitialized when used here [-Wuninitialized] 1263 | d2 |= t & 1; t >>= 1; | ^~ viewfax.c:1255:20: note: initialize the variable 'd2' to silence this warning 1255 | t32bits d0, d1, d2, d3; | ^ | = 0 viewfax.c:1264:6: warning: variable 'd3' is uninitialized when used here [-Wuninitialized] 1264 | d3 |= t & 1; t >>= 1; | ^~ viewfax.c:1255:24: note: initialize the variable 'd3' to silence this warning 1255 | t32bits d0, d1, d2, d3; | ^ | = 0 viewfax.c:1241:6: warning: variable 'd0' is uninitialized when used here [-Wuninitialized] 1241 | d0 |= ((t >> shift) & 1); | ^~ viewfax.c:1235:12: note: initialize the variable 'd0' to silence this warning 1235 | t32bits d0; | ^ | = 0 --- faxinput.o --- 1 warning generated. --- faxinit.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxinit.c --- faxexpand.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DHELPFILE=\"/opt/pkg/libdata/viewfax/viewfax.tif\" -I/opt/pkg/include -c faxexpand.c --- viewfax.o --- 10 warnings generated. --- viewfax._man --- rm -f viewfax._man if test -z "" ; then cd `dirname viewfax` && ln -s `basename viewfax.man` `basename viewfax._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -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" < viewfax.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/\@\@$/\/' >viewfax._man; fi --- faxexpand.o --- faxexpand.c:344:9: warning: variable 'EOLcnt' set but not used [-Wunused-but-set-variable] 344 | int EOLcnt; /* number of consecutive EOLs */ | ^ faxexpand.c:600:9: warning: variable 'EOLcnt' set but not used [-Wunused-but-set-variable] 600 | int EOLcnt; | ^ 2 warnings generated. --- viewfax --- rm -f viewfax clang -o viewfax -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib viewfax.o faxinput.o faxinit.o faxexpand.o -lXext -lX11