===> Building for xmagv-1.11 rm -f xmagv._man if test -z "" ; then cd `dirname xmagv` && ln -s `basename xmagv.man` `basename xmagv._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" < 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 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 -I/opt/pkg/include -c fblib.c fblib.c:156:7: warning: unused variable 'i' [-Wunused-variable] int i, pad, format; ^ fblib.c:157:8: warning: unused variable 'fnt' [-Wunused-variable] Font fnt; ^ fblib.c:331:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((f = (*redraw_hook)(x0, y0, xs, ys)) < 0) ^ fblib.c:371:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (*redraw_hook2)(x0, y0, xs, ys) < 0; ^ fblib.c:376:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((*resize_hook)(x, y, w, h)) ^ fblib.c:393:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = (*press_hook)(f, x, y)) < 0) ^ fblib.c:422:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = (*keybd_hook)(keybuf, &key)) < 0) ^ fblib.c:437:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((i = (*event_hook)(XEventsQueued(dsp, QueuedAfterFlush))) < 0) ^ 8 warnings generated. 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 -I/opt/pkg/include -c xmagv.c xmagv.c:225:36: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] printf(" header offset %3d\n", p->hdofs); ~~~ ^~~~~~~~ %3ld xmagv.c:545:17: warning: passing arguments to 'keyboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (keyboard(&e)) ^ xmagv.c:563:7: warning: unused variable 'r' [-Wunused-variable] int r; ^ xmagv.c:626:10: warning: unused variable 'cnt' [-Wunused-variable] int i, cnt; ^ xmagv.c:649:10: warning: unused variable 'cnt' [-Wunused-variable] int i, cnt; ^ xmagv.c:783:23: warning: unused variable 'flag' [-Wunused-variable] unsigned char a_bit,flag,*pf, *pp, *pa, *pb; ^ xmagv.c:783:34: warning: unused variable 'pp' [-Wunused-variable] unsigned char a_bit,flag,*pf, *pp, *pa, *pb; ^ xmagv.c:859:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void optstr(ac, av, opt) ^ xmagv.c:1041:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return ((FUNCPTR)(p->parm))(ac, av); ^ xmagv.c:1032:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ xmagv.c:1176:7: warning: variable 'dx' set but not used [-Wunused-but-set-variable] int dx, dy; ^ xmagv.c:1440:10: warning: unused variable 'ac' [-Wunused-variable] int i, ac; ^ xmagv.c:1441:10: warning: unused variable 'av' [-Wunused-variable] char **av; ^ 13 warnings generated. 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 -I/opt/pkg/include -c error.c In file included from error.c:8: ./error.h:18:19: error: initializer element is not a compile-time constant FILE *errstream = stderr; ^~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:121:16: note: expanded from macro 'stderr' #define stderr __stderrp ^~~~~~~~~ 1 error generated. *** [error.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/graphics/xmagv/work/xmagv bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/graphics/xmagv/work/xmagv *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xmagv *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xmagv