+ 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/xart-19980415nb19/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xart-19980415nb19/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xart-19980415nb19 making always in ./rw... gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c rwTable.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readWriteXBM.c readWriteXBM.c: In function 'ReadXBM': readWriteXBM.c:231:21: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] 231 | unsigned char *ptr; | ^~~ readWriteXBM.c:163:9: warning: variable 'hy' set but not used [-Wunused-but-set-variable] 163 | int hy = -1; /* y hotspot */ | ^~ readWriteXBM.c:162:9: warning: variable 'hx' set but not used [-Wunused-but-set-variable] 162 | int hx = -1; /* x hotspot */ | ^~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readWritePNM.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readWriteXWD.c readWriteXWD.c:50:7: warning: conflicting types for built-in function 'calloc'; expected 'void *(long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 50 | void *calloc(int, int); | ^~~~~~ readWriteXWD.c:33:1: note: 'calloc' is declared in header '' 32 | #include +++ |+#include 33 | readWriteXWD.c: In function 'ReadXWD': readWriteXWD.c:446:9: warning: variable 'scale' set but not used [-Wunused-but-set-variable] 446 | int scale, padright; | ^~~~~ readWriteXWD.c:437:24: warning: variable 'isBW' set but not used [-Wunused-but-set-variable] 437 | int isGrey = True, isBW = False; | ^~~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c writePS.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readGIF.c readGIF.c: In function 'DoExtension': readGIF.c:242:11: warning: variable 'str' set but not used [-Wunused-but-set-variable] 242 | char *str; | ^~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c writeGIF.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readWriteXPM.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c writeTIFF.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readTIFF.c readTIFF.c: In function 'getImage': readTIFF.c:53:42: warning: variable 'colInc' set but not used [-Wunused-but-set-variable] 53 | int row, rowStart, colStart, rowInc, colInc; | ^~~~~~ readTIFF.c:53:24: warning: variable 'colStart' set but not used [-Wunused-but-set-variable] 53 | int row, rowStart, colStart, rowInc, colInc; | ^~~~~~~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readJPEG.c readJPEG.c: In function 'ReadJPEG': readJPEG.c:68:27: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable] 68 | int w, h, row_stride, ncolors; | ^~~~~~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c writeJPEG.c gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readPNG.c readPNG.c: In function 'ReadPNG': readPNG.c:52:52: warning: variable 'npasses' set but not used [-Wunused-but-set-variable] 52 | int width, height, level, bit_depth, npasses; | ^~~~~~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c writePNG.c writePNG.c: In function 'WritePNG': writePNG.c:179:33: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 179 | software->text_length = strlen(software->text); | ^~~~~~ writePNG.c:179:33: warning: incompatible implicit declaration of built-in function 'strlen' writePNG.c:13:1: note: include '' or provide a declaration of 'strlen' 12 | #include "rwTable.h" +++ |+#include 13 | writePNG.c:186:5: warning: 'mod_time' may be used uninitialized in this function [-Wmaybe-uninitialized] 186 | png_convert_from_time_t(mod_time, time(NULL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -DNO_ASM -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHAVE_TIFF -DHAVE_JPEG -DHAVE_PNG -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c libpnmrw.c libpnmrw.c:48:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 48 | void *malloc(int); | ^~~~~~ libpnmrw.c:41:1: note: 'malloc' is declared in header '' 40 | #include +++ |+#include 41 | #ifndef _AIX rm -f librw.a /usr/bin/ar cqs librw.a rwTable.o readWriteXBM.o readWritePNM.o readWriteXWD.o writePS.o readGIF.o writeGIF.o readWriteXPM.o writeTIFF.o readTIFF.o readJPEG.o writeJPEG.o readPNG.o writePNG.o libpnmrw.o gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c chroma.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c color.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c colorEdit.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c cutCopyPaste.c cutCopyPaste.c: In function 'stdImgProcess': cutCopyPaste.c:522:17: warning: variable 'out' set but not used [-Wunused-but-set-variable] 522 | Image *in, *out; | ^~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c dialog.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c fatBitsEdit.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c fileName.c fileName.c: In function 'setCWD': fileName.c:460:30: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 460 | XawListChange(arg->list, list, i, 0, True); | ^~~~ | | | char ** In file included from fileName.c:26: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, fileName.c: In function 'buildBrowser': fileName.c:576:34: warning: variable 'toglt' set but not used [-Wunused-but-set-variable] 576 | static XtTranslations trans, toglt; | ^~~~~ fileName.c: In function 'getArg': fileName.c:939:12: warning: variable 'shell' set but not used [-Wunused-but-set-variable] 939 | Widget shell, p = GetShell(w); | ^~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c fontSelect.c fontSelect.c: In function 'match': fontSelect.c:493:33: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 493 | XawListChange(arg->spacing, list, spacingListLen, 0, True); | ^~~~ | | | char ** In file included from fontSelect.c:22: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, fontSelect.c:502:32: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 502 | XawListChange(arg->family, list, familyListLen, 0, True); | ^~~~ | | | char ** In file included from fontSelect.c:22: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, fontSelect.c:511:32: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 511 | XawListChange(arg->weight, list, weightListLen, 0, True); | ^~~~ | | | char ** In file included from fontSelect.c:22: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, fontSelect.c:520:31: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 520 | XawListChange(arg->point, list, pointListLen, 0, True); | ^~~~ | | | char ** In file included from fontSelect.c:22: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c grab.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c graphic.c graphic.c: In function 'GraphicAll2': graphic.c:422:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 422 | printf("(int) cur->paint in graphicall2 is %d\n", (int)cur->paint); | ^ graphic.c:423:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 423 | printf(" data is %d\n",(int) data); | ^ graphic.c: In function 'AddPattern': graphic.c:758:32: warning: variable 'box' set but not used [-Wunused-but-set-variable] 758 | Widget parent, pot, iconA, box, iconAR; | ^~~ graphic.c: In function 'zoomOkCallback': graphic.c:1569:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1569 | if ((CurrentOp->add == BrushAdd) || | ^ graphic.c: In function 'mkPatternArea': graphic.c:2196:18: warning: unused variable 'label' [-Wunused-variable] 2196 | Widget form, label, pattern, vport, lookup; /* ## declare some widgets */ | ^~~~~ graphic.c: In function 'graphicCreate': graphic.c:2274:9: warning: variable 'depth' set but not used [-Wunused-but-set-variable] 2274 | int depth; | ^~~~~ graphic.c:2265:12: warning: unused variable 'xartI' [-Wunused-variable] 2265 | Widget xartI, form, viewport, pattern, bar; | ^~~~~ In file included from graphic.c:59: At top level: xartIcon.xpm:2:15: warning: 'xartIcon_xpm' defined but not used [-Wunused-variable] 2 | static char * xartIcon_xpm[] = { | ^~~~~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c hash.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c image.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c imageComp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c iprocess.c iprocess.c: In function 'ImageAbuser': iprocess.c:208:19: warning: unused variable 'base' [-Wunused-variable] 208 | unsigned char base[3] = { 100, 30, 200 }; | ^~~~ iprocess.c: In function 'ImageNoRed': iprocess.c:1555:29: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1555 | unsigned char *ip, *op, dummy; | ^~~~~ iprocess.c: In function 'ImageNoGreen': iprocess.c:1654:29: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1654 | unsigned char *ip, *op, dummy; | ^~~~~ iprocess.c: In function 'ImageNoBlue': iprocess.c:1755:29: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] 1755 | unsigned char *ip, *op, dummy; | ^~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c menu.c menu.c: In function 'createItem': menu.c:176:21: warning: implicit declaration of function 'XtVisCreatePopupShell'; did you mean 'XtVaCreatePopupShell'? [-Wimplicit-function-declaration] 176 | item->rightShell = XtVisCreatePopupShell(nm, | ^~~~~~~~~~~~~~~~~~~~~ | XtVaCreatePopupShell menu.c:176:19: warning: assignment to 'Widget' {aka 'struct _WidgetRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 176 | item->rightShell = XtVisCreatePopupShell(nm, | ^ menu.c: In function 'MenuBarCreate': menu.c:271:7: warning: assignment to 'Widget' {aka 'struct _WidgetRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 271 | menu = XtVisCreatePopupShell(menuPopupName, | ^ menu.c: In function 'MenuPopupCreate': menu.c:305:10: warning: assignment to 'Widget' {aka 'struct _WidgetRec *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 305 | menu = XtVisCreatePopupShell("popup-menu", | ^ menu.c:298:12: warning: unused variable 'grandparent' [-Wunused-variable] 298 | Widget grandparent; | ^~~~~~~~~~~ menu.c:295:13: warning: unused variable 'visual' [-Wunused-variable] 295 | Visual *visual; | ^~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c misc.c misc.c: In function 'AutoCrop': misc.c:401:14: warning: variable 'palette' set but not used [-Wunused-but-set-variable] 401 | Palette *palette; | ^~~~~~~ gcc -c -I./bitmaps -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT operation.c operation.c: In function 'setWidth': operation.c:113:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 113 | XtVaSetValues(w, XtNlineWidth, (int) width, NULL); | ^ operation.c: In function 'okLineCallback': operation.c:302:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 302 | GraphicAll(setWidth, (void *) width); | ^ operation.c: In function 'lineWidth': operation.c:331:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 331 | GraphicAll(setWidth, (void *) width); | ^ operation.c: In function 'quillPopupCB': operation.c:847:2: warning: implicit declaration of function 'setNib'; did you mean 'setuid'? [-Wimplicit-function-declaration] 847 | setNib(cbdata); | ^~~~~~ | setuid operation.c:851:2: warning: implicit declaration of function 'setNibsize' [-Wimplicit-function-declaration] 851 | setNibsize(1 << (cbdata - firstNibsizeCBnum )); | ^~~~~~~~~~ operation.c: In function 'brushPopupCB': operation.c:859:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 859 | int nm = (int) junk; | ^ operation.c: In function 'fillPopupCB': operation.c:886:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 886 | int nm = (int) junk; | ^ operation.c: In function 'tfillPopupCB2': operation.c:894:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 894 | int nm = (int) junk; | ^ operation.c: In function 'ffillPopupCB2': operation.c:904:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 904 | int nm = (int) junk; | ^ operation.c: In function 'selectPopupCB': operation.c:914:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 914 | int n = (int) junk; | ^ operation.c: In function 'selectShapePopupCB': operation.c:924:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 924 | int n = (int) junk; | ^ operation.c: In function 'dynPencilPopupCB': operation.c:940:18: warning: implicit declaration of function 'DynPencilGetFinish' [-Wimplicit-function-declaration] 940 | Boolean m = !DynPencilGetFinish(); | ^~~~~~~~~~~~~~~~~~ operation.c:942:5: warning: implicit declaration of function 'DynPencilSetFinish' [-Wimplicit-function-declaration] 942 | DynPencilSetFinish(m); | ^~~~~~~~~~~~~~~~~~ operation.c: In function 'changeLineAction': operation.c:1238:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1238 | lineWidth(lineMenu[LW_SELECT].widget, (int) lineMenu[LW_SELECT].data); | ^ operation.c: In function 'OperationInit': operation.c:1375:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1375 | lineWidth(lineMenu[0].widget, (int) lineMenu[0].data); | ^ operation.c: In function 'dynPencilOkCallback': operation.c:405:38: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 405 | sprintf(dynPencilWidthStr, "%0.4g", width); | ^ operation.c:405:5: note: 'sprintf' output between 2 and 12 bytes into a destination of size 10 405 | sprintf(dynPencilWidthStr, "%0.4g", width); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ operation.c:406:37: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 406 | sprintf(dynPencilMassStr, "%0.4g", mass); | ^ operation.c:406:5: note: 'sprintf' output between 2 and 12 bytes into a destination of size 10 406 | sprintf(dynPencilMassStr, "%0.4g", mass); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ operation.c:407:37: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 407 | sprintf(dynPencilDragStr, "%0.4g", drag); | ^ operation.c:407:5: note: 'sprintf' output between 2 and 12 bytes into a destination of size 10 407 | sprintf(dynPencilDragStr, "%0.4g", drag); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c palette.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c pattern.c pattern.c: In function 'buttonCallback': pattern.c:208:12: warning: variable 'icon' set but not used [-Wunused-but-set-variable] 208 | Widget icon; | ^~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c protocol.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c size.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c text.c text.c: In function 'textPrompt': text.c:208:41: warning: variable 'toglt' set but not used [-Wunused-but-set-variable] 208 | static XtTranslations trans = None, toglt = None; | ^~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c texture.c texture.c: In function 'draw_landscape': texture.c:505:12: warning: pointer targets in passing argument 1 of 'XtFree' differ in signedness [-Wpointer-sign] 505 | XtFree(cp); | ^~ | | | unsigned char * In file included from texture.c:14: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:1854:5: note: expected 'char *' but argument is of type 'unsigned char *' 1854 | char* /* ptr */ | ^~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c typeConvert.c typeConvert.c: In function 'newCvtStringToPixel': typeConvert.c:29:13: warning: variable 'screen' set but not used [-Wunused-but-set-variable] 29 | Screen *screen; | ^~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c arcOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c blobOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c boxOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c brushOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c circleOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c fillOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c fontOp.c fontOp.c: In function 'addString': fontOp.c:203:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 203 | if (l->zoom == 1) | ^~ fontOp.c:205:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 205 | XDrawString(XtDisplay(w), XtWindow(w), l->gc, | ^~~~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c lineOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c pencilOp.c pencilOp.c: In function 'press': pencilOp.c:64:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 64 | if (!info->isFat) | ^~ pencilOp.c:66:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 66 | XDrawLine(XtDisplay(w), XtWindow(w), l->gc, | ^~~~~~~~~ pencilOp.c: In function 'motion': pencilOp.c:88:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 88 | if (!info->isFat) | ^~ pencilOp.c:90:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 90 | XDrawLine(XtDisplay(w), XtWindow(w), l->gc, | ^~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c polyOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c selectOp.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c sprayOp.c sprayOp.c: In function 'draw': sprayOp.c:99:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 99 | if (!l->isFat) | ^~ sprayOp.c:101:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 101 | XDrawSegments(XtDisplay(l->w), XtWindow(l->w), l->gc, p.s, density); | ^~~~~~~~~~~~~ sprayOp.c:105:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 105 | if (!l->isFat) | ^~ sprayOp.c:107:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 107 | XDrawPoints(XtDisplay(l->w), XtWindow(l->w), l->gc, | ^~~~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c dynPenOp.c dynPenOp.c: In function 'timeout': dynPenOp.c:177:13: warning: unused variable 'rooty' [-Wunused-variable] 177 | int rootx, rooty; | ^~~~~ dynPenOp.c:177:6: warning: unused variable 'rootx' [-Wunused-variable] 177 | int rootx, rooty; | ^~~~~ dynPenOp.c:176:15: warning: unused variable 'child' [-Wunused-variable] 176 | Window root, child; | ^~~~~ dynPenOp.c:176:9: warning: unused variable 'root' [-Wunused-variable] 176 | Window root, child; | ^~~~ dynPenOp.c: In function 'motion': dynPenOp.c:266:18: warning: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 266 | XTIMEOUT, &timeout, l); | ^~~~~~~~ | | | void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *) {aka void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)} In file included from dynPenOp.c:24: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:990:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (* (*)(void *, XtIntervalId *))(void *, XtIntervalId *)' {aka 'void (* (*)(void *, long unsigned int *))(void *, long unsigned int *)'} 990 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c quillOp.c quillOp.c: In function 'press': quillOp.c:112:19: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 112 | l->gc,&nibs[l->nib][0][0],l->nibSize,CoordModePrevious); | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ quillOp.c:115:12: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 115 | l->gc,&nibs[l->nib][0][0],l->nibSize,CoordModePrevious); | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ quillOp.c: In function 'motion': quillOp.c:148:13: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 148 | xplusy = abs(fx - l->mx) + abs(fy - l->my) ; | ^~~ quillOp.c:197:5: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 197 | &nibs[l->nib][0][0],l->nibSize,CoordModePrevious); | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ quillOp.c:200:11: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 200 | l->gc,&nibs[l->nib][0][0],l->nibSize,CoordModePrevious); | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ quillOp.c:204:54: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 204 | XDrawPoints(XtDisplay(w), info->drawable, l->gc, &nibs[l->nib][0][0],l->nibSize,\ | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ quillOp.c:208:10: warning: passing argument 4 of 'XDrawPoints' from incompatible pointer type [-Wincompatible-pointer-types] 208 | l->gc,&nibs[l->nib][0][0],l->nibSize,CoordModePrevious); | ^~~~~~~~~~~~~~~~~~~ | | | short int * In file included from /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Intrinsic.h:53, from quillOp.c:3: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xlib.h:2383:5: note: expected 'XPoint *' but argument is of type 'short int *' 2383 | XPoint* /* points */, | ^~~~~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c Colormap.c gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c Paint.c Paint.c: In function 'zoomUpdate': Paint.c:782:28: warning: variable 'zsy' set but not used [-Wunused-but-set-variable] 782 | int sx, sy, w, h, zsx, zsy; | ^~~ Paint.c:782:23: warning: variable 'zsx' set but not used [-Wunused-but-set-variable] 782 | int sx, sy, w, h, zsx, zsy; | ^~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c PaintEvent.c PaintEvent.c: In function 'opHandleEvent': PaintEvent.c:65:15: warning: unused variable 't' [-Wunused-variable] 65 | int snap, t; | ^ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c PaintRegion.c PaintRegion.c: In function 'doCallbacks': PaintRegion.c:112:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 112 | XtCallCallbackList((Widget) tpw, tpw->paint.regionCalls, (XtPointer) flag); | ^ PaintRegion.c:115:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 115 | XtCallCallbackList((Widget) p, p->paint.regionCalls, (XtPointer) flag); | ^ PaintRegion.c: In function 'regionGrab': PaintRegion.c:780:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 780 | if (event->state & ShiftMask) | ^ PaintRegion.c: In function 'PwRegionGet': PaintRegion.c:1566:9: warning: variable 'zoom' set but not used [-Wunused-but-set-variable] 1566 | int zoom; | ^~~~ gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c PaintUndo.c sed -e 's/XPAINT_VERSION/xart 19980415/' < xart.man.in > xart.man gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c help.c help.c: In function 'buildPopup': help.c:475:31: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] 475 | XawListChange(topicList, l->topics, 0, 0, True); | ~^~~~~~~~ | | | char ** In file included from help.c:23: /home/pbulk/build/graphics/xart/work/.buildlink/include/X11/Xaw/List.h:170:18: note: expected 'const char **' but argument is of type 'char **' 170 | _Xconst char **list, gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c readRC.c rm -f xart._man if test -z "" ; then cd `dirname xart` && ln -s `basename xart.man` `basename xart._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" < xart.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/\@\@$/\\/' >xart._man; fi gcc -Wall -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include -c main.c main.c: In function 'main': main.c:294:9: warning: variable 'depth' set but not used [-Wunused-but-set-variable] 294 | int depth; | ^~~~~ main.c:279:14: warning: variable 'dpy' set but not used [-Wunused-but-set-variable] 279 | Display *dpy; | ^~~ rm -f xart LD_RUN_PATH=/opt/pkg/lib gcc -o xart -Wall -DNO_ASM -B direct -Wl,-M,/usr/lib/ld/map.bssalign -Wl,-M,/usr/lib/ld/map.noexstk -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/opt/pkg/lib chroma.o color.o colorEdit.o cutCopyPaste.o dialog.o fatBitsEdit.o fileName.o fontSelect.o grab.o graphic.o hash.o help.o image.o imageComp.o iprocess.o main.o menu.o misc.o operation.o palette.o pattern.o protocol.o readRC.o size.o text.o texture.o typeConvert.o arcOp.o blobOp.o boxOp.o brushOp.o circleOp.o fillOp.o fontOp.o lineOp.o pencilOp.o polyOp.o selectOp.o sprayOp.o dynPenOp.o quillOp.o Colormap.o Paint.o PaintEvent.o PaintRegion.o PaintUndo.o rw/librw.a -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXpm -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -ltiff -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -ljpeg -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lpng -lz -lm -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm -lsocket -lnsl -R/opt/pkg/lib -z lazyload -z combreloc -Wl,-M,/usr/lib/ld/map.pagealign -Wl,-M,/usr/lib/ld/map.noexdata ld: fatal: library -lpng: not found ld: fatal: file processing errors. No output written to xart collect2: error: ld returned 1 exit status *** [xart] Error code 1 bmake: stopped in /home/pbulk/build/graphics/xart/work/19980415 1 error bmake: stopped in /home/pbulk/build/graphics/xart/work/19980415 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/xart *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/xart