=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xart-19980415nb21
making always in ./rw...
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c rwTable.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readWriteXBM.c
readWriteXBM.c:162:9: warning: variable 'hx' set but not used [-Wunused-but-set-variable]
    int hx = -1;                /* x hotspot */
        ^
readWriteXBM.c:163:9: warning: variable 'hy' set but not used [-Wunused-but-set-variable]
    int hy = -1;                /* y hotspot */
        ^
readWriteXBM.c:254:45: warning: variable 'ptr' is uninitialized when used here [-Wuninitialized]
            for (bytes = 0; bytes < size; bytes++, ptr++) {
                                                   ^~~
readWriteXBM.c:250:24: note: initialize the variable 'ptr' to silence this warning
            unsigned char *ptr;
                              ^
                               = NULL
3 warnings generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readWritePNM.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readWriteXWD.c
readWriteXWD.c:50:7: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration]
void *calloc(int, int);
      ^
readWriteXWD.c:50:7: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)'
readWriteXWD.c:437:24: warning: variable 'isBW' set but not used [-Wunused-but-set-variable]
    int isGrey = True, isBW = False;
                       ^
readWriteXWD.c:446:9: warning: variable 'scale' set but not used [-Wunused-but-set-variable]
    int scale, padright;
        ^
3 warnings generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c writePS.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readGIF.c
readGIF.c:211:9: warning: variable 'flag' set but not used [-Wunused-but-set-variable]
    int flag;
        ^
readGIF.c:242:11: warning: variable 'str' set but not used [-Wunused-but-set-variable]
    char *str;
          ^
2 warnings generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c writeGIF.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readWriteXPM.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c writeTIFF.c
writeTIFF.c:46:6: warning: variable 'cmapImage' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        if (!image->maskData)   /* can TIFF store alpha channel with palette? */
            ^~~~~~~~~~~~~~~~
writeTIFF.c:48:6: note: uninitialized use occurs here
        if (cmapImage)
            ^~~~~~~~~
writeTIFF.c:46:2: note: remove the 'if' if its condition is always true
        if (!image->maskData)   /* can TIFF store alpha channel with palette? */
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
writeTIFF.c:43:18: note: initialize the variable 'cmapImage' to silence this warning
        Image *cmapImage;   /* GRR 960525 */
                        ^
                         = NULL
1 warning generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readTIFF.c
readTIFF.c:53:24: warning: variable 'colStart' set but not used [-Wunused-but-set-variable]
    int row, rowStart, colStart, rowInc, colInc;
                       ^
readTIFF.c:53:42: warning: variable 'colInc' set but not used [-Wunused-but-set-variable]
    int row, rowStart, colStart, rowInc, colInc;
                                         ^
2 warnings generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readJPEG.c
readJPEG.c:68:27: warning: variable 'ncolors' set but not used [-Wunused-but-set-variable]
    int w, h, row_stride, ncolors;
                          ^
1 warning generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c writeJPEG.c
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c readPNG.c
readPNG.c:52:52: warning: variable 'npasses' set but not used [-Wunused-but-set-variable]
    int           width, height, level, bit_depth, npasses;
                                                   ^
1 warning generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c writePNG.c
writePNG.c:179:33: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration]
        software->text_length = strlen(software->text);
                                ^
writePNG.c:179:33: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
writePNG.c:101:13: warning: variable 'cmapImage' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
        if (!image->maskData)   /* can't store alpha mask with palette image */
            ^~~~~~~~~~~~~~~~
writePNG.c:104:13: note: uninitialized use occurs here
        if (cmapImage) {
            ^~~~~~~~~
writePNG.c:101:9: note: remove the 'if' if its condition is always true
        if (!image->maskData)   /* can't store alpha mask with palette image */
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
writePNG.c:98:25: note: initialize the variable 'cmapImage' to silence this warning
        Image *cmapImage;
                        ^
                         = NULL
2 warnings generated.
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp   -I.. -I/opt/pkg/include/X11 -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include  -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DHAVE_TIFF  -DHAVE_JPEG -DHAVE_PNG 	  -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c libpnmrw.c
libpnmrw.c:48:7: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
void *malloc(int);
      ^
libpnmrw.c:48:7: note: 'malloc' is a builtin with type 'void *(unsigned long)'
1 warning generated.
rm -f librw.a
ar clq 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
ranlib librw.a
clang -Wall -Wall -Wpointer-arith -no-cpp-precomp     -I/opt/pkg/include    -D__aarch64__ -D__DARWIN__                                 -DNO_ALLOCA -DCSRG_BASED       -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -I/opt/pkg/include/X11 	  "-DXPAINT_VERSION=\"xart 19980415\"" -DERRORBEEP -DFEATURE_FRACTAL -DFEATURE_TILT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -c chroma.c
In file included from chroma.c:37:
./misc.h:29:5: error: conflicting types for 'srandom'
int srandom(unsigned int);
    ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:239:7: note: previous declaration is here
void     srandom(unsigned);
         ^
1 error generated.
*** [chroma.o] Error code 1

bmake: stopped making "all" in /Users/pbulk/build/graphics/xart/work/19980415
bmake: 1 error

bmake: stopped making "all" in /Users/pbulk/build/graphics/xart/work/19980415
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xart
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xart